feat: add Writings section with dynamic content; enhance localization for projects and writings

This commit is contained in:
2025-09-04 15:42:13 +02:00
parent e7226e1992
commit 283cf7352e
9 changed files with 174 additions and 37 deletions

View File

@@ -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>