removed unsued routes
This commit is contained in:
parent
233dfa7b0f
commit
90063b213a
@ -1,73 +0,0 @@
|
||||
<script lang="ts">
|
||||
import Menu from "$elem/Menu.svelte";
|
||||
import Jobs from '$elem/Jobs.svelte';
|
||||
let menuHandler: Menu;
|
||||
let jobsHandler: Jobs;
|
||||
let currentLanguage: string ='it';
|
||||
function changeLanguage(language:string){
|
||||
console.log(language);
|
||||
menuHandler.changeLanguage(language);
|
||||
jobsHandler.changeLanguage(language);
|
||||
}
|
||||
let titles = {home:{it:"Home",en:"Home"},
|
||||
job:{it:"Esperienze",en:"Experiences"},
|
||||
school:{it:"Formazione",en:"Training"},
|
||||
contacts:{it:"Contatti",en:"Contacts"},
|
||||
portfolio:{it:"Portfolio",en:"Portfolio"}}
|
||||
</script>
|
||||
<main class="maindiv">
|
||||
<!-- svelte-ignore a11y-invalid-attribute -->
|
||||
<div class="language-selector" id="language-selector"> <a href="#" on:click={()=>{changeLanguage('it')}}>IT</a> <a href="#" on:click={()=>{changeLanguage('en')}}>EN</a> </div>
|
||||
<div class="menu">
|
||||
<Menu bind:this="{menuHandler}"/>
|
||||
</div>
|
||||
<div class="content" id="portfolio">
|
||||
<h2>{titles.portfolio[currentLanguage]}</h2>
|
||||
<Jobs bind:this="{jobsHandler}"/>
|
||||
</div>
|
||||
</main>
|
||||
<style lang="scss">
|
||||
@import "./static/colors.scss";
|
||||
.maindiv {
|
||||
background-color: $middle-blue-green;
|
||||
margin: 0;
|
||||
color: $rich-black-fogra-29;
|
||||
font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
|
||||
height: 100vh;
|
||||
overflow: auto;
|
||||
|
||||
}
|
||||
|
||||
.language-selector {
|
||||
width: 100%;
|
||||
color: $rich-black-fogra-29;
|
||||
display: flex;
|
||||
justify-content: flex-end;
|
||||
background-color: $steel-blue;
|
||||
}
|
||||
|
||||
.language-selector > a, .language-selector > a:visited {
|
||||
text-decoration: none;
|
||||
color: $rich-black-fogra-29;
|
||||
font-size: 16px;
|
||||
margin-right: 20px ;
|
||||
}
|
||||
.content{
|
||||
|
||||
margin-bottom: 2vh;
|
||||
}
|
||||
|
||||
h2{
|
||||
width: 100%;
|
||||
text-align: center;
|
||||
}
|
||||
|
||||
.menu {
|
||||
width: 100%;
|
||||
position: -webkit-sticky; /* Safari */
|
||||
position: sticky;
|
||||
bottom: 0;
|
||||
top: 0;
|
||||
}
|
||||
|
||||
</style>
|
@ -1,74 +0,0 @@
|
||||
<script lang="ts">
|
||||
import Menu from "$elem/Menu.svelte";
|
||||
import Portfolio from '$elem/Portfolio.svelte';
|
||||
let menuHandler: Menu;
|
||||
let portfolioHandler: Portfolio;
|
||||
let currentLanguage: string ='it';
|
||||
function changeLanguage(language:string){
|
||||
console.log(language);
|
||||
menuHandler.changeLanguage(language);
|
||||
portfolioHandler.changeLanguage(language);
|
||||
}
|
||||
let titles = {home:{it:"Home",en:"Home"},
|
||||
job:{it:"Esperienze",en:"Experiences"},
|
||||
school:{it:"Formazione",en:"Training"},
|
||||
contacts:{it:"Contatti",en:"Contacts"},
|
||||
portfolio:{it:"Portfolio",en:"Portfolio"}}
|
||||
</script>
|
||||
<main class="maindiv">
|
||||
<!-- svelte-ignore a11y-invalid-attribute -->
|
||||
<div class="language-selector" id="language-selector"> <a href="#" on:click={()=>{changeLanguage('it')}}>IT</a> <a href="#" on:click={()=>{changeLanguage('en')}}>EN</a> </div>
|
||||
<div class="menu">
|
||||
<Menu bind:this="{menuHandler}"/>
|
||||
</div>
|
||||
<div class="content" id="portfolio">
|
||||
<h2>{titles.portfolio[currentLanguage]}</h2>
|
||||
<Portfolio bind:this="{portfolioHandler}"/>
|
||||
</div>
|
||||
</main>
|
||||
<style lang="scss">
|
||||
@import "./static/colors.scss";
|
||||
.maindiv {
|
||||
background-color: $middle-blue-green;
|
||||
margin: 0;
|
||||
color: $rich-black-fogra-29;
|
||||
font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
|
||||
height: 100vh;
|
||||
overflow: auto;
|
||||
|
||||
}
|
||||
|
||||
.language-selector {
|
||||
width: 100%;
|
||||
color: $rich-black-fogra-29;
|
||||
display: flex;
|
||||
justify-content: flex-end;
|
||||
background-color: $steel-blue;
|
||||
}
|
||||
|
||||
.language-selector > a, .language-selector > a:visited {
|
||||
text-decoration: none;
|
||||
color: $rich-black-fogra-29;
|
||||
font-size: 16px;
|
||||
margin-right: 20px ;
|
||||
}
|
||||
|
||||
.content{
|
||||
|
||||
margin-bottom: 2vh;
|
||||
}
|
||||
|
||||
h2{
|
||||
width: 100%;
|
||||
text-align: center;
|
||||
}
|
||||
|
||||
.menu {
|
||||
width: 100%;
|
||||
position: -webkit-sticky; /* Safari */
|
||||
position: sticky;
|
||||
bottom: 0;
|
||||
top: 0;
|
||||
}
|
||||
|
||||
</style>
|
@ -1,74 +0,0 @@
|
||||
<script lang="ts">
|
||||
import Menu from "$elem/Menu.svelte";
|
||||
import Training from '$elem/Training.svelte';
|
||||
let menuHandler: Menu;
|
||||
let trainingHandler: Training;
|
||||
let currentLanguage: string ='it';
|
||||
function changeLanguage(language:string){
|
||||
console.log(language);
|
||||
menuHandler.changeLanguage(language);
|
||||
trainingHandler.changeLanguage(language);
|
||||
}
|
||||
let titles = {home:{it:"Home",en:"Home"},
|
||||
job:{it:"Esperienze",en:"Experiences"},
|
||||
school:{it:"Formazione",en:"Training"},
|
||||
contacts:{it:"Contatti",en:"Contacts"},
|
||||
portfolio:{it:"Portfolio",en:"Portfolio"}}
|
||||
</script>
|
||||
<main class="maindiv">
|
||||
<!-- svelte-ignore a11y-invalid-attribute -->
|
||||
<div class="language-selector" id="language-selector"> <a href="#" on:click={()=>{changeLanguage('it')}}>IT</a> <a href="#" on:click={()=>{changeLanguage('en')}}>EN</a> </div>
|
||||
<div class="menu">
|
||||
<Menu bind:this="{menuHandler}"/>
|
||||
</div>
|
||||
<div class="content" id="school">
|
||||
<h2>{titles.school[currentLanguage]}</h2>
|
||||
<Training bind:this="{trainingHandler}"/>
|
||||
</div>
|
||||
</main>
|
||||
<style lang="scss">
|
||||
@import "./static/colors.scss";
|
||||
.maindiv {
|
||||
background-color: $middle-blue-green;
|
||||
margin: 0;
|
||||
color: $rich-black-fogra-29;
|
||||
font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
|
||||
height: 100vh;
|
||||
overflow: auto;
|
||||
|
||||
}
|
||||
|
||||
.language-selector {
|
||||
width: 100%;
|
||||
color: $rich-black-fogra-29;
|
||||
display: flex;
|
||||
justify-content: flex-end;
|
||||
background-color: $steel-blue;
|
||||
}
|
||||
|
||||
.language-selector > a, .language-selector > a:visited {
|
||||
text-decoration: none;
|
||||
color: $rich-black-fogra-29;
|
||||
font-size: 16px;
|
||||
margin-right: 20px ;
|
||||
}
|
||||
|
||||
.content{
|
||||
|
||||
margin-bottom: 2vh;
|
||||
}
|
||||
|
||||
h2{
|
||||
width: 100%;
|
||||
text-align: center;
|
||||
}
|
||||
|
||||
.menu {
|
||||
width: 100%;
|
||||
position: -webkit-sticky; /* Safari */
|
||||
position: sticky;
|
||||
bottom: 0;
|
||||
top: 0;
|
||||
}
|
||||
|
||||
</style>
|
Loading…
Reference in New Issue
Block a user