mirror of
https://github.com/versia-pub/frontend.git
synced 2026-06-14 15:39:15 +02:00
style: 🎨 Format code with Biome
This commit is contained in:
parent
7ff9d2302a
commit
3627ac0ef8
296 changed files with 3257 additions and 2808 deletions
|
|
@ -1,10 +1,16 @@
|
|||
<template>
|
||||
<Col class="gap-y-4">
|
||||
<Col v-for="field in fields" :key="field.name" class="gap-1 break-words">
|
||||
<HeadingSmall v-render-emojis="emojis">{{ field.name }}</HeadingSmall>
|
||||
<Html v-html="field.value" v-render-emojis="emojis" />
|
||||
</Col>
|
||||
</Col>
|
||||
<Column class="gap-y-4">
|
||||
<Column
|
||||
v-for="field in fields"
|
||||
:key="field.name"
|
||||
class="gap-1 break-words"
|
||||
>
|
||||
<HeadingSmall v-render-emojis="emojis">
|
||||
{{ field.name }}
|
||||
</HeadingSmall>
|
||||
<Html v-html="field.value" v-render-emojis="emojis"/>
|
||||
</Column>
|
||||
</Column>
|
||||
</template>
|
||||
|
||||
<script lang="ts" setup>
|
||||
|
|
@ -12,7 +18,7 @@ import type { CustomEmoji, Field } from "@versia/client/schemas";
|
|||
import type { z } from "zod";
|
||||
import HeadingSmall from "~/components/typography/headings/small.vue";
|
||||
import Html from "../typography/html.vue";
|
||||
import Col from "../typography/layout/col.vue";
|
||||
import Column from "../typography/layout/col.vue";
|
||||
|
||||
defineProps<{
|
||||
fields: z.infer<typeof Field>[];
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue