samgis / static /src /components /PageLayout.vue
aletrn's picture
[feat] add working static frontend
aa983ad
raw
history blame
756 Bytes
<template>
<div class="relative min-h-screen lg:flex">
<!-- Sidebar -->
<main id="content" class="flex-1 z-1 pb-12 ml-[3.3rem] lg:ml-0 mr-4 overflow-y-auto md:pl-1 lg:h-screen">
<header class="hidden items-center justify-between h-10 ml-2 landscape:md:flex portrait:sd:flex portrait:md:h-12 bg-gray-200 border-b">
<h2 class="hidden sd:text-sm ml-2 md:block md:text-2xl">{{ props.pageTitle }}</h2>
</header>
<div class="">
<slot></slot>
</div>
<div class="bottom-0 w-full text-black">
<Footer></Footer>
</div>
</main>
</div>
</template>
<script setup lang="ts">
import Footer from "@/components/PageFooter.vue"
const props = defineProps<{
pageTitle: string
}>()
</script>