feat: add HomeLab component and update localization for homelab in English, Spanish, and French

This commit is contained in:
2025-09-05 15:52:35 +02:00
parent b5b887673e
commit 5436c6bf2d
6 changed files with 40 additions and 8 deletions

View File

@@ -6,6 +6,7 @@ import ToolContact from '~/components/tool/Contact.vue'
import ToolCredits from '~/components/tool/Credits.vue'
import ToolDuplicated from '~/components/tool/Duplicated.vue'
import ToolHobbies from '~/components/tool/Hobbies.vue'
import ToolHomeLab from '~/components/tool/HomeLab.vue'
import ToolLanguage from '~/components/tool/Language.vue'
import ToolLocation from '~/components/tool/Location.vue'
import ToolProjects from '~/components/tool/Projects.vue'
@@ -43,7 +44,7 @@ const componentMap: Record<ChatType, Component | undefined> = {
[ChatType.WRITINGS]: ToolWritings,
[ChatType.HOBBIES]: ToolHobbies,
[ChatType.EXPERIENCES]: undefined,
[ChatType.STATUS]: undefined,
[ChatType.STATUS]: ToolHomeLab,
[ChatType.CREDITS]: ToolCredits,
[ChatType.RESUME]: ToolResume,
}

View File

@@ -0,0 +1,32 @@
<script lang="ts" setup>
</script>
<template>
<section class="prose dark:prose-invert">
<i18n-t keypath="tool.homelab">
<template #space>
<br>
</template>
<template #status>
<UButton
label="ArtStatus"
trailing-icon="i-simple-icons-uptimekuma"
variant="link"
to="https://status.arthurdanjou.fr"
target="_blank"
class="p-0"
/>
</template>
<template #article>
<UButton
label="ArtLab"
trailing-icon="i-ph-rocket-launch-duotone"
variant="link"
to="/projects/artlab"
class="p-0"
/>
</template>
</i18n-t>
</section>
</template>