Skip to content

Commit

Permalink
Added favicon
Browse files Browse the repository at this point in the history
  • Loading branch information
CoreyGinnivan committed Aug 20, 2024
1 parent cf2cc50 commit 86a83f6
Showing 1 changed file with 28 additions and 27 deletions.
55 changes: 28 additions & 27 deletions website/app/root.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -4,34 +4,35 @@ import { Links, Meta, Outlet, Scripts, ScrollRestoration } from '@remix-run/reac
import './index.css'

export const links: LinksFunction = () => {
return [
{ rel: 'preconnect', href: 'https://fonts.googleapis.com' },
{
rel: 'preconnect',
href: 'https://fonts.gstatic.com',
crossOrigin: 'anonymous',
},
{
rel: 'stylesheet',
href: 'https://fonts.googleapis.com/css2?family=Ubuntu:ital,wght@0,300;0,400;0,500;0,700;1,300;1,400;1,500;1,700&display=swap',
},
]
return [
{ rel: 'preconnect', href: 'https://fonts.googleapis.com' },
{
rel: 'preconnect',
href: 'https://fonts.gstatic.com',
crossOrigin: 'anonymous',
},
{
rel: 'stylesheet',
href: 'https://fonts.googleapis.com/css2?family=Ubuntu:ital,wght@0,300;0,400;0,500;0,700;1,300;1,400;1,500;1,700&display=swap',
},
]
}

export default function App() {
return (
<html lang="en">
<head>
<meta charSet="utf-8" />
<meta name="viewport" content="width=device-width, initial-scale=1" />
<Meta />
<Links />
</head>
<body style={{ backgroundColor: '#0E0E43' }}>
<Outlet />
<ScrollRestoration />
<Scripts />
</body>
</html>
)
return (
<html lang="en">
<head>
<meta charSet="utf-8" />
<meta name="viewport" content="width=device-width, initial-scale=1" />
<link rel="icon" href="favicon.svg" />
<Meta />
<Links />
</head>
<body style={{ backgroundColor: '#0E0E43' }}>
<Outlet />
<ScrollRestoration />
<Scripts />
</body>
</html>
)
}

0 comments on commit 86a83f6

Please sign in to comment.