diff --git a/.env.example b/.env.example index 7d4f160..8a6a391 100644 --- a/.env.example +++ b/.env.example @@ -1,6 +1,4 @@ # Generated by Shelve CLI -NUXT_PUBLIC_STUDIO_TOKENS=your_value -NUXT_PUBLIC_MEETING_LINK=your_value NUXT_PRIVATE_RESEND_API_KEY=your_value NUXT_PRIVATE_GITHUB_TOKEN=your_value -NUXT_PRIVATE_NOTES_PASSWORD=your_value \ No newline at end of file +NUXT_PRIVATE_NOTES_PASSWORD=your_value diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index a63a1c2..129e67b 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -26,7 +26,7 @@ jobs: run_install: false - name: 📦 Install dependencies - run: pnpm install --frozen-lockfile + run: pnpm install - name: 🛠️ Build run: pnpm run build diff --git a/Dockerfile b/Dockerfile index 82ddf5c..f0f1267 100644 --- a/Dockerfile +++ b/Dockerfile @@ -4,17 +4,15 @@ FROM node:22.13.1-alpine AS build ARG NUXT_PRIVATE_GITHUB_TOKEN ENV NUXT_PRIVATE_GITHUB_TOKEN=$NUXT_PRIVATE_GITHUB_TOKEN -RUN apk add --no-cache python3 make g++ -RUN corepack enable && corepack prepare pnpm@latest --activate - WORKDIR /app -COPY pnpm-lock.yaml package.json ./ +RUN corepack enable -COPY . . +COPY package.json pnpm-lock.yaml .npmrc ./ -RUN corepack enable -RUN pnpm install --frozen-lockfile --prod +RUN pnpm install + +COPY . . RUN pnpm run build diff --git a/app/app.config.ts b/app/app.config.ts index 451259c..6bc681d 100644 --- a/app/app.config.ts +++ b/app/app.config.ts @@ -1,7 +1,10 @@ export default defineAppConfig({ + global: { + meetingLink: 'https://cal.com/hugorcd/15min', + }, profile: { name: 'Hugo Richard', - job: 'Frontend Architect and Designer', + job: '[Frontend Engineer at [Nuxtlabs](https://nuxtlabs.com)]{.text-accent}', email: 'contact@hrcd.fr', phone: '(+33) 6 21 56 22 18', picture: 'https://avatars.githubusercontent.com/u/71938701?v=4' diff --git a/app/components/List.vue b/app/components/List.vue index 5e86130..ed3c46d 100644 --- a/app/components/List.vue +++ b/app/components/List.vue @@ -1,36 +1,15 @@ diff --git a/app/components/content/Works.vue b/app/components/content/Works.vue index 2d6db8d..0fd225e 100644 --- a/app/components/content/Works.vue +++ b/app/components/content/Works.vue @@ -1,5 +1,15 @@ @@ -9,6 +19,7 @@ if (!works.value || !error.value) createError({ statusCode: 404 }) v-for="(work, index) in works" :key="work.name" :to="work.link" + target="_blank" class="group relative" data-animate :aria-label="`Open ${work.name}`" @@ -17,7 +28,7 @@ if (!works.value || !error.value) createError({ statusCode: 404 })
{{ work.release }}
-

+

{{ work.name }}.

diff --git a/app/components/content/Writing.vue b/app/components/content/Writing.vue index 9d870fa..036d7e3 100644 --- a/app/components/content/Writing.vue +++ b/app/components/content/Writing.vue @@ -18,14 +18,14 @@ async function submit() { } } -const { data, error } = await useAsyncData('writings', () => queryCollection('writing').order('date', 'DESC').all()) +const { data: posts, error } = await useAsyncData('writings', () => queryCollection('writing').order('date', 'DESC').all()) -if (!data.value || !error.value) createError({ statusCode: 404 }) +if (!posts.value || !error.value) createError({ statusCode: 404 })