add latest

This commit is contained in:
2022-09-23 23:13:55 +01:00
parent c911e9a527
commit 20e4a75d49
13 changed files with 46 additions and 4 deletions

View File

@@ -1,5 +1,10 @@
<template>
<q-card flat bordered square class="col-2 bg-grey-3 q-ma-sm border">
<q-card
flat
bordered
square
:class="[getColWidth, 'bg-grey-3', 'q-ma-sm', 'border']"
>
<q-card-section>
<div class="text-subtitle1 text-uppercase text-center">
{{ title }}
@@ -13,9 +18,16 @@
</template>
<script setup lang="ts">
defineProps<{
import { computed } from 'vue';
const props = defineProps<{
title: string;
colWidth: number;
}>();
const getColWidth = computed(() => {
return `col-${props.colWidth}`;
});
</script>
<style lang="scss">