add new images and css
Some checks failed
pettinato.eu/cv-site/pipeline/head There was a failure building this commit

This commit is contained in:
Gianmarco Pettinato 2022-04-30 01:19:30 +02:00
parent f947c96777
commit c507c34138
38 changed files with 59 additions and 43 deletions

View File

@ -16,14 +16,14 @@
$basecolor:#E5E5E5; $basecolor:#E5E5E5;
$basecolor2:#FFFFFF; $basecolor2:#FFFFFF;
// $basecolor2:#FCA311; // $basecolor2:#FCA311;
$accent2: #FCA311; $accent2: #256EFF;
$contrast: #14213D; $contrast: #14213D;
$contrast2: #000000; $contrast2: #000000;
$img-contrast: #14213D; $img-contrast: #14213D;
$text-color: #011936; $text-color: #011936;
$border-color: #D77A61; $border-color: #256EFF;
$button-border-color: #D77A61; $button-border-color: #256EFF;
$min-tablet: 768px; $min-tablet: 768px;
$min-desktop: 1024px; $min-desktop: 1024px;
@ -67,6 +67,8 @@ $default-border-radius:5px;
} }
} }
a { a {
text-decoration:none; text-decoration:none;
color: $text-color; color: $text-color;
@ -76,4 +78,6 @@ button{
color: $text-color; color: $text-color;
} }
h1, h2, h3 {} h1, h2, h3 {
font-weight: normal;
}

View File

@ -1,7 +1,7 @@
<script lang="ts"></script> <script lang="ts"></script>
<div class="contacts"> <div class="contacts">
<img src="/profile_pic.jpg" alt="profile" class="profile" /> <img src="/profile_pic.webp" alt="profile" class="profile" />
<div class="links"> <div class="links">
<ul> <ul>
<li> <li>

View File

@ -14,7 +14,7 @@
<div class="job-container"> <div class="job-container">
<h3>{job.title[currentLanguage]}</h3> <h3>{job.title[currentLanguage]}</h3>
<div> <div class="content">
<div class="image-container"> <div class="image-container">
{#each job.images as image} {#each job.images as image}
<img src={image} alt={image} /> <img src={image} alt={image} />
@ -65,15 +65,26 @@
text-align: justify; text-align: justify;
} }
.added-info { .added-info {
margin-top: 50px;
text-align: left; text-align: left;
font-size: smaller; font-size: smaller;
} }
.content{
margin-top: 0;
}
.job-container { .job-container {
img {
background-color: $text-color;
}
display: flex;
flex-direction: column;
justify-content: space-evenly;
background-color: $basecolor2; background-color: $basecolor2;
// border: solid 1px $border-color;
border-radius: $default-border-radius; border-radius: $default-border-radius;
padding: 30px; padding: 30px;
margin: 30px; margin:30px;
@media (min-width: 1250px) {
width: 38%;
}
} }
</style> </style>

View File

