added main navigation
This commit is contained in:
@@ -1,10 +1,12 @@
|
||||
<template>
|
||||
<main class="bg-slate-100 flex justify-center h-screen">
|
||||
<div class="m-auto bg-white p-4 border rounded space-y-4 drop-shadow">
|
||||
<slot></slot>
|
||||
</div>
|
||||
</main>
|
||||
<LoginLayout>
|
||||
<MainNav />
|
||||
<slot></slot>
|
||||
|
||||
</LoginLayout>
|
||||
</template>
|
||||
|
||||
<script lang="ts" setup>
|
||||
<script setup>
|
||||
import LoginLayout from '@/layouts/LoginLayout'
|
||||
import MainNav from '@/components/MainNav'
|
||||
</script>
|
||||
7
resources/js/Layouts/LoginLayout.vue
Normal file
7
resources/js/Layouts/LoginLayout.vue
Normal file
@@ -0,0 +1,7 @@
|
||||
<template>
|
||||
<main class="bg-slate-100 flex justify-center h-screen">
|
||||
<div class="m-auto bg-white p-4 border rounded space-y-4 drop-shadow">
|
||||
<slot></slot>
|
||||
</div>
|
||||
</main>
|
||||
</template>
|
||||
Reference in New Issue
Block a user