Skip to content

Commit

Permalink
feat: add favicons
Browse files Browse the repository at this point in the history
  • Loading branch information
ooooorobo committed Jul 27, 2024
1 parent 46788e4 commit 8afbc25
Show file tree
Hide file tree
Showing 7 changed files with 23 additions and 0 deletions.
Binary file added public/android-chrome-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/android-chrome-512x512.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/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-16x16.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-32x32.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.
23 changes: 23 additions & 0 deletions src/app/root.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,29 @@ import 'src/shared/styles/global.css';
import 'src/shared/styles/variables.css';
import 'src/shared/styles/typography.css';
import { WideDeviceLayout } from 'src/pages/layout/WideDeviceLayout';
import { LinksFunction } from '@remix-run/node';

export const links: LinksFunction = () => {
return [
{
rel: 'icon',
href: '/favicon-32x32.png',
sizes: '32x32',
type: 'image/png',
},
{
rel: 'icon',
href: '/favicon-16x16.png',
sizes: '16x16',
type: 'image/png',
},
{
rel: 'apple-touch-icon',
href: '/apple-touch-icon.png',
sizes: '180x180',
},
];
};

export function Layout({ children }: { children: ReactNode }) {
return (
Expand Down

0 comments on commit 8afbc25

Please sign in to comment.