refactor: use markdown layouts
All checks were successful
Deploy to SFTP Server / build (push) Successful in 6m11s

This commit is contained in:
2024-04-06 19:11:06 +02:00
parent 613ab7aef9
commit 82eb0657e2
12 changed files with 178 additions and 49 deletions

View File

@@ -65,7 +65,9 @@ const { title, width = "compact" } = Astro.props;
--neutral-000: #f1f1f4;
--fill: #cb5a5a;
--border-radius-sm: 10px;
--border-radius-md: 20px;
--border-radius-lg: 30px;
--spacing-sm: 10px;
--spacing-md: 20px;
@@ -99,15 +101,6 @@ const { title, width = "compact" } = Astro.props;
--text: var(--neutral-100);
--text-light: white;
}
/* .dark .icon-tabler-sun, */
/* .light .icon-tabler-moon { */
/* display: none; */
/* } */
/* .dark .icon-tabler-moon, */
/* .light .icon-tabler-sun { */
/* display: block; */
/* } */
</style>
<script>
(function () {
@@ -130,7 +123,9 @@ const { title, width = "compact" } = Astro.props;
<main id="main-content" class="flex flex-col mt-4xl gap-y-2xl">
<slot />
</main>
<LanguagePicker />
<footer>
<LanguagePicker />
</footer>
<style>
.layout-compact {
max-width: 600px;