Programmatically build links. Styling Changes

This commit is contained in:
2023-11-16 16:35:41 -05:00
parent 791f065367
commit 214cfbd1be
14 changed files with 278 additions and 142 deletions

63
src/pages/BoatPage.vue Normal file
View File

@@ -0,0 +1,63 @@
<template>
<q-page padding>
<q-card
flat
bordered
class="my-card"
:class="$q.dark.isActive ? 'bg-grey-9' : 'bg-grey-2'"
>
<q-card-section>
<div class="row items-center no-wrap">
<div class="col">
<div class="text-h6">Our Planet</div>
<div class="text-subtitle2">by John Doe</div>
</div>
<div class="col-auto">
<q-btn color="grey-7" round flat icon="more_vert">
<q-menu cover auto-close>
<q-list>
<q-item clickable>
<q-item-section>Remove Card</q-item-section>
</q-item>
<q-item clickable>
<q-item-section>Send Feedback</q-item-section>
</q-item>
<q-item clickable>
<q-item-section>Share</q-item-section>
</q-item>
</q-list>
</q-menu>
</q-btn>
</div>
</div>
</q-card-section>
<q-card-section>
<!-- {{ lorem }} -->
</q-card-section>
<q-separator />
<q-card-actions>
<q-btn flat>Action 1</q-btn>
<q-btn flat>Action 2</q-btn>
</q-card-actions>
</q-card>
</q-page>
</template>
<script lang="ts" setup>
import { defineComponent, PropType } from 'vue';
import { Boat } from 'src/components/models';
defineComponent({
name: 'BoatPage',
props: {
boats: {
type: Array as PropType<Boat[]>,
default: () => [],
},
},
});
</script>