Skip to content

Commit

Permalink
f (#416)
Browse files Browse the repository at this point in the history
  • Loading branch information
ttizze authored Dec 4, 2024
2 parents be07076 + 6862322 commit 5874de5
Show file tree
Hide file tree
Showing 2 changed files with 21 additions and 3 deletions.
21 changes: 21 additions & 0 deletions web/app/root.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -51,6 +51,27 @@ export const handle = {

export const links: LinksFunction = () => [
{ rel: "stylesheet", href: tailwind },
{
rel: "preconnect",
href: "https://fonts.googleapis.com",
},
{
rel: "preconnect",
href: "https://fonts.gstatic.com",
crossOrigin: "anonymous",
},
{
rel: "preload",
as: "style",
href: "https://fonts.googleapis.com/css2?family=Inter:wght@100;200;300;400;500;600;700;800;900&family=BIZ+UDPGothic:wght@400;700&display=swap",
fetchpriority: "high",
},
{
rel: "stylesheet",
href: "https://fonts.googleapis.com/css2?family=Inter:wght@100;200;300;400;500;600;700;800;900&family=BIZ+UDPGothic:wght@400;700&display=swap",
media: "print",
onLoad: "this.media='all'",
},
];

export function Layout({ children }: { children: React.ReactNode }) {
Expand Down
3 changes: 0 additions & 3 deletions web/app/tailwind.css
Original file line number Diff line number Diff line change
@@ -1,6 +1,3 @@
@import url("https://fonts.googleapis.com/css2?family=Inter:wght@100;200;300;400;500;600;700;800;900&display=swap");
@import url("https://fonts.googleapis.com/css2?family=BIZ+UDPGothic:wght@400;700&display=swap");

@tailwind base;
@tailwind components;
@tailwind utilities;
Expand Down

0 comments on commit 5874de5

Please sign in to comment.