add astro prettier plugin

Signed-off-by: Max Schmidt <max.schmidt@outlook.de>
This commit is contained in:
Max Schmidt
2023-08-15 21:06:28 +02:00
parent c353c228c8
commit a6d794000a
3 changed files with 28 additions and 18 deletions

View File

@ -18,22 +18,22 @@ const { title } = Astro.props;
<ViewTransitions />
<style>
@font-face {
font-family: "Plex";
src: url("/fonts/Plex-Regular.woff2") format("woff2");
font-weight: normal;
font-style: normal;
font-display: swap;
}
@font-face {
font-family: "Plex";
src: url("/fonts/Plex-Bold.woff2") format("woff2");
font-weight: bold;
font-style: normal;
font-display: swap;
}
font-family: "Plex";
src: url("/fonts/Plex-Regular.woff2") format("woff2");
font-weight: normal;
font-style: normal;
font-display: swap;
}
@font-face {
font-family: "Plex";
src: url("/fonts/Plex-Bold.woff2") format("woff2");
font-weight: bold;
font-style: normal;
font-display: swap;
}
</style>
</head>
<body class="font-plex bg-gray max-w-7xl mx-auto py-8 text-gray-200 px-6">
<slot />
<body class="mx-auto max-w-7xl bg-gray px-6 py-8 font-plex text-gray-200">
<slot />
</body>
</html>