7b8e1384e2
modified: main_dc/yalarba/easySite/easySite/app/components/layout/Header.vue modified: main_dc/yalarba/easySite/easySite/app/layouts/default.vue modified: main_dc/yalarba/easySite/easySite/app/pages/index.vue add footer into main page for easysite
28 lines
424 B
Vue
28 lines
424 B
Vue
<template>
|
|
<div class="layout">
|
|
<Header />
|
|
|
|
<main class="main-content">
|
|
<slot />
|
|
</main>
|
|
|
|
<Footer />
|
|
</div>
|
|
</template>
|
|
|
|
<script setup lang="ts">
|
|
import Header from '~/components/layout/Header.vue'
|
|
import Footer from '~/components/layout/Footer.vue'
|
|
</script>
|
|
|
|
<style scoped>
|
|
.layout {
|
|
min-height: 100vh;
|
|
display: flex;
|
|
flex-direction: column;
|
|
}
|
|
|
|
.main-content {
|
|
flex: 1;
|
|
}
|
|
</style> |