fix: alpha lyrae font not working in woff2
This commit is contained in:
@@ -13,9 +13,9 @@ export default function Document() {
|
||||
{/* preload fonts */}
|
||||
<link
|
||||
rel="preload"
|
||||
href="/AlphaLyrae-Medium.woff2"
|
||||
href="/AlphaLyrae-Medium.woff"
|
||||
as="font"
|
||||
type="font/woff2"
|
||||
type="font/woff"
|
||||
/>
|
||||
|
||||
{/* icons */}
|
||||
|
||||
@@ -4,8 +4,7 @@
|
||||
/** Load AlphaLyrae font */
|
||||
@font-face {
|
||||
font-family: AlphaLyrae;
|
||||
src: url('/AlphaLyrae-Medium.woff2') format('woff2'),
|
||||
url('/AlphaLyrae-Medium.woff') format('woff');
|
||||
src: url('/AlphaLyrae-Medium.woff') format('woff');
|
||||
}
|
||||
|
||||
@tailwind base;
|
||||
|
||||
Binary file not shown.
Binary file not shown.
Reference in New Issue
Block a user