@ -7,17 +7,18 @@
<div class="jobs-container"> <div class="jobs-container">
{#each jobs as job} {#each jobs as job}
<div class="item"><JobElement {job} {currentLanguage} /></div> <JobElement {job} {currentLanguage} />
{/each} {/each}
</div> </div>
<style lang="scss"> <style lang="scss">
.jobs-container { @import '../app.scss';
display: inline-grid; @media (min-width: 1250px) {
grid-template-columns: 1fr 1fr; .jobs-container {
col:nth-child(2n + 3) { display: flex;
grid-column-start: 0; justify-content: space-between;
grid-column-end: 1; flex-wrap: wrap;
} }
} }
</style> </style>

View File

@ -15,7 +15,6 @@
<a <a
use:scrollto={{ element: '#home', offset: -70 }} use:scrollto={{ element: '#home', offset: -70 }}
href="#home" href="#home"
alt={menu.home[currentLanguage]}
> >
<span class="hide">{menu.home[currentLanguage]}</span><i class="fas fa-home" /></a <span class="hide">{menu.home[currentLanguage]}</span><i class="fas fa-home" /></a
> >
@ -24,7 +23,6 @@
use:scrollto={{ element: '#jobs', offset: -70 }} use:scrollto={{ element: '#jobs', offset: -70 }}
class="menu-element" class="menu-element"
href="#jobs" href="#jobs"
alt={menu.job[currentLanguage]}
><span class="hide">{menu.job[currentLanguage]}</span><i class="fas fa-user-tie" /></a ><span class="hide">{menu.job[currentLanguage]}</span><i class="fas fa-user-tie" /></a
> >
@ -32,7 +30,6 @@
use:scrollto={{ element: '#training', offset: -70 }} use:scrollto={{ element: '#training', offset: -70 }}
class="menu-element" class="menu-element"
href="#training" href="#training"
alt={menu.school[currentLanguage]}
><span class="hide">{menu.school[currentLanguage]}</span><i ><span class="hide">{menu.school[currentLanguage]}</span><i
class="fas fa-graduation-cap" class="fas fa-graduation-cap"
/></a /></a
@ -42,7 +39,6 @@
use:scrollto={{ element: '#portfolio', offset: -70 }} use:scrollto={{ element: '#portfolio', offset: -70 }}
class="menu-element" class="menu-element"
href="#portfolio" href="#portfolio"
alt={menu.portfolio[currentLanguage]}
><span class="hide">{menu.portfolio[currentLanguage]}</span><i class="fas fa-user-clock" /></a ><span class="hide">{menu.portfolio[currentLanguage]}</span><i class="fas fa-user-clock" /></a
> >
@ -67,7 +63,6 @@
display: flex; display: flex;
} }
a { a {
border: solid $button-border-color 1px;
border-radius: $default-border-radius; border-radius: $default-border-radius;
width: 50px; width: 50px;
margin: auto; margin: auto;
@ -79,7 +74,8 @@
} }
} }
a:hover { a:hover {
background-color: $accent2; background-color: $text-color;
color: white;
} }
@media (min-width: $min-tablet) { @media (min-width: $min-tablet) {

View File

@ -26,7 +26,7 @@
"Docker", "Docker",
"AWS" "AWS"
], ],
"images":["/ALTEN.jpg"] "images":["/ALTEN.webp"]
}, },
{ {
"year": { "year": {
@ -54,7 +54,7 @@
"GitLab", "GitLab",
"Nativescript" "Nativescript"
], ],
"images":["/logo-jatus-tech.png"] "images":["/logo-jatus-tech.webp"]
}, },
{ {
"year": { "year": {
@ -78,7 +78,7 @@
"Nuxt", "Nuxt",
"Docker" "Docker"
], ],
"images":["/logo-athesys.png"] "images":["/logo-athesys.webp"]
}, },
{ {
"year": { "year": {
@ -99,7 +99,7 @@
"Composer", "Composer",
"Docker" "Docker"
], ],
"images":["/alternative-studio.png"] "images":["/alternative-studio.webp"]
}, },
{ {
"year": { "year": {
@ -114,6 +114,6 @@
"collaborators": [], "collaborators": [],
"languages": [], "languages": [],
"tecnologies": [], "tecnologies": [],
"images":["/saxonhilllogo.jpg"] "images":["/saxonhilllogo.webp"]
} }
] ]

View File

