mirror of
https://github.com/ArthurDanjou/website-old.git
synced 2026-02-02 05:08:00 +01:00
rework structure
This commit is contained in:
21
layouts/default.vue
Normal file
21
layouts/default.vue
Normal file
@@ -0,0 +1,21 @@
|
||||
<template>
|
||||
<div class="dark:bg-dark-200 dark:text-white font-sans">
|
||||
<Header />
|
||||
<Nuxt class="z-10 pt-16 lg:pt-24 content"/>
|
||||
<Footer />
|
||||
</div>
|
||||
</template>
|
||||
|
||||
<script>
|
||||
import Header from "~/components/Header";
|
||||
import Footer from "~/components/Footer";
|
||||
export default {
|
||||
components: {Footer, Header}
|
||||
}
|
||||
</script>
|
||||
|
||||
<style scoped>
|
||||
.content {
|
||||
min-height: calc(100vh - 118px);
|
||||
}
|
||||
</style>
|
||||
Reference in New Issue
Block a user