feat(web): add Progressive Web App (PWA) support (#25274)
This commit is contained in:
parent
a78339a040
commit
52b1ac5f54
21 changed files with 1643 additions and 502 deletions
|
|
@ -53,10 +53,17 @@ const LocaleLayout = async ({
|
|||
return (
|
||||
<html lang={locale ?? 'en'} className="h-full" suppressHydrationWarning>
|
||||
<head>
|
||||
<meta name="theme-color" content="#FFFFFF" />
|
||||
<link rel="manifest" href="/manifest.json" />
|
||||
<meta name="theme-color" content="#1C64F2" />
|
||||
<meta name="mobile-web-app-capable" content="yes" />
|
||||
<meta name="apple-mobile-web-app-capable" content="yes" />
|
||||
<meta name="apple-mobile-web-app-status-bar-style" content="default" />
|
||||
<meta name="apple-mobile-web-app-title" content="Dify" />
|
||||
<link rel="apple-touch-icon" href="/apple-touch-icon.png" />
|
||||
<link rel="icon" type="image/png" sizes="32x32" href="/icon-192x192.png" />
|
||||
<link rel="icon" type="image/png" sizes="16x16" href="/icon-192x192.png" />
|
||||
<meta name="msapplication-TileColor" content="#1C64F2" />
|
||||
<meta name="msapplication-config" content="/browserconfig.xml" />
|
||||
</head>
|
||||
<body
|
||||
className="color-scheme h-full select-auto"
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue