added main navigation

This commit is contained in:
Sockenklaus
2023-07-02 13:56:28 +02:00
parent 02812afc3d
commit bc38291696
11 changed files with 116 additions and 23 deletions

View File

@@ -0,0 +1,3 @@
<template>
</template>

View File

@@ -0,0 +1,12 @@
<template>
</template>
<script setup>
import BELayout from '@/layouts/BELayout.vue'
import MainNav from '@/components/MainNav.vue'
defineOptions({ layout: BELayout })
</script>

View File

@@ -1,11 +0,0 @@
<template>
</template>
<script setup>
import BELayout from '@/Layouts/BELayout.vue'
defineOptions({ layout: BELayout })
</script>

View File

@@ -1,6 +1,5 @@
<template>
<h1 class="text-center text-lg font-bold">Login</h1>
<n-form
label-placement="top"
:model="formValue"
@@ -14,7 +13,7 @@
<n-input v-model:value="formValue.password" placeholder="Passwort"></n-input>
</n-form-item>
<div class="flex justify-center">
<n-button class="bg-[#18A058]" type="success" @click="onClickLogin">Einloggen</n-button>
<n-button class="bg-[#18A058]" type="success" @click="onClickLogin">Anmelden</n-button>
</div>
</n-form>
</template>
@@ -22,9 +21,9 @@
<script setup>
import { ref } from 'vue'
import { router } from '@inertiajs/vue3'
import BELayout from '@/Layouts/BELayout.vue'
import LoginLayout from '@/layouts/LoginLayout.vue'
defineOptions({ layout: BELayout })
defineOptions({ layout: LoginLayout })
const formRef = ref(null)
const formValue = ref({

View File

@@ -0,0 +1,3 @@
<template>
</template>

View File

@@ -0,0 +1,12 @@
<template>
</template>
<script setup>
import BELayout from '@/layouts/BELayout.vue'
import MainNav from '@/components/MainNav.vue'
defineOptions({ layout: BELayout })
</script>