reverted to static data
This commit is contained in:
parent
8b8699d1fe
commit
1f496362c3
@ -90,17 +90,17 @@
|
||||
}
|
||||
|
||||
.contacts>ul{
|
||||
// list-style: none;
|
||||
// width: 35vw;
|
||||
|
||||
|
||||
margin: unset;
|
||||
}
|
||||
|
||||
// .job-content{
|
||||
// flex-wrap: unset;
|
||||
|
||||
// }
|
||||
|
||||
// .text-content{
|
||||
// width: 35vw;
|
||||
|
||||
// }
|
||||
}
|
||||
</style>
|
@ -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
|
||||
}
|
||||
|
@ -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{
|
||||
|
@ -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
|
||||
}
|
||||
|
@ -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;
|
||||
}
|
||||
|
||||
|
@ -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;
|
||||
}
|
||||
|
||||
|
@ -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;
|
||||
}
|
||||
|
||||
|
@ -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;
|
||||
}
|
||||
|
||||
|
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
@ -1,4 +1,3 @@
|
||||
// @import url(./static/colors.scss);
|
||||
|
||||
.box-with-shadow {
|
||||
background-color: $cultured;
|
||||
|
@ -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);
|
||||
}
|
Loading…
Reference in New Issue
Block a user