Zwischenspeicher

This commit is contained in:
2023-05-05 12:11:07 +02:00
parent b35facc343
commit 01f949ca03
8 changed files with 70 additions and 60 deletions

View File

@ -16,6 +16,10 @@
.sidenav a {font-size: 18px;} .sidenav a {font-size: 18px;}
} }
#title {
padding-bottom: 10px;
}
/* Header */ /* Header */
.header { .header {
background-color: #a5aeb5; background-color: #a5aeb5;
@ -94,19 +98,22 @@
color: #f1f1f1; color: #f1f1f1;
} }
/* Adress Content */ /* Address Table */
.adress-content { .address-table {
display: block; border-collapse: collapse;
width: 100%; width: 100%;
margin: 20px auto; }
padding: 10px 45px;
background: white no-repeat 15px center; .address-table th,
background-size: 15px 15px; .address-table td {
font-size: 16px; border: 1px solid #ddd;
border: none; padding: 8px;
border-radius: 5px; text-align: left;
box-shadow: rgba(50, 50, 93, 0.25) 0px 2px 5px -1px, }
rgba(0, 0, 0, 0.3) 0px 1px 3px -1px;
.address-table th {
background-color: #f2f2f2;
color: #333;
} }
@ -115,4 +122,3 @@

View File

@ -1,21 +0,0 @@
[{
"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"
}
]

36
data/addressData.json Normal file
View File

@ -0,0 +1,36 @@
{
"items":
[
{
"id": 1,
"customernumber": "0000",
"name": "Dieter Hillers",
"company": "Hedemann GmbH",
"street": "Oldenburger Str. 28",
"postalcode": "26639",
"location": "Wiesmoor",
"phone": "04944-1450"
},
{
"id": 2,
"customernumber": "1111",
"name": "Holger Hedemann",
"company": "Hedemann GmbH",
"street": "Oldenburger Str. 28",
"postalcode": "26639",
"location": "Wiesmoor",
"phone": "04944-1450"
},
{
"id": 3,
"customernumber": "2222",
"name": "Hilko Hartmann",
"company": "Hedemann GmbH",
"street": "Oldenburger Str. 28",
"postalcode": "26639",
"location": "Wiesmoor",
"phone": "04944-1450"
}
]
}

View File

@ -3,6 +3,9 @@ export default defineNuxtConfig({
modules: [ modules: [
'@huntersofbook/naive-ui-nuxt' '@huntersofbook/naive-ui-nuxt'
], ],
css: [
'@/assets/main.css'
],
build: { build: {
transpile: [ transpile: [
'trpc-nuxt' 'trpc-nuxt'

View File

@ -1,16 +1,11 @@
<template> <template>
<div class="main-content"> <div class="main-content">
<h1> <h1 id="title">
Willkommen in der Adressverwaltung Willkommen in der Adressverwaltung
</h1> </h1>
<div class="adress-content">
<p>Text</p>
</div>
</div> </div>
</template> </template>
<script> <script lang="ts">
</script> </script>
<style src="@/assets/main.css"></style>

View File

@ -1,14 +1,10 @@
<template> <template>
<div class="main-content"> <div class="main-content">
<div class="heading"> <h1 id="title">
<h1> Hilfe
Hilfe </h1>
</h1>
</div>
<div class="content"> <div class="content">
<p>Hier findest du Hilfe</p> <p>Hier findest du Hilfe</p>
</div> </div>
</div> </div>
</template> </template>
<style scoped src="@/assets/main.css"></style>

View File

@ -1,14 +1,11 @@
<template> <template>
<div class="main-content"> <div class="main-content">
<div class="heading"> <h1 id="title">
<h1> Info
Info </h1>
</h1>
</div>
<div class="content"> <div class="content">
<p>Hier findest du Infos</p> <p>Hier findest du Infos</p>
</div> </div>
</div> </div>
</template> </template>
<style scoped src="@/assets/main.css"></style>

View File

@ -1,9 +1,7 @@
<template> <template>
<div class="main-content"> <div class="main-content">
<div class="heading"> <h1 id="title">
<h1>Willkommen</h1> Willkommen
</div> </h1>
</div> </div>
</template> </template>
<style src="@/assets/main.css"></style>