From f947c967776da8e6fb27e8db919d2adb83d431ce Mon Sep 17 00:00:00 2001 From: Gianmarco Pettinato Date: Mon, 25 Apr 2022 18:34:38 +0200 Subject: [PATCH] no contatcs" --- src/app.scss | 10 +++++----- src/elements/AboutMe.svelte | 2 +- src/elements/Contacts.svelte | 8 ++------ src/elements/JobElement.svelte | 2 +- src/elements/Jobs.svelte | 15 +++++++++++++-- src/elements/Menu.svelte | 14 ++++---------- src/routes/blog.svelte | 0 src/routes/index.svelte | 13 ++++++------- 8 files changed, 32 insertions(+), 32 deletions(-) create mode 100644 src/routes/blog.svelte diff --git a/src/app.scss b/src/app.scss index 052051c..b129a22 100644 --- a/src/app.scss +++ b/src/app.scss @@ -42,14 +42,14 @@ $default-border-radius:5px; } .default{ - // margin: auto; + margin: auto; // margin-top: 50px; // margin-bottom: 50px; // text-align: center; - // @media (min-width: $min-tablet) { - // width: 80%; - // max-width: 1024px; - // } + @media (min-width: $min-tablet) { + width: 80%; + max-width: 1024px; + } } .image-container{ diff --git a/src/elements/AboutMe.svelte b/src/elements/AboutMe.svelte index 4aa704b..340d52a 100644 --- a/src/elements/AboutMe.svelte +++ b/src/elements/AboutMe.svelte @@ -58,7 +58,7 @@ } .aboutMe { background-color: $basecolor2; - border: solid 1px $border-color; + // border: solid 1px $border-color; border-radius: $default-border-radius; padding: 30px; margin: 30px; diff --git a/src/elements/Contacts.svelte b/src/elements/Contacts.svelte index 63e8844..d25d012 100644 --- a/src/elements/Contacts.svelte +++ b/src/elements/Contacts.svelte @@ -29,11 +29,11 @@ img.profile { border-radius: 50%; max-width: 150px; - border: solid 1px $border-color; + // border: solid 1px $border-color; } .contacts { background-color: $basecolor2; - border: solid 1px $border-color; + // border: solid 1px $border-color; border-radius: $default-border-radius; padding: 30px; margin: 30px; @@ -43,10 +43,6 @@ align-items: center; margin: auto; } - - .contacts:last-of-type { - width: 86%; - } .links { text-align: left; ul { diff --git a/src/elements/JobElement.svelte b/src/elements/JobElement.svelte index b570635..6a7e0d7 100644 --- a/src/elements/JobElement.svelte +++ b/src/elements/JobElement.svelte @@ -71,7 +71,7 @@ } .job-container { background-color: $basecolor2; - border: solid 1px $border-color; + // border: solid 1px $border-color; border-radius: $default-border-radius; padding: 30px; margin: 30px; diff --git a/src/elements/Jobs.svelte b/src/elements/Jobs.svelte index 1ff5be3..2f0cd22 100644 --- a/src/elements/Jobs.svelte +++ b/src/elements/Jobs.svelte @@ -5,8 +5,19 @@ export let jobs: Schema[] = []; -
+
{#each jobs as job} - +
{/each}
+ + diff --git a/src/elements/Menu.svelte b/src/elements/Menu.svelte index a27c65b..b84e194 100644 --- a/src/elements/Menu.svelte +++ b/src/elements/Menu.svelte @@ -5,7 +5,7 @@ home: { it: 'Home', en: 'Home' }, job: { it: 'Esperienze', en: 'Experiences' }, school: { it: 'Formazione', en: 'Training' }, - contacts: { it: 'Contatti', en: 'Contacts' }, + blog: { it: 'Blog', en: 'Blog' }, portfolio: { it: 'Portfolio', en: 'Portfolio' } }; @@ -46,15 +46,9 @@ >{menu.portfolio[currentLanguage]} - {menu.contacts[currentLanguage]} +
diff --git a/src/routes/blog.svelte b/src/routes/blog.svelte new file mode 100644 index 0000000..e69de29 diff --git a/src/routes/index.svelte b/src/routes/index.svelte index 362fd0a..c27fcd6 100644 --- a/src/routes/index.svelte +++ b/src/routes/index.svelte @@ -42,7 +42,6 @@ -

{titles.home[currentLanguage]}

@@ -59,10 +58,6 @@

{titles.portfolio[currentLanguage]}

-
-

{titles.contacts[currentLanguage]}

- -