Zwischenspeicher

This commit is contained in:
2023-05-03 12:49:56 +02:00
parent 43c2f1e841
commit b9299e2cdf
9 changed files with 26 additions and 31 deletions

View File

@ -10,7 +10,6 @@
margin-top: 10px; margin-top: 10px;
} }
/* On smaller screens, where height is less than 450px, change the style of the sidenav (less padding and a smaller font size) */ /* On smaller screens, where height is less than 450px, change the style of the sidenav (less padding and a smaller font size) */
@media screen and (max-height: 450px) { @media screen and (max-height: 450px) {
.sidenav {padding-top: 15px;} .sidenav {padding-top: 15px;}

View File

@ -8,7 +8,7 @@
<NuxtLink to="/"> <NuxtLink to="/">
Home Home
</NuxtLink> </NuxtLink>
<NuxtLink to="/address-management/adresses_index"> <NuxtLink to="/address-management/address_index">
Adressverwaltung Adressverwaltung
</NuxtLink> </NuxtLink>
</p> </p>

21
data/address-data.json Normal file
View File

@ -0,0 +1,21 @@
[{
"id": "0000",
"name": "Holger Hedemann",
"address": "Hortensienweg 14"
},
{
"id": "1111",
"name": "Dieter Hillers",
"address": "Oldenburger Str. 28"
},
{
"id": "2222",
"name": "Hilko Hartmann",
"address": "Oldenburger Str. 28"
},
{
"id": "3333",
"name": "Katja Hedemann",
"address": "Rotenburger Weg 21a"
}
]

View File

@ -1,7 +1,7 @@
<template> <template>
<div> <div>
<AppHeader /> <HeaderNav />
<SideNav />
<slot /> <slot />
<TheSidenav />
</div> </div>
</template> </template>

View File

2
package-lock.json generated
View File

@ -1,5 +1,5 @@
{ {
"name": "webadmin3.0", "name": "WebAdmin3.0",
"lockfileVersion": 3, "lockfileVersion": 3,
"requires": true, "requires": true,
"packages": { "packages": {

View File

@ -3,9 +3,7 @@
<h1> <h1>
Willkommen in der Adressverwaltung Willkommen in der Adressverwaltung
</h1> </h1>
<div class="adress-content"> <div class="adress-content" />
Text
</div>
</div> </div>
</template> </template>

View File

@ -1,23 +0,0 @@
import { createRouter, createWebHistory } from 'vue-router'
import index from '@/pages/index.vue'
import adresses from '@/pages/adresses/adresses_index.vue'
import help from '@/pages/header/help'
import info from '@/pages/header/info'
const routes = [
{ path: '/', name: 'Home', component: index },
{ path: 'adresses/adresses_index', name: 'Adressverwaltung', component: adresses },
{ path: 'header/help', name: 'Hilfe', component: help },
{ path: 'header/info', name: 'Info', component: info }
]
const router = createRouter({
history: createWebHistory(),
routes
})
const app = createApp({})
app.use(router)
export default router