Remove google fonts

This commit is contained in:
Ondřej 2024-01-08 17:13:58 +01:00
parent 31231d0c65
commit 6bfb79ef43
3 changed files with 8 additions and 8 deletions

Binary file not shown.

Binary file not shown.

View file

@ -18,14 +18,6 @@ const { title } = Astro.props;
<link rel="preconnect" href="https://fonts.googleapis.com" /> <link rel="preconnect" href="https://fonts.googleapis.com" />
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin /> <link rel="preconnect" href="https://fonts.gstatic.com" crossorigin />
<link
href="https://fonts.googleapis.com/css2?family=Ysabeau:ital,wght@0,400;0,600;0,700;1,400;1,700&display=swap"
rel="stylesheet"
/>
<link
href="https://fonts.googleapis.com/css2?family=Ysabeau:ital,wght@0,400;0,600;0,700;1,400&display=swap&text=↗"
rel="stylesheet"
/>
</head> </head>
<body> <body>
<slot /> <slot />
@ -93,6 +85,14 @@ const { title } = Astro.props;
} }
} }
@font-face {
font-family: "Ysabeau";
src: url("/fonts/Ysabeau[wght].ttf");
font-weight: 300 700;
font-display: swap;
font-style: normal;
}
html { html {
box-sizing: border-box; box-sizing: border-box;
} }