Noogle: add tailwind, rework design

This commit is contained in:
Believethehype
2024-01-18 19:46:26 +01:00
parent 162d8ff227
commit 756962ea6f
15 changed files with 274 additions and 72 deletions

View File

@@ -0,0 +1,55 @@
<script setup>
import Donate from "@/components/Donate.vue";
</script>
<template>
<div class="three-column-layout">
<header>
<!-- <AppLogo />-->
</header>
<main>
<slot />
</main>
<aside>
<slot name="aside" />
<!-- <AppFooter /> -->
</aside>
</div>
</template>
<style scoped lang="scss">
.three-column-layout {
display: grid;
grid-template-areas:
"header"
"main"
"aside";
header {
grid-area: header;
margin-top: 30px;
}
main {
grid-area: main;
margin-top: 10px;
padding: 20px;
}
aside {
grid-area: aside;
margin-top: 10px;
padding: 20px;
}
@media (min-width: 768px) {
grid-template-columns: 1fr 3fr 1fr;
grid-template-areas: "header main aside";
}
}
</style>