feat: introduce layouts (#28)
This commit is contained in:
1 parent
7bfa84d907
commit
b1eaea501a
8 files changed
+68
-3
No files matched your search
@@ -0,0 +1,18 @@
|
||||
<script setup lang="ts">
|
||||
const router = useRouter()
|
||||
</script>
|
||||
|
||||
<template>
|
||||
<main p="x4 y10" text="center teal-700 dark:gray-200">
|
||||
<div text-4xl>
|
||||
<div i-carbon-warning inline-block />
|
||||
</div>
|
||||
<slot />
|
||||
<div>
|
||||
<button btn text-sm m="3 t8" @click="router.back()">
|
||||
Back
|
||||
</button>
|
||||
</div>
|
||||
<Footer />
|
||||
</main>
|
||||
</template>
|
||||
Reference in new issue
Block a user