@ -18,7 +18,7 @@
"Svelte", "Svelte",
"Node.js" "Node.js"
], ],
"images":["/webpage.png"] "images":["/webpage.webp"]
}, },
{ {
"year":{ "year":{
@ -50,7 +50,7 @@
"tecnologies": [ "tecnologies": [
"QMK" "QMK"
], ],
"images":["/custom-keyboard.jpg"] "images":["/custom-keyboard.webp"]
}, },
{ {
"year":{ "year":{
@ -64,7 +64,7 @@
"collaborators":[], "collaborators":[],
"languages":["bash","python"], "languages":["bash","python"],
"tecnologies":["raspberry"], "tecnologies":["raspberry"],
"images":["/3dprinter.jpg"] "images":["/3dprinter.webp"]
},{ },{
"year":{ "year":{
"start":"2021-09-15", "start":"2021-09-15",
@ -91,7 +91,7 @@
"collaborators":[], "collaborators":[],
"languages":[], "languages":[],
"tecnologies":[], "tecnologies":[],
"images":["/workstation.jpg"] "images":["/workstation.webp"]
}, },
{ {
"year":{ "year":{
@ -147,7 +147,7 @@
"collaborators":[], "collaborators":[],
"languages":["C++"], "languages":["C++"],
"tecnologies":["Qt"], "tecnologies":["Qt"],
"images":["/QContainer.png"] "images":["/QContainer.webp"]
}, },
{ {
"year":{ "year":{
@ -160,7 +160,7 @@
"collaborators":[{"name":"Giuseppe Vito","surname":"Bitetti","ref":"https://www.linkedin.com/in/giuseppe-vito-bitetti-587751200"}, {"name":"Enrico","surname":"Buratto","ref":"https://www.linkedin.com/in/enrico-buratto-04104b151"},{"name":"Mariano","surname":"Sciacco","ref":"https://www.linkedin.com/in/marianosciacco/"}], "collaborators":[{"name":"Giuseppe Vito","surname":"Bitetti","ref":"https://www.linkedin.com/in/giuseppe-vito-bitetti-587751200"}, {"name":"Enrico","surname":"Buratto","ref":"https://www.linkedin.com/in/enrico-buratto-04104b151"},{"name":"Mariano","surname":"Sciacco","ref":"https://www.linkedin.com/in/marianosciacco/"}],
"languages":["PHP","SQL"], "languages":["PHP","SQL"],
"tecnologies":["Apache","MariaDB"], "tecnologies":["Apache","MariaDB"],
"images":["/techweb.png"] "images":["/techweb.webp"]
}, },
{ {
"year":{ "year":{

View File

@ -10,7 +10,7 @@
"collaborators": [], "collaborators": [],
"languages": [], "languages": [],
"tecnologies": [], "tecnologies": [],
"images":["unipd-universita-di-padova.png"] "images":["unipd-universita-di-padova.webp"]
}, },
{ {
"year": { "year": {
@ -24,6 +24,6 @@
"collaborators": [], "collaborators": [],
"languages": [], "languages": [],
"tecnologies": [], "tecnologies": [],
"images":["logoSeveri.png"] "images":["logoSeveri.webp"]
} }
] ]

View File

@ -3,7 +3,6 @@
import Jobs from '$elem/Jobs.svelte'; import Jobs from '$elem/Jobs.svelte';
import Menu from '$elem/Menu.svelte'; import Menu from '$elem/Menu.svelte';
import Training from '$elem/Training.svelte'; import Training from '$elem/Training.svelte';
import Contacts from '$elem/Contacts.svelte';
import Data_jobs from '../model/jobs.json'; import Data_jobs from '../model/jobs.json';
import Data_portfolio from '../model/portfolio.json'; import Data_portfolio from '../model/portfolio.json';
import type { Schema } from 'src/model/job'; import type { Schema } from 'src/model/job';
@ -12,8 +11,8 @@
let currentLanguage: string = 'it'; let currentLanguage: string = 'it';
let titles = { let titles = {
home: { home: {
it: 'Gianmarco Pettinato \n Software Developer', it: 'Gianmarco Pettinato',
en: 'Gianmarco Pettinato \n Software Developer' en: 'Gianmarco Pettinato'
}, },
job: { it: 'Esperienze', en: 'Experiences' }, job: { it: 'Esperienze', en: 'Experiences' },
school: { it: 'Formazione', en: 'Training' }, school: { it: 'Formazione', en: 'Training' },
@ -44,6 +43,7 @@
</div> </div>
<div id="home" class="default"> <div id="home" class="default">
<h1>{titles.home[currentLanguage]}</h1> <h1>{titles.home[currentLanguage]}</h1>
<h2>Software developer</h2>
<AboutMe {currentLanguage} /> <AboutMe {currentLanguage} />
</div> </div>
<div id="jobs" class="default"> <div id="jobs" class="default">
@ -63,15 +63,16 @@
<style lang="scss"> <style lang="scss">
@import '../app.scss'; @import '../app.scss';
.language-selector { .language-selector {
width: 100%; right: 0;
height: 30px; height: 30px;
text-align: center; text-align: center;
text-transform: uppercase; text-transform: uppercase;
background-color: $basecolor2;
padding-top: 10px; padding-top: 10px;
display: flex; display: flex;
flex-direction: row; flex-direction: row;
justify-content: end; justify-content: end;
position: absolute;
z-index: 999;
} }
.menu { .menu {
background-color: $basecolor2; background-color: $basecolor2;
@ -82,7 +83,7 @@
justify-content: center; justify-content: center;
align-items: center; align-items: center;
padding: 10px; padding: 10px;
border-bottom: solid black 1px; border-bottom: solid #999 1px;
} }
.custom-button { .custom-button {
@ -96,11 +97,14 @@
margin-right: 5px; margin-right: 5px;
} }
.custom-button:hover { .custom-button:hover {
background-color: $accent2;
background-color: $text-color;
color: white;
} }
.custom-button-active { .custom-button-active {
cursor: unset; cursor: unset;
background-color: $accent2; background-color: $text-color;
color: white;
} }
@media (max-width: $min-tablet) { @media (max-width: $min-tablet) {
.custom-button { .custom-button {

Binary file not shown.

Before

Width:  |  Height:  |  Size: 306 KiB

BIN
static/3dprinter.webp Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 111 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 54 KiB

BIN
static/ALTEN.webp Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 6.7 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 28 KiB

BIN
static/QContainer.webp Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 10 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 10 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.4 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 305 KiB

BIN
static/custom-keyboard.webp Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 108 KiB

BIN
static/favicon.webp Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 608 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 7.4 KiB

BIN
static/logo-athesys.webp Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.8 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 52 KiB

BIN
static/logo-jatus-tech.webp Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 4.7 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 19 KiB

BIN
static/logoSeveri.webp Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.4 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 20 KiB

BIN
static/profile_pic.webp Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 9.2 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 26 KiB

BIN
static/saxonhilllogo.webp Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 6.7 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.1 MiB

BIN
static/techweb.webp Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 115 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 31 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 92 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 281 KiB

BIN
static/webpage.webp Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 78 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 233 KiB

BIN
static/workstation.webp Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 75 KiB