mirror of
https://github.com/ArthurDanjou/artsite.git
synced 2026-01-14 18:59:59 +01:00
Réorganiser les variables d'environnement et ajuster les marges dans les composants de projet et d'écriture
This commit is contained in:
14
.env.example
14
.env.example
@@ -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=
|
||||
@@ -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>
|
||||
|
||||
|
||||
@@ -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
|
||||
|
||||
@@ -153,10 +153,6 @@ export default defineNuxtConfig({
|
||||
languages: '',
|
||||
os: '',
|
||||
},
|
||||
umami: {
|
||||
id: '',
|
||||
host: '',
|
||||
},
|
||||
public: {
|
||||
i18n: {
|
||||
baseUrl: '',
|
||||
|
||||
Reference in New Issue
Block a user