diff --git a/src/routes/Footer.svelte b/src/lib/components/Footer.svelte similarity index 100% rename from src/routes/Footer.svelte rename to src/lib/components/Footer.svelte diff --git a/src/routes/Header.svelte b/src/lib/components/Header.svelte similarity index 89% rename from src/routes/Header.svelte rename to src/lib/components/Header.svelte index 42ea2a7..5dee0d4 100644 --- a/src/routes/Header.svelte +++ b/src/lib/components/Header.svelte @@ -20,12 +20,6 @@
  • Projects
  • -
  • - SHS -
  • -
  • - International -
  • diff --git a/src/routes/Hero.svelte b/src/lib/components/Hero.svelte similarity index 100% rename from src/routes/Hero.svelte rename to src/lib/components/Hero.svelte diff --git a/src/lib/international.ts b/src/lib/international.ts deleted file mode 100644 index 5f12189..0000000 --- a/src/lib/international.ts +++ /dev/null @@ -1,23 +0,0 @@ -import type { create_ssr_component } from 'svelte/internal'; - -export type Mdsvex = { - metadata: { - title: string; - description?: string; - date?: string; - tags?: string[]; - image?: string; - }; - default: ReturnType; -}; - -export const items = new Map( - Object.entries( - import.meta.glob('../routes/international/*/*{.md,.svelte,+page.md.index.svelte}') - ).map(([path, load]) => [ - path - .replace(/(\+page\.md|\.svelte|\/index\.md|\/index\.svelte)$/, '') - .replace(/^\.\.\/routes/, ''), - load - ]) -); diff --git a/src/lib/shs.ts b/src/lib/shs.ts deleted file mode 100644 index 0a3a47b..0000000 --- a/src/lib/shs.ts +++ /dev/null @@ -1,22 +0,0 @@ -import type { create_ssr_component } from 'svelte/internal'; - -export type Mdsvex = { - metadata: { - title: string; - description?: string; - date?: string; - tags?: string[]; - }; - default: ReturnType; -}; - -export const shs = new Map( - Object.entries( - import.meta.glob('../routes/shs/*/*{.md,.svelte,+page.md.index.svelte}') - ).map(([path, load]) => [ - path - .replace(/(\+page\.md|\.svelte|\/index\.md|\/index\.svelte)$/, '') - .replace(/^\.\.\/routes/, ''), - load - ]) -); diff --git a/src/routes/+layout.svelte b/src/routes/+layout.svelte index 70e99a0..a841848 100644 --- a/src/routes/+layout.svelte +++ b/src/routes/+layout.svelte @@ -1,6 +1,6 @@ diff --git a/src/routes/+page.svelte b/src/routes/+page.svelte index 2fe3018..47bd8c8 100644 --- a/src/routes/+page.svelte +++ b/src/routes/+page.svelte @@ -1,5 +1,5 @@ diff --git a/src/routes/international/+page.server.ts b/src/routes/international/+page.server.ts deleted file mode 100644 index c0f74d5..0000000 --- a/src/routes/international/+page.server.ts +++ /dev/null @@ -1,12 +0,0 @@ -import { items } from '$lib/international'; -import type { PageServerLoad } from './$types'; - -export const load: PageServerLoad = async () => ({ - data: await Promise.all( - [...items.entries()].map(async ([path, load]) => - load().then(({ metadata }) => ({ path, ...metadata })) - ) - ).then((data) => - data.sort(({ date: a }, { date: z }) => new Date(z ?? 0).getTime() - new Date(a ?? 0).getTime()) - ) -}); diff --git a/src/routes/international/+page.svelte b/src/routes/international/+page.svelte deleted file mode 100644 index 737e2f9..0000000 --- a/src/routes/international/+page.svelte +++ /dev/null @@ -1,34 +0,0 @@ - - - - International - - - -
    -

    International

    - -

    This is the international page.

    - -
    - -
    - {#each data.data as article} - - {/each} -
    -
    - - diff --git a/src/routes/international/+page.ts b/src/routes/international/+page.ts deleted file mode 100644 index 99d47bc..0000000 --- a/src/routes/international/+page.ts +++ /dev/null @@ -1,5 +0,0 @@ -import type { PageLoad } from './$types'; - -export const load: PageLoad = ({ data }) => ({ - ...data -}); diff --git a/src/routes/international/pomi/+page.md b/src/routes/international/pomi/+page.md deleted file mode 100644 index 49d98e3..0000000 --- a/src/routes/international/pomi/+page.md +++ /dev/null @@ -1,16 +0,0 @@ ---- -title: 👨‍💻 POMI -date: 2024-12-09 -description: POMI Module -tags: - - interculutural - - learning ---- - -
    - -
    \ No newline at end of file diff --git a/src/routes/international/trips/+page.md b/src/routes/international/trips/+page.md deleted file mode 100644 index 229e04c..0000000 --- a/src/routes/international/trips/+page.md +++ /dev/null @@ -1,16 +0,0 @@ ---- -title: ✈️ Travel Journal -date: 2024-10-24 -description: Travel Journal -tags: - - travel - - journal ---- - -
    - -
    \ No newline at end of file diff --git a/src/routes/shs/+page.server.ts b/src/routes/shs/+page.server.ts deleted file mode 100644 index 26eb0ca..0000000 --- a/src/routes/shs/+page.server.ts +++ /dev/null @@ -1,12 +0,0 @@ -import { shs } from '$lib/shs'; -import type { PageServerLoad } from './$types'; - -export const load: PageServerLoad = async () => ({ - data: await Promise.all( - [...shs.entries()].map(async ([path, load]) => - load().then(({ metadata }) => ({ path, ...metadata })) - ) - ).then((data) => - data.sort(({ date: a }, { date: z }) => new Date(z ?? 0).getTime() - new Date(a ?? 0).getTime()) - ) -}); diff --git a/src/routes/shs/+page.svelte b/src/routes/shs/+page.svelte deleted file mode 100644 index bfd6502..0000000 --- a/src/routes/shs/+page.svelte +++ /dev/null @@ -1,34 +0,0 @@ - - - - SHS - - - -
    -

    SHS

    - -

    This is a page for SHS.

    - -
    - -
    - {#each data.data as article} - - {/each} -
    -
    - - diff --git a/src/routes/shs/+page.ts b/src/routes/shs/+page.ts deleted file mode 100644 index 99d47bc..0000000 --- a/src/routes/shs/+page.ts +++ /dev/null @@ -1,5 +0,0 @@ -import type { PageLoad } from './$types'; - -export const load: PageLoad = ({ data }) => ({ - ...data -}); diff --git a/src/routes/shs/internship/+page.md b/src/routes/shs/internship/+page.md deleted file mode 100644 index a88fa54..0000000 --- a/src/routes/shs/internship/+page.md +++ /dev/null @@ -1,20 +0,0 @@ ---- -title: 🎚️ Internship report -date: 2022-11-13 -description: My internship report -tags: - - web - - svelte ---- - -During the year, I developed a website for a new association in Toulouse related to TISA (Toulouse, Computer Science, Security and Association). I developed this website using the Svelte framework because I was intrigued by its promise of performance and simplicity of development. - -During this internship, I learned to use Svelte effectively and to set up a solid project architecture. I also had to work closely with the members of the association to understand their needs and vision for the website, in order to create a final product that met their expectations. - -I started by setting up the development environment, installing all necessary tools and configuring the project. I also spent time learning the basics of Svelte and understanding how it worked. Once I had a good understanding of these concepts, I began developing the website using an iterative approach. - -For each iteration, I first defined the goals and features to be implemented, and then created a detailed work plan. I then worked on implementing these features, ensuring that I followed best practices for development and quality standards. I also spent time testing the website to ensure it was functioning properly and meeting the requirements of the association. - -During this internship, I learned to work independently and to make responsible decisions. I also learned to work as part of a team and to communicate effectively with the members of the association to understand their needs and vision. I also gained strong web development skills, particularly using Svelte, and was able to apply these skills to create a high-quality website for the association. - -In conclusion, this internship was a very enriching experience for me, both professionally and personally. I learned new skills and was able to put my knowledge into practice on a concrete project. I also had the opportunity to work with a team and to contribute to the success of a new association. diff --git a/src/routes/shs/ppp/+page.md b/src/routes/shs/ppp/+page.md deleted file mode 100644 index a7139ce..0000000 --- a/src/routes/shs/ppp/+page.md +++ /dev/null @@ -1,14 +0,0 @@ ---- -title: 👨‍💻 Projet Personnel Professionnel -date: 2022-12-31 -description: Projet Personnel Professionnel -tags: ---- - -
    - -
    diff --git a/src/routes/shs/skillmill/+page.md b/src/routes/shs/skillmill/+page.md deleted file mode 100644 index f3e33a2..0000000 --- a/src/routes/shs/skillmill/+page.md +++ /dev/null @@ -1,18 +0,0 @@ ---- -title: 🎚️ SkillMill -date: 2023-05-29 -description: SKILLMILL auto-evaluation -tags: - - skills ---- - -
    -

    -The Skillmill evaluation revealed that my top sub-skill is Continuous Learning, emphasizing my strong inclination to acquire new knowledge and adapt to evolving circumstances. -
    -Additionally, I received honorable mentions for Resource Management and Identifying Challenges. These skills were nurtured through my association with Net7, a DevOps association. -
    -Continuous Learning allows me to stay updated with industry advancements, while Resource Management enables efficient allocation of time. Identifying Challenges equips me with the ability to proactively recognize and address obstacles. These skills acquired at Net7 have significantly contributed to my personal and professional growth. -

    -SkillMill -