Skip to content

Commit

Permalink
content: add favicons
Browse files Browse the repository at this point in the history
  • Loading branch information
sushichan044 committed Feb 12, 2025
1 parent 83cabbc commit 94090d4
Show file tree
Hide file tree
Showing 9 changed files with 38 additions and 0 deletions.
12 changes: 12 additions & 0 deletions app/components/Favicon.tsx
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
// generated with https://realfavicongenerator.net

export const Favicons = () => (
<>
<link href="/favicon-96x96.png" rel="icon" sizes="96x96" type="image/png" />
<link href="/favicon.svg" rel="icon" type="image/svg+xml" />
<link href="/favicon.ico" rel="shortcut icon" />
<link href="/apple-touch-icon.png" rel="apple-touch-icon" sizes="180x180" />
<meta content="BirdXPlorer" name="apple-mobile-web-app-title" />
<link href="/site.webmanifest" rel="manifest" />
</>
);
2 changes: 2 additions & 0 deletions app/root.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@ import {
import dayjs from "dayjs";
import customParseFormat from "dayjs/plugin/customParseFormat";

import { Favicons } from "./components/Favicon";
import { mantineTheme } from "./config/mantine";

dayjs.extend(customParseFormat);
Expand All @@ -25,6 +26,7 @@ export function Layout({ children }: { children: React.ReactNode }) {
<head>
<meta charSet="utf-8" />
<meta content="width=device-width, initial-scale=1" name="viewport" />
<Favicons />
<Meta />
<Links />
<ColorSchemeScript />
Expand Down
Binary file added 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 public/favicon-96x96.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 modified public/favicon.ico
Binary file not shown.
3 changes: 3 additions & 0 deletions public/favicon.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
21 changes: 21 additions & 0 deletions public/site.webmanifest
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
{
"name": "BirdXPlorer",
"short_name": "BirdXPlorer",
"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": "#ffffff",
"background_color": "#ffffff",
"display": "standalone"
}
Binary file added 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 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.

0 comments on commit 94090d4

Please sign in to comment.