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
# 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

View File

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

View File

@ -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: [

View File

@ -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[];

View File

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

View File

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

View File

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

View File

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

View File

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