diff --git a/src/lib/files/PPP.pdf b/src/lib/files/PPP.pdf new file mode 100644 index 0000000..ed56a86 Binary files /dev/null and b/src/lib/files/PPP.pdf differ diff --git a/src/lib/mardown/Layout.svelte b/src/lib/mardown/Layout.svelte new file mode 100644 index 0000000..5e83784 --- /dev/null +++ b/src/lib/mardown/Layout.svelte @@ -0,0 +1,7 @@ + + +

{title}

+ + \ No newline at end of file diff --git a/src/routes/Header.svelte b/src/routes/Header.svelte index e117892..1da0f66 100644 --- a/src/routes/Header.svelte +++ b/src/routes/Header.svelte @@ -53,7 +53,8 @@ display: flex; background-color: white; justify-content: space-between; - width: 80%; + width: 100%; + max-width: 64rem; margin: 0 auto; position: relative; top: 20px; @@ -132,4 +133,14 @@ background-color: var(--color-bg-nav); border-radius: 5px; } + + @media (max-width: 600px) { + .header { + flex-direction: column; + } + + .corner { + display: none; + } + } diff --git a/src/routes/Hero.svelte b/src/routes/Hero.svelte index e701812..4c86b36 100644 --- a/src/routes/Hero.svelte +++ b/src/routes/Hero.svelte @@ -42,5 +42,18 @@ max-width: 300px; height: 100%; border-radius: 5%; + display: block; + margin: 0 auto; + } + + @media (max-width: 768px) { + .hero { + flex-direction: column; + align-items: center; + } + + .hero img { + max-width: 80%; + } } diff --git a/src/routes/shs/internship/+page.md b/src/routes/shs/internship/+page.md index 51c676e..a88fa54 100644 --- a/src/routes/shs/internship/+page.md +++ b/src/routes/shs/internship/+page.md @@ -7,8 +7,6 @@ tags: - svelte --- -# Internship report - 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. diff --git a/src/routes/shs/ppp/+page.md b/src/routes/shs/ppp/+page.md new file mode 100644 index 0000000..9322c60 --- /dev/null +++ b/src/routes/shs/ppp/+page.md @@ -0,0 +1,20 @@ +--- +title: 👨‍💻 Projet Personnel Professionnel +date: 2022-12-31 +description: PPP +tags: +--- + + + + + + \ No newline at end of file diff --git a/svelte.config.js b/svelte.config.js index b31732f..0774496 100644 --- a/svelte.config.js +++ b/svelte.config.js @@ -10,7 +10,8 @@ const config = { preprocess: [ vitePreprocess(), mdsvex({ - extensions: ['.md'] + extensions: ['.md'], + layout: "src/lib/mardown/Layout.svelte" }) ],