mirror of
https://github.com/ArthurDanjou/artchat.git
synced 2026-01-14 15:54:03 +01:00
feat: add HomeLab component and update localization for homelab in English, Spanish, and French
This commit is contained in:
@@ -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,
|
||||
}
|
||||
|
||||
32
app/components/tool/HomeLab.vue
Normal file
32
app/components/tool/HomeLab.vue
Normal 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>
|
||||
Reference in New Issue
Block a user