refactor: update ESLint configuration and remove unused dependencies

- Replaced Nuxt ESLint configuration with Antfu's ESLint config.
- Removed 'nuxt-visitors' module from Nuxt configuration.
- Added linting scripts to package.json for easier code quality checks.
- Introduced a new API endpoint for fetching weather data from OpenWeather.
- Enhanced chat types with new enums and properties for better state management.
- Added OpenWeather response types for improved type safety.
- Updated social links in types/index.ts to include an email contact.
This commit is contained in:
2025-09-02 17:45:01 +02:00
parent 05963bb605
commit 3fa4f574d3
22 changed files with 1032 additions and 279 deletions

View File

@@ -0,0 +1,43 @@
<script lang="ts" setup>
import { socials } from '~~/types'
const { t } = useI18n({ useScope: 'local' })
</script>
<template>
<section>
<div>
<p class="prose dark:prose-invert">
{{ t('contact') }}
</p>
<div class="flex gap-2 flex-wrap my-2">
<UButton
v-for="social in socials"
:key="social.label"
:icon="social.icon"
:label="social.label"
variant="subtle"
color="neutral"
target="_blank"
class=""
:href="social.to"
:aria-label="social.label"
/>
</div>
</div>
</section>
</template>
<i18n lang="json">
{
"en": {
"contact": "There are different ways to contact me. Here is a list:"
},
"fr": {
"contact": "Il existe différents façons de me contacter. Voici une liste :"
},
"es": {
"contact": "Existen diferentes formas de contactarme. Aquí hay una lista:"
}
}
</i18n>