Skip to content

Commit

Permalink
Add favicon
Browse files Browse the repository at this point in the history
  • Loading branch information
sembrestels committed Nov 5, 2024
1 parent 4e7be00 commit 8a9c9f1
Show file tree
Hide file tree
Showing 6 changed files with 33 additions and 8 deletions.
Binary file added apps/web/public/apple-touch-icon.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added apps/web/public/favicon.ico
Binary file not shown.
21 changes: 21 additions & 0 deletions apps/web/public/manifest.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
{
"name": "CouncilHaus",
"short_name": "CouncilHaus",
"icons": [
{
"src": "/web-app-manifest-192x192.png",
"sizes": "192x192",
"type": "image/png",
"purpose": "maskable"
},
{
"src": "/web-app-manifest-512x512.png",
"sizes": "512x512",
"type": "image/png",
"purpose": "maskable"
}
],
"theme_color": "#111827",
"background_color": "#111827",
"display": "standalone"
}
Binary file added apps/web/public/web-app-manifest-192x192.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added apps/web/public/web-app-manifest-512x512.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
20 changes: 12 additions & 8 deletions apps/web/src/app/root.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,18 @@ import styles from "@repo/ui/globals.css?url";

export function links() {
return [
{
rel: "icon",
href: "/logo-dark.svg",
type: "image/svg+xml",
},
{ rel: "shortcut icon", href: "/favicon.ico" },
{
rel: "apple-touch-icon",
sizes: "180x180",
href: "/apple-touch-icon.png",
},
{ rel: "manifest", href: "/manifest.json" },
{ rel: "stylesheet", href: styles },
{ rel: "stylesheet", href: rainbowStyles },
];
Expand All @@ -36,14 +48,6 @@ export const meta: MetaFunction = () => [
title: SITE_NAME,
viewport: "width=device-width,initial-scale=1",
},
{
rel: "icon",
href: "/logo-dark.svg",
type: "image/svg+xml",
},
{ rel: "shortcut icon", href: "/favicon.ico" },
{ rel: "apple-touch-icon", sizes: "180x180", href: "/apple-touch-icon.png" },
{ rel: "manifest", href: "/manifest.json" },
{ name: "description", content: SITE_DESCRIPTION },
{ name: "theme-color", content: "#111827" },
{ name: "color-scheme", content: "dark" },
Expand Down

0 comments on commit 8a9c9f1

Please sign in to comment.