mirror of
https://github.com/ArthurDanjou/artchat.git
synced 2026-01-23 07:52:40 +01:00
feat: add Writings section with dynamic content; enhance localization for projects and writings
This commit is contained in:
@@ -1,19 +1,11 @@
|
||||
<script setup lang="ts">
|
||||
const { t, locale } = useI18n()
|
||||
const closed = ref(false)
|
||||
</script>
|
||||
|
||||
<template>
|
||||
<UAlert
|
||||
v-if="locale !== 'en' && !closed"
|
||||
:description="t('alert.description')"
|
||||
:title="t('alert.title')"
|
||||
color="error"
|
||||
icon="i-ph-warning-duotone"
|
||||
variant="soft"
|
||||
:close="{
|
||||
color: 'error',
|
||||
}"
|
||||
@update:open="closed = true"
|
||||
/>
|
||||
<h3
|
||||
v-if="locale !== 'en'"
|
||||
>
|
||||
⚠️ {{ t('alert') }}
|
||||
</h3>
|
||||
</template>
|
||||
|
||||
Reference in New Issue
Block a user