misc: fix all lint and check issues
All checks were successful
build / docker (push) Successful in 49s

This commit is contained in:
2025-02-20 12:22:24 +01:00
parent 97da619ba3
commit 0136a46326
9 changed files with 40 additions and 29 deletions

View File

@ -15,6 +15,6 @@ RUN npm run build
FROM docker.io/library/nginx:1.27.2 FROM docker.io/library/nginx:1.27.2
# Enable 404.html page # 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 COPY --from=builder /app-builder/build /usr/share/nginx/html

View File

@ -1,3 +1,5 @@
import type { MenuItem } from './types';
export const title = 'Arnaud Scheffler'; export const title = 'Arnaud Scheffler';
export const meta = { export const meta = {
description: description:

View File

@ -1,4 +1,5 @@
import { meta, title } from './global'; import { meta, title } from './global';
import type { Education, Experience, Project, Skill } from './types';
export const title1 = 'Stratégie'; export const title1 = 'Stratégie';
export const title2 = 'Réalisation'; export const title2 = 'Réalisation';
@ -12,7 +13,7 @@ export const text3 =
export const imgTitle = title; export const imgTitle = title;
export let skills: Skill[] = [ export const skills: Skill[] = [
{ {
icon: 'eos-icons:project-outlined', icon: 'eos-icons:project-outlined',
title: 'Design Authority', title: 'Design Authority',
@ -46,7 +47,7 @@ export let skills: Skill[] = [
} }
]; ];
export let experiences: Experience[] = [ export const experiences: Experience[] = [
{ {
company: 'Pyxis Support', company: 'Pyxis Support',
role: 'Directeur de la division digitale', 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", title: "Master 2 spécialisation Systèmes d'Information Décisionnels",
location: 'UFR MIM Metz (57)', 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', name: 'Mon super projet 1',
description: [ description: [

View File

@ -1,24 +1,24 @@
type Skill = { export type Skill = {
icon: string; icon: string;
title: string; title: string;
text: string; text: string;
}; };
type Experience = { export type Experience = {
company: string; company: string;
role: string; role: string;
date: string; date: string;
description: string[]; description: string[];
}; };
type Education = { export type Education = {
title: string; title: string;
location: string; location: string;
date: string; date: string;
description: string; description: string;
}; };
type Project = { export type Project = {
name: string; name: string;
link?: string; link?: string;
description: string[]; description: string[];

View File

@ -1,4 +1,6 @@
<script lang="ts"> <script lang="ts">
import type { Education } from '$lib/data/types';
let { educations }: { educations: Education[] } = $props(); let { educations }: { educations: Education[] } = $props();
</script> </script>

View File

@ -1,4 +1,7 @@
<script lang="ts"> <script lang="ts">
/* eslint svelte/no-at-html-tags: off */
import type { Experience } from '$lib/data/types';
let { experiences }: { experiences: Experience[] } = $props(); let { experiences }: { experiences: Experience[] } = $props();
</script> </script>

View File

@ -1,4 +1,6 @@
<script lang="ts"> <script lang="ts">
import type { Project } from '$lib/data/types';
let { projects }: { projects: Project[] } = $props(); let { projects }: { projects: Project[] } = $props();
</script> </script>

View File

@ -1,4 +1,5 @@
<script lang="ts"> <script lang="ts">
import type { Skill } from '$lib/data/types';
import Icon from '@iconify/svelte'; import Icon from '@iconify/svelte';
let { skills }: { skills: Skill[] } = $props(); let { skills }: { skills: Skill[] } = $props();

View File

@ -1,21 +1,21 @@
{ {
"name": "Arnaud Scheffler", "name": "Arnaud Scheffler",
"short_name": "Arnaud Scheffler", "short_name": "Arnaud Scheffler",
"icons": [ "icons": [
{ {
"src": "/web-app-manifest-192x192.png", "src": "/web-app-manifest-192x192.png",
"sizes": "192x192", "sizes": "192x192",
"type": "image/png", "type": "image/png",
"purpose": "maskable" "purpose": "maskable"
}, },
{ {
"src": "/web-app-manifest-512x512.png", "src": "/web-app-manifest-512x512.png",
"sizes": "512x512", "sizes": "512x512",
"type": "image/png", "type": "image/png",
"purpose": "maskable" "purpose": "maskable"
} }
], ],
"theme_color": "#ffffff", "theme_color": "#ffffff",
"background_color": "#ffffff", "background_color": "#ffffff",
"display": "standalone" "display": "standalone"
} }