diff --git a/src/elements/contacts.svelte b/src/elements/contacts.svelte index 8b49a0d..f75e1f2 100644 --- a/src/elements/contacts.svelte +++ b/src/elements/contacts.svelte @@ -90,17 +90,17 @@ } .contacts>ul{ - // list-style: none; - // width: 35vw; + + margin: unset; } // .job-content{ - // flex-wrap: unset; + // } // .text-content{ - // width: 35vw; + // } } \ No newline at end of file diff --git a/src/elements/jobs.svelte b/src/elements/jobs.svelte index cae2176..d7b3b89 100644 --- a/src/elements/jobs.svelte +++ b/src/elements/jobs.svelte @@ -9,13 +9,8 @@ import data from '../model/jobs.json' import type { Schema } from 'src/model/job'; export let currentLanguage = 'it' - // const jobs:Schema[] = data as Schema[]; - let jobs:Schema[] = data as Schema[]; - fetch('/data/jobs.json').then(async (resp)=>{ - jobs = (await resp.json()) as Schema[]; - }).catch(console.error); - - + const jobs:Schema[] = data as Schema[]; + export function changeLanguage(language = 'it'){ currentLanguage = language } diff --git a/src/elements/portfolio.svelte b/src/elements/portfolio.svelte index 8634681..f67d148 100644 --- a/src/elements/portfolio.svelte +++ b/src/elements/portfolio.svelte @@ -9,11 +9,7 @@ import data from '../model/portfolio.json' import type { Schema } from 'src/model/job'; export let currentLanguage = 'it' - // let portfolio:Schema[] = data as Schema[]; - let portfolio:Schema[] = []; - fetch('/data/portfolio.json').then(async (resp)=>{ - portfolio = (await resp.json()) as Schema[]; - }).catch(console.error); + let portfolio:Schema[] = data as Schema[]; export function changeLanguage(language = 'it'){ currentLanguage = language @@ -96,7 +92,7 @@ margin: auto; margin-bottom: 2vh; max-width: 100%; - // max-height: 250px; + } .content{ diff --git a/src/elements/training.svelte b/src/elements/training.svelte index 7043404..092ef6b 100644 --- a/src/elements/training.svelte +++ b/src/elements/training.svelte @@ -8,11 +8,7 @@ import data from '../model/training.json' import type { Schema } from 'src/model/job'; export let currentLanguage = 'it' - let training:Schema[] = []; - fetch('/data/training.json').then(async (resp)=>{ - training = (await resp.json()) as Schema[]; - }).catch(console.error); - + const training:Schema[] = data as Schema[]; export function changeLanguage(language = 'it'){ currentLanguage = language } diff --git a/src/routes/index.svelte b/src/routes/index.svelte index f22ddc3..03cf554 100644 --- a/src/routes/index.svelte +++ b/src/routes/index.svelte @@ -60,7 +60,7 @@ font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif; height: 100vh; overflow: auto; - // padding-bottom: 3vh; + } .language-selector { @@ -83,7 +83,7 @@ margin-bottom: 4vh; } .content{ - // padding-top: 2vh; + margin-bottom: 4vh; } diff --git a/src/routes/jobs.svelte b/src/routes/jobs.svelte index afdb756..829c335 100644 --- a/src/routes/jobs.svelte +++ b/src/routes/jobs.svelte @@ -35,7 +35,7 @@ font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif; height: 100vh; overflow: auto; - // padding-bottom: 3vh; + } .language-selector { @@ -53,7 +53,7 @@ margin-right: 20px ; } .content{ - // padding-top: 2vh; + margin-bottom: 2vh; } diff --git a/src/routes/portfolio.svelte b/src/routes/portfolio.svelte index 94b0560..49ee3cb 100644 --- a/src/routes/portfolio.svelte +++ b/src/routes/portfolio.svelte @@ -35,7 +35,7 @@ font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif; height: 100vh; overflow: auto; - // padding-bottom: 3vh; + } .language-selector { @@ -54,7 +54,7 @@ } .content{ - // padding-top: 2vh; + margin-bottom: 2vh; } diff --git a/src/routes/training.svelte b/src/routes/training.svelte index 012332e..1704603 100644 --- a/src/routes/training.svelte +++ b/src/routes/training.svelte @@ -35,7 +35,7 @@ font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif; height: 100vh; overflow: auto; - // padding-bottom: 3vh; + } .language-selector { @@ -54,7 +54,7 @@ } .content{ - // padding-top: 2vh; + margin-bottom: 2vh; } diff --git a/static/Exo2-BlackCondensed.otf b/static/Exo2-BlackCondensed.otf deleted file mode 100755 index 1d7d430..0000000 Binary files a/static/Exo2-BlackCondensed.otf and /dev/null differ diff --git a/static/Exo2-BoldCondensed.otf b/static/Exo2-BoldCondensed.otf deleted file mode 100755 index 1c78c89..0000000 Binary files a/static/Exo2-BoldCondensed.otf and /dev/null differ diff --git a/static/Exo2-ExtraBoldCondensed.otf b/static/Exo2-ExtraBoldCondensed.otf deleted file mode 100755 index 504a05d..0000000 Binary files a/static/Exo2-ExtraBoldCondensed.otf and /dev/null differ diff --git a/static/Exo2-ExtraLightCondensed.otf b/static/Exo2-ExtraLightCondensed.otf deleted file mode 100755 index fd365a9..0000000 Binary files a/static/Exo2-ExtraLightCondensed.otf and /dev/null differ diff --git a/static/Exo2-LightCondensed.otf b/static/Exo2-LightCondensed.otf deleted file mode 100755 index 5c7fb79..0000000 Binary files a/static/Exo2-LightCondensed.otf and /dev/null differ diff --git a/static/Exo2-MediumCondensed.otf b/static/Exo2-MediumCondensed.otf deleted file mode 100755 index b723418..0000000 Binary files a/static/Exo2-MediumCondensed.otf and /dev/null differ diff --git a/static/Exo2-RegularCondensed.otf b/static/Exo2-RegularCondensed.otf deleted file mode 100755 index 491a432..0000000 Binary files a/static/Exo2-RegularCondensed.otf and /dev/null differ diff --git a/static/Exo2-SemiBoldCondensed.otf b/static/Exo2-SemiBoldCondensed.otf deleted file mode 100755 index 832e1b4..0000000 Binary files a/static/Exo2-SemiBoldCondensed.otf and /dev/null differ diff --git a/static/Exo2-ThinCondensed.otf b/static/Exo2-ThinCondensed.otf deleted file mode 100755 index 4c99a66..0000000 Binary files a/static/Exo2-ThinCondensed.otf and /dev/null differ diff --git a/static/elements.scss b/static/elements.scss index 1a876bf..6b92560 100644 --- a/static/elements.scss +++ b/static/elements.scss @@ -1,4 +1,3 @@ -// @import url(./static/colors.scss); .box-with-shadow { background-color: $cultured; diff --git a/static/fonts.scss b/static/fonts.scss deleted file mode 100644 index 83d21e9..0000000 --- a/static/fonts.scss +++ /dev/null @@ -1,39 +0,0 @@ -@font-face { - font-family: Exo2-BlackCondensed; - src: url(Exo2-BlackCondensed.otf); -} - -@font-face { - font-family: Exo2-BoldCondensed; - src: url(Exo2-BoldCondensed.otf); -} - -@font-face { - font-family: Exo2-ExtraBoldCondensed; - src: url(Exo2-ExtraBoldCondensed.otf); -} - -@font-face { - font-family: Exo2-ExtraLightCondensed; - src: url(Exo2-ExtraLightCondensed.otf); -} - -@font-face { - font-family: Exo2-MediumCondensed; - src: url(Exo2-MediumCondensed.otf); -} - -@font-face { - font-family: Exo2-RegularCondensed; - src: url(Exo2-RegularCondensed.otf); -} - -@font-face { - font-family: Exo2-SemiBoldCondensed; - src: url(Exo2-SemiBoldCondensed.otf); -} - -@font-face { - font-family: Exo2-ThinCondensed; - src: url(Exo2-ThinCondensed.otf); -} \ No newline at end of file