Skip to content

Commit

Permalink
Tweak app and landing head to add touch icons (#1872)
Browse files Browse the repository at this point in the history
* Tweak app and landing head to add touch icons

* fix paths
  • Loading branch information
spolu authored Sep 29, 2023
1 parent 6a7d60c commit 6b2bc09
Show file tree
Hide file tree
Showing 3 changed files with 53 additions and 11 deletions.
44 changes: 44 additions & 0 deletions front/components/sparkle/AppLayout.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -180,6 +180,50 @@ export default function AppLayout({
<Head>
<title>{`Dust - ${owner.name}`}</title>
<link rel="shortcut icon" href="/static/favicon.png" />

<meta name="apple-mobile-web-app-title" content="Dust" />
<link rel="apple-touch-icon" href="/static/AppIcon.png" />
<link
rel="apple-touch-icon"
sizes="60x60"
href="/static/AppIcon_60.png"
/>
<link
rel="apple-touch-icon"
sizes="76x76"
href="/static/AppIcon_76.png"
/>
<link
rel="apple-touch-icon"
sizes="120x120"
href="/static/AppIcon_120.png"
/>
<link
rel="apple-touch-icon"
sizes="152x152"
href="/static/AppIcon_152.png"
/>
<link
rel="apple-touch-icon"
sizes="167x167"
href="/static/AppIcon_167.png"
/>
<link
rel="apple-touch-icon"
sizes="180x180"
href="/static/AppIcon_180.png"
/>
<link
rel="apple-touch-icon"
sizes="192x192"
href="/static/AppIcon_192.png"
/>
<link
rel="apple-touch-icon"
sizes="228x228"
href="/static/AppIcon_228.png"
/>

<meta
name="viewport"
content="width=device-width, initial-scale=1, maximum-scale=1"
Expand Down
20 changes: 9 additions & 11 deletions front/pages/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -78,50 +78,48 @@ export default function Home({
<Head>
<title>Dust - Secure AI assistant with your company's knowledge</title>
<link rel="shortcut icon" href="/static/favicon.png" />
<link rel="apple-touch-icon" sizes="60x60" href="static/AppIcon.png" />

<link rel="manifest" href="static/manifest.json" />

<meta name="apple-mobile-web-app-title" content="Dust" />
<link rel="apple-touch-icon" href="/static/AppIcon.png" />
<link
rel="apple-touch-icon"
sizes="60x60"
href="static/AppIcon_60.png"
href="/static/AppIcon_60.png"
/>
<link
rel="apple-touch-icon"
sizes="76x76"
href="static/AppIcon_76.png"
href="/static/AppIcon_76.png"
/>
<link
rel="apple-touch-icon"
sizes="120x120"
href="static/AppIcon_120.png"
href="/static/AppIcon_120.png"
/>
<link
rel="apple-touch-icon"
sizes="152x152"
href="static/AppIcon_152.png"
href="/static/AppIcon_152.png"
/>
<link
rel="apple-touch-icon"
sizes="167x167"
href="static/AppIcon_167.png"
href="/static/AppIcon_167.png"
/>
<link
rel="apple-touch-icon"
sizes="180x180"
href="static/AppIcon_180.png"
href="/static/AppIcon_180.png"
/>
<link
rel="apple-touch-icon"
sizes="192x192"
href="static/AppIcon_192.png"
href="/static/AppIcon_192.png"
/>
<link
rel="apple-touch-icon"
sizes="228x228"
href="static/AppIcon_228.png"
href="/static/AppIcon_228.png"
/>

<meta
Expand Down
Empty file removed front/public/static/manifest.json
Empty file.

0 comments on commit 6b2bc09

Please sign in to comment.