From b1732b52ad407a6c7e3cd4221c7c847073793a9e Mon Sep 17 00:00:00 2001 From: 37b7 Date: Mon, 19 May 2025 08:16:15 +0200 Subject: [PATCH] 54286 --- config/paths.ts | 68 ++++++++++++++++++++++++------------------------- nuxt.config.ts | 2 +- 2 files changed, 35 insertions(+), 35 deletions(-) diff --git a/config/paths.ts b/config/paths.ts index c2382cd..2033810 100644 --- a/config/paths.ts +++ b/config/paths.ts @@ -4,67 +4,67 @@ import { withBasePath } from './basePath'; export const PATHS = { IMAGES: { PROJECTS: { - TEMP: withBasePath('public/assets/images/temp_project.png'), - PORTFOLIO: withBasePath('public/assets/images/portfolionuxt_project.png'), - IRIS: withBasePath('public/assets/images/iris_project.png'), - CHROMINO: withBasePath('public/assets/images/chromino_project.png'), - CLAVIER: withBasePath('public/assets/images/clavier_project.png'), - FLOUFACE: withBasePath('public/assets/images/flouface_project.png'), - MODELISATION: withBasePath('public/assets/images/modelisation_project.png'), - SERVER: withBasePath('public/assets/images/server_project.png') + TEMP: withBasePath('/assets/images/temp_project.png'), + PORTFOLIO: withBasePath('/assets/images/portfolionuxt_project.png'), + IRIS: withBasePath('/assets/images/iris_project.png'), + CHROMINO: withBasePath('/assets/images/chromino_project.png'), + CLAVIER: withBasePath('/assets/images/clavier_project.png'), + FLOUFACE: withBasePath('/assets/images/flouface_project.png'), + MODELISATION: withBasePath('/assets/images/modelisation_project.png'), + SERVER: withBasePath('/assets/images/server_project.png') }, GALLERY: { PORTFOLIO: [ - withBasePath('public/assets/images/gallery/portfolio/portfolio_1.jpg'), - withBasePath('public/assets/images/gallery/portfolio/portfolio_2.jpg'), - withBasePath('public/assets/images/gallery/portfolio/portfolio_3.jpg') + withBasePath('/assets/images/gallery/portfolio/portfolio_1.jpg'), + withBasePath('/assets/images/gallery/portfolio/portfolio_2.jpg'), + withBasePath('/assets/images/gallery/portfolio/portfolio_3.jpg') ], IRIS: [ - withBasePath('public/assets/images/gallery/iris/iris_1.jpg'), - withBasePath('public/assets/images/gallery/iris/iris_2.jpg') + withBasePath('/assets/images/gallery/iris/iris_1.jpg'), + withBasePath('/assets/images/gallery/iris/iris_2.jpg') ], CHROMINO: [ - withBasePath('public/assets/images/gallery/chromino/chromino_1.jpg'), - withBasePath('public/assets/images/gallery/chromino/chromino_2.jpg') + withBasePath('/assets/images/gallery/chromino/chromino_1.jpg'), + withBasePath('/assets/images/gallery/chromino/chromino_2.jpg') ], CLAVIER: [ - withBasePath('public/assets/images/gallery/clavier/clavier_1.jpg'), - withBasePath('public/assets/images/gallery/clavier/clavier_2.jpg') + withBasePath('/assets/images/gallery/clavier/clavier_1.jpg'), + withBasePath('/assets/images/gallery/clavier/clavier_2.jpg') ], MODELISATION: [ - withBasePath('public/assets/images/gallery/modelisation/modelisation_1.jpg'), - withBasePath('public/assets/images/gallery/modelisation/modelisation_2.jpg') + withBasePath('/assets/images/gallery/modelisation/modelisation_1.jpg'), + withBasePath('/assets/images/gallery/modelisation/modelisation_2.jpg') ], SERVER: [ - withBasePath('public/assets/images/gallery/server/server_1.jpg'), - withBasePath('public/assets/images/gallery/server/server_2.jpg') + withBasePath('/assets/images/gallery/server/server_1.jpg'), + withBasePath('/assets/images/gallery/server/server_2.jpg') ], FLOUFACE: [ - withBasePath('public/assets/images/gallery/flouface/flouface_1.jpg'), - withBasePath('public/assets/images/gallery/flouface/flouface_2.jpg') + withBasePath('/assets/images/gallery/flouface/flouface_1.jpg'), + withBasePath('/assets/images/gallery/flouface/flouface_2.jpg') ] } }, ICONS: { GITHUB: { - LIGHT: withBasePath('public/assets/icons/github-black.png'), - DARK: withBasePath('public/assets/icons/github-white.png') + LIGHT: withBasePath('/assets/icons/github-black.png'), + DARK: withBasePath('/assets/icons/github-white.png') } as Icons, DEMO: { - LIGHT: withBasePath('public/assets/icons/demo-black.png'), - DARK: withBasePath('public/assets/icons/demo-white.png') + LIGHT: withBasePath('/assets/icons/demo-black.png'), + DARK: withBasePath('/assets/icons/demo-white.png') } as Icons, DOCUMENTATION: { - LIGHT: withBasePath('public/assets/icons/documentation-black.png'), - DARK: withBasePath('public/assets/icons/documentation-white.png') + LIGHT: withBasePath('/assets/icons/documentation-black.png'), + DARK: withBasePath('/assets/icons/documentation-white.png') } as Icons, YOUTUBE: { - LIGHT: withBasePath('public/assets/icons/youtube-black.png'), - DARK: withBasePath('public/assets/icons/youtube-white.png') + LIGHT: withBasePath('/assets/icons/youtube-black.png'), + DARK: withBasePath('/assets/icons/youtube-white.png') } as Icons }, RESOURCES: { - CV: withBasePath('public/assets/files/CV_final_Mathéo_Thierry.pdf') + CV: withBasePath('/assets/files/CV_final_Mathéo_Thierry.pdf') }, LINKS: { YOUTUBE: 'https://www.youtube.com/@37b7', @@ -106,6 +106,6 @@ export const PATHS = { } as const; export const DEFAULT_IMAGES = { - PROJECT: withBasePath('public/assets/images/default-project.png'), - ICON: withBasePath('public/assets/icons/default-icon.png'), + PROJECT: withBasePath('/assets/images/default-project.png'), + ICON: withBasePath('/assets/icons/default-icon.png'), } as const; \ No newline at end of file diff --git a/nuxt.config.ts b/nuxt.config.ts index 17b793f..e7cee9c 100644 --- a/nuxt.config.ts +++ b/nuxt.config.ts @@ -30,7 +30,7 @@ export default defineNuxtConfig({ } ], }, - buildAssetsDir: process.env.BASE_PATH + '/_nuxt/' || '', + buildAssetsDir: '/containers/matheothierry-portfolio_nuxt/_nuxt/', }, modules: ['@nuxt/image'],