reverted to static data
This commit is contained in:
parent
8b8699d1fe
commit
1f496362c3
@ -90,17 +90,17 @@
|
|||||||
}
|
}
|
||||||
|
|
||||||
.contacts>ul{
|
.contacts>ul{
|
||||||
// list-style: none;
|
|
||||||
// width: 35vw;
|
|
||||||
margin: unset;
|
margin: unset;
|
||||||
}
|
}
|
||||||
|
|
||||||
// .job-content{
|
// .job-content{
|
||||||
// flex-wrap: unset;
|
|
||||||
// }
|
// }
|
||||||
|
|
||||||
// .text-content{
|
// .text-content{
|
||||||
// width: 35vw;
|
|
||||||
// }
|
// }
|
||||||
}
|
}
|
||||||
</style>
|
</style>
|
@ -9,13 +9,8 @@
|
|||||||
import data from '../model/jobs.json'
|
import data from '../model/jobs.json'
|
||||||
import type { Schema } from 'src/model/job';
|
import type { Schema } from 'src/model/job';
|
||||||
export let currentLanguage = 'it'
|
export let currentLanguage = 'it'
|
||||||
// const jobs:Schema[] = data as Schema[];
|
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);
|
|
||||||
|
|
||||||
|
|
||||||
export function changeLanguage(language = 'it'){
|
export function changeLanguage(language = 'it'){
|
||||||
currentLanguage = language
|
currentLanguage = language
|
||||||
}
|
}
|
||||||
|
@ -9,11 +9,7 @@
|
|||||||
import data from '../model/portfolio.json'
|
import data from '../model/portfolio.json'
|
||||||
import type { Schema } from 'src/model/job';
|
import type { Schema } from 'src/model/job';
|
||||||
export let currentLanguage = 'it'
|
export let currentLanguage = 'it'
|
||||||
// let portfolio:Schema[] = data as Schema[];
|
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);
|
|
||||||
|
|
||||||
export function changeLanguage(language = 'it'){
|
export function changeLanguage(language = 'it'){
|
||||||
currentLanguage = language
|
currentLanguage = language
|
||||||
@ -96,7 +92,7 @@
|
|||||||
margin: auto;
|
margin: auto;
|
||||||
margin-bottom: 2vh;
|
margin-bottom: 2vh;
|
||||||
max-width: 100%;
|
max-width: 100%;
|
||||||
// max-height: 250px;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
.content{
|
.content{
|
||||||
|
@ -8,11 +8,7 @@
|
|||||||
import data from '../model/training.json'
|
import data from '../model/training.json'
|
||||||
import type { Schema } from 'src/model/job';
|
import type { Schema } from 'src/model/job';
|
||||||
export let currentLanguage = 'it'
|
export let currentLanguage = 'it'
|
||||||
let training:Schema[] = [];
|
const training:Schema[] = data as Schema[];
|
||||||
fetch('/data/training.json').then(async (resp)=>{
|
|
||||||
training = (await resp.json()) as Schema[];
|
|
||||||
}).catch(console.error);
|
|
||||||
|
|
||||||
export function changeLanguage(language = 'it'){
|
export function changeLanguage(language = 'it'){
|
||||||
currentLanguage = language
|
currentLanguage = language
|
||||||
}
|
}
|
||||||
|
@ -60,7 +60,7 @@
|
|||||||
font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
|
font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
|
||||||
height: 100vh;
|
height: 100vh;
|
||||||
overflow: auto;
|
overflow: auto;
|
||||||
// padding-bottom: 3vh;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
.language-selector {
|
.language-selector {
|
||||||
@ -83,7 +83,7 @@
|
|||||||
margin-bottom: 4vh;
|
margin-bottom: 4vh;
|
||||||
}
|
}
|
||||||
.content{
|
.content{
|
||||||
// padding-top: 2vh;
|
|
||||||
margin-bottom: 4vh;
|
margin-bottom: 4vh;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -35,7 +35,7 @@
|
|||||||
font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
|
font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
|
||||||
height: 100vh;
|
height: 100vh;
|
||||||
overflow: auto;
|
overflow: auto;
|
||||||
// padding-bottom: 3vh;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
.language-selector {
|
.language-selector {
|
||||||
@ -53,7 +53,7 @@
|
|||||||
margin-right: 20px ;
|
margin-right: 20px ;
|
||||||
}
|
}
|
||||||
.content{
|
.content{
|
||||||
// padding-top: 2vh;
|
|
||||||
margin-bottom: 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;
|
font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
|
||||||
height: 100vh;
|
height: 100vh;
|
||||||
overflow: auto;
|
overflow: auto;
|
||||||
// padding-bottom: 3vh;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
.language-selector {
|
.language-selector {
|
||||||
@ -54,7 +54,7 @@
|
|||||||
}
|
}
|
||||||
|
|
||||||
.content{
|
.content{
|
||||||
// padding-top: 2vh;
|
|
||||||
margin-bottom: 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;
|
font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
|
||||||
height: 100vh;
|
height: 100vh;
|
||||||
overflow: auto;
|
overflow: auto;
|
||||||
// padding-bottom: 3vh;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
.language-selector {
|
.language-selector {
|
||||||
@ -54,7 +54,7 @@
|
|||||||
}
|
}
|
||||||
|
|
||||||
.content{
|
.content{
|
||||||
// padding-top: 2vh;
|
|
||||||
margin-bottom: 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 {
|
.box-with-shadow {
|
||||||
background-color: $cultured;
|
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