Réorganiser les variables d'environnement et ajuster les marges dans les composants de projet et d'écriture

This commit is contained in:
2025-07-29 12:13:46 +00:00
parent 85d049d717
commit 82a9870fac
4 changed files with 36 additions and 45 deletions

View File

@@ -1,10 +1,11 @@
NUXT_HUB_ENV=
NUXT_HUB_PROJECT_KEY=
NUXT_DISCORD_ID=
NUXT_DISCORD_ID=
NUXT_DISCORD_TOKEN=
NUXT_DISCORD_USER_ID=
NUXT_HUB_ENV=
NUXT_HUB_PROJECT_KEY=
NUXT_PUBLIC_I18N_BASE_URL=
NUXT_PUBLIC_SITE_URL=
NUXT_WAKATIME_CODING=
@@ -12,8 +13,3 @@ NUXT_WAKATIME_EDITORS=
NUXT_WAKATIME_LANGUAGES=
NUXT_WAKATIME_OS=
NUXT_WAKATIME_USER_ID=
NUXT_PUBLIC_I18N_BASE_URL=
NUXT_UMAMI_ID=
NUXT_UMAMI_HOST=

View File

@@ -25,7 +25,6 @@ const { copy, copied } = useClipboard({
source: `https://arthurdanjou.fr/projects/${route.params.slug}`,
copiedDuring: 4000,
})
</script>
<template>
@@ -104,37 +103,37 @@ const { copy, copied } = useClipboard({
:value="project"
class="!max-w-none prose dark:prose-invert"
/>
<div class="space-y-4 mt-16">
<PostFooter />
<div class="flex gap-4 items-center flex-wrap">
<UButton
color="neutral"
icon="i-ph-arrow-fat-lines-up-duotone"
:label="t('top')"
size="lg"
variant="outline"
@click.prevent="top()"
/>
<UButton
v-if="copied"
color="green"
icon="i-ph-check-square-duotone"
:label="t('link.copied')"
size="lg"
variant="outline"
@click.prevent="copy()"
/>
<UButton
v-else
color="neutral"
icon="i-ph-square-duotone"
:label="t('link.copy')"
size="lg"
variant="outline"
@click.prevent="copy()"
/>
</div>
<div class="space-y-4 mt-8">
<PostFooter />
<div class="flex gap-4 items-center flex-wrap">
<UButton
color="neutral"
icon="i-ph-arrow-fat-lines-up-duotone"
:label="t('top')"
size="lg"
variant="outline"
@click.prevent="top()"
/>
<UButton
v-if="copied"
color="green"
icon="i-ph-check-square-duotone"
:label="t('link.copied')"
size="lg"
variant="outline"
@click.prevent="copy()"
/>
<UButton
v-else
color="neutral"
icon="i-ph-square-duotone"
:label="t('link.copy')"
size="lg"
variant="outline"
@click.prevent="copy()"
/>
</div>
</div>
</main>
</template>

View File

@@ -169,7 +169,7 @@ function scrollToSection(id: string) {
:value="post"
class="!max-w-none prose dark:prose-invert"
/>
<div class="space-y-4 mt-16">
<div class="space-y-4 mt-8">
<PostFooter />
<div class="flex gap-4 items-center flex-wrap">
<UButton

View File

@@ -153,10 +153,6 @@ export default defineNuxtConfig({
languages: '',
os: '',
},
umami: {
id: '',
host: '',
},
public: {
i18n: {
baseUrl: '',