Skip to content

Commit

Permalink
Update font links in root layout
Browse files Browse the repository at this point in the history
  • Loading branch information
1aron committed Dec 29, 2023
1 parent dda2eb4 commit 2e9fa81
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions website/app/[locale]/root.layout.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -16,12 +16,12 @@ export default async function RootLayout({ children, locale, bodyClassName, styl
<head>
<link rel="icon" href="/favicon.ico" type="image/x-icon" sizes="any" />
<script dangerouslySetInnerHTML={{ __html: getPreInitScript({ default: 'system' }) }}></script>
<link href="https://fonts.googleapis.com/css2?family=Fira+Code:wght@300;400;500;600;700&family=Inter:wght@400;500&family=Open+Sans:ital@1&display=swap" rel="stylesheet" />
<link href="https://fonts.googleapis.com/css2?family=Fira+Code:wght@300;400;500;600;700&family=Inter:wght@100;200;300;400;500;600;700;800;900&display=block" rel="stylesheet" />
{locale === 'tw' &&
<>
<link rel="preconnect" href="https://fonts.googleapis.com" />
<link rel="preconnect" href="https://fonts.gstatic.com" crossOrigin='' />
<link href="https://fonts.googleapis.com/css2?family=Noto+Sans+TC:wght@400;500;700;900&display=swap" rel="stylesheet" />
<link href="https://fonts.googleapis.com/css2?family=Noto+Sans+TC:wght@400;500;700;900&display=block" rel="stylesheet" />
</>
}
</head>
Expand Down

0 comments on commit 2e9fa81

Please sign in to comment.