Add car details and meta pages

This commit is contained in:
2025-09-07 02:45:10 +02:00
parent ed89ce1b31
commit 69f03170a6
12 changed files with 357 additions and 3 deletions
+3 -1
View File
@@ -1,4 +1,5 @@
<script setup lang="ts">
import CarDetail from '@/components/CarDetail.vue';
import StatsBlock from '@/components/StatsBlock.vue';
import { getType, useTramStore } from '@/stores/tram.ts';
import { computed, ref } from 'vue';
@@ -58,7 +59,7 @@ function add() {
<VaCard class="md:col-2">
<VaCardTitle>Neues Fahrzeug gefunden?</VaCardTitle>
<VaCardContent>
<VaForm ref="form" class="grid grid-cols-1 gap-2 sm:grid-cols-2">
<VaForm ref="form" class="mb-4 grid grid-cols-1 gap-2 sm:grid-cols-2">
<VaInput
v-model="number"
class="text-xl"
@@ -87,6 +88,7 @@ function add() {
>Gesehen</VaButton
>
</VaForm>
<CarDetail :car="enteredType" />
</VaCardContent>
</VaCard>