diff --git a/Dockerfile b/Dockerfile index 0b96f96..5fab2cb 100644 --- a/Dockerfile +++ b/Dockerfile @@ -15,6 +15,6 @@ RUN npm run build FROM docker.io/library/nginx:1.27.2 # Enable 404.html page -RUN sed -i '12s/#//' /etc/nginx/conf.d/default.conf && cat /etc/nginx/conf.d/default.conf +RUN sed -i '12s/#//' /etc/nginx/conf.d/default.conf COPY --from=builder /app-builder/build /usr/share/nginx/html diff --git a/src/lib/data/global.ts b/src/lib/data/global.ts index 3cd7654..8a7e3d9 100644 --- a/src/lib/data/global.ts +++ b/src/lib/data/global.ts @@ -1,3 +1,5 @@ +import type { MenuItem } from './types'; + export const title = 'Arnaud Scheffler'; export const meta = { description: diff --git a/src/lib/data/landing.ts b/src/lib/data/landing.ts index 3eb654f..c47defe 100644 --- a/src/lib/data/landing.ts +++ b/src/lib/data/landing.ts @@ -1,4 +1,5 @@ import { meta, title } from './global'; +import type { Education, Experience, Project, Skill } from './types'; export const title1 = 'Stratégie'; export const title2 = 'Réalisation'; @@ -12,7 +13,7 @@ export const text3 = export const imgTitle = title; -export let skills: Skill[] = [ +export const skills: Skill[] = [ { icon: 'eos-icons:project-outlined', title: 'Design Authority', @@ -46,7 +47,7 @@ export let skills: Skill[] = [ } ]; -export let experiences: Experience[] = [ +export const experiences: Experience[] = [ { company: 'Pyxis Support', role: 'Directeur de la division digitale', @@ -105,7 +106,7 @@ export let experiences: Experience[] = [ } ]; -export let educations: Education[] = [ +export const educations: Education[] = [ { title: "Master 2 spécialisation Systèmes d'Information Décisionnels", location: 'UFR MIM Metz (57)', @@ -122,7 +123,7 @@ export let educations: Education[] = [ } ]; -export let projects: Project[] = [ +export const projects: Project[] = [ { name: 'Mon super projet 1', description: [ diff --git a/src/lib/data/types.d.ts b/src/lib/data/types.d.ts index 1594f83..d2485bf 100644 --- a/src/lib/data/types.d.ts +++ b/src/lib/data/types.d.ts @@ -1,24 +1,24 @@ -type Skill = { +export type Skill = { icon: string; title: string; text: string; }; -type Experience = { +export type Experience = { company: string; role: string; date: string; description: string[]; }; -type Education = { +export type Education = { title: string; location: string; date: string; description: string; }; -type Project = { +export type Project = { name: string; link?: string; description: string[]; diff --git a/src/lib/landing/Educations.svelte b/src/lib/landing/Educations.svelte index 481ac4d..2d77ae9 100644 --- a/src/lib/landing/Educations.svelte +++ b/src/lib/landing/Educations.svelte @@ -1,4 +1,6 @@ diff --git a/src/lib/landing/Experiences.svelte b/src/lib/landing/Experiences.svelte index a4abfa9..4ff2bb3 100644 --- a/src/lib/landing/Experiences.svelte +++ b/src/lib/landing/Experiences.svelte @@ -1,4 +1,7 @@ diff --git a/src/lib/landing/Projects.svelte b/src/lib/landing/Projects.svelte index 3379f6f..b6ef703 100644 --- a/src/lib/landing/Projects.svelte +++ b/src/lib/landing/Projects.svelte @@ -1,4 +1,6 @@ diff --git a/src/lib/landing/Skills.svelte b/src/lib/landing/Skills.svelte index d086ff0..7687992 100644 --- a/src/lib/landing/Skills.svelte +++ b/src/lib/landing/Skills.svelte @@ -1,4 +1,5 @@