diff --git a/src/elements/aboutMe.svelte b/src/elements/aboutMe.svelte index c7ddbb7..a9bdb79 100644 --- a/src/elements/aboutMe.svelte +++ b/src/elements/aboutMe.svelte @@ -1,43 +1,80 @@
- profile -
-

Gianmarco Pettinato

-

Back-end developer GNU/Linux user

-
- - - - +
profile +
+

Gianmarco Pettinato

+
+ + + + + + +
+
+
+

+ {who[currentLanguage]} +

+
+
+ curriculum_it.pdf
\ No newline at end of file diff --git a/src/elements/contacts.svelte b/src/elements/contacts.svelte new file mode 100644 index 0000000..92d996b --- /dev/null +++ b/src/elements/contacts.svelte @@ -0,0 +1,107 @@ + +
+
+
profile
+ +
+
+ \ No newline at end of file diff --git a/src/elements/extra.svelte b/src/elements/extra.svelte new file mode 100644 index 0000000..71dc9b0 --- /dev/null +++ b/src/elements/extra.svelte @@ -0,0 +1,105 @@ + +
+ {#each hobbies as hobby } +
+

{hobby.title[currentLanguage]}

+
+ {#each hobby.images as image} + {hobby.title[currentLanguage].toString()} + {/each} +
+
+ {hobby.content[currentLanguage]} +
+
+ {#each hobby.tecnologies as tecnology } + {tecnology+" "} + {/each} +
+
+ {/each} +
+ \ No newline at end of file diff --git a/src/elements/header.svelte b/src/elements/header.svelte deleted file mode 100644 index 1be6924..0000000 --- a/src/elements/header.svelte +++ /dev/null @@ -1,12 +0,0 @@ - -
- -
- \ No newline at end of file diff --git a/src/elements/jobs.svelte b/src/elements/jobs.svelte index a142aa7..d67dac3 100644 --- a/src/elements/jobs.svelte +++ b/src/elements/jobs.svelte @@ -1,45 +1,45 @@
- {#each jobs as job } + {#each jobs as job, index }
-

{job.title[currentLanguage]}

-
- {job.year.start} - {job.year.end} -
+

{job.title[currentLanguage]}

{#each job.images as image } realtive to the article {/each}
-
+

{job.content[currentLanguage]}

-
-
- {#each job.collaborators as collaborator} - {collaborator.name}{collaborator.surname} - {/each} -
-
- {#each job.languages as language} - {language+" "} - {/each} -
-
- {#each job.tecnologies as tecnology} - {tecnology+" "} - {/each} -
-
+
+
+
+
+ {job.year.start} - {job.year.end} +
+
+ {#each job.collaborators as collaborator} + {collaborator.name}{collaborator.surname} + {/each} +
+
+ {#each job.languages as language} + {language+" "} + {/each} +
+
+ {#each job.tecnologies as tecnology} + {tecnology+" "} + {/each}
@@ -47,8 +47,17 @@
\ No newline at end of file + + @media screen and (min-width: 600px) { + .jobsContainer{ + display: flex; + height: auto; + max-width: $cv-max-width; + width: 80vw; + } + + .job-content{ + flex-wrap: unset; + } + + .text-content{ + width: 35vw; + } + } + + diff --git a/src/elements/menu.svelte b/src/elements/menu.svelte new file mode 100644 index 0000000..9ccb9cd --- /dev/null +++ b/src/elements/menu.svelte @@ -0,0 +1,88 @@ + + + + + \ No newline at end of file diff --git a/src/elements/training.svelte b/src/elements/training.svelte new file mode 100644 index 0000000..b6f5c11 --- /dev/null +++ b/src/elements/training.svelte @@ -0,0 +1,66 @@ + +
+
+

+ Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Dui faucibus in ornare quam viverra orci sagittis. Purus gravida quis blandit turpis cursus in. At imperdiet dui accumsan sit amet nulla facilisi morbi tempus. Suspendisse faucibus interdum posuere lorem ipsum dolor sit amet consectetur. Eget aliquet nibh praesent tristique magna. Facilisis gravida neque convallis a cras semper auctor neque vitae. Lectus sit amet est placerat in egestas erat. Lorem ipsum dolor sit amet consectetur. Commodo nulla facilisi nullam vehicula ipsum a arcu. Blandit volutpat maecenas volutpat blandit aliquam etiam erat velit. Diam maecenas ultricies mi eget. Sapien eget mi proin sed libero enim sed faucibus. Vitae purus faucibus ornare suspendisse. Sit amet luctus venenatis lectus. Praesent tristique magna sit amet purus gravida quis blandit. Nunc mattis enim ut tellus. Egestas diam in arcu cursus. At lectus urna duis convallis convallis tellus id. Nunc pulvinar sapien et ligula ullamcorper. Tristique senectus et netus et malesuada fames ac turpis. Malesuada fames ac turpis egestas. Lectus nulla at volutpat diam ut venenatis. Diam donec adipiscing tristique risus nec feugiat. Non quam lacus suspendisse faucibus. Volutpat sed cras ornare arcu dui vivamus. Quam elementum pulvinar etiam non quam lacus. +

+
+
+ \ No newline at end of file diff --git a/src/model/data.json b/src/model/data.json deleted file mode 100644 index 044bd01..0000000 --- a/src/model/data.json +++ /dev/null @@ -1,93 +0,0 @@ -[ - { - "year": { - "start": "2021-10-01", - "end": "2021-10-02" - }, - "title": {"en":"This web site","it":"Questo sito web"}, - "content": {"en":"I'have created this web site as CV","it":"Ho creato questo sito web per raccogliere, in maniera semplice ed efficiente, tutti i miei lavori ed esperienze. Ho realizzato questa pagina utilizzando Typescript con il framework Svelte e le classi css invece le ho gestite a mano"}, - "collaborators": [], - "languages": [ - "typescript", - "JSON-schema" - ], - "tecnologies": [ - "Svelte", - "Nodejs" - ], - "images":["https://via.placeholder.com/500"] - }, - { - "year": { - "start": "2021-10-01", - "end": "2021-10-02" - }, - "title": {"en":"This web site","it":"Questo sito web"}, - "content": {"en":"I'have created this web site as CV","it":"Ho creato questo sito web per raccogliere, in maniera semplice ed efficiente, tutti i miei lavori ed esperienze. Ho realizzato questa pagina utilizzando Typescript con il framework Svelte e le classi css invece le ho gestite a mano"}, - "collaborators": [], - "languages": [ - "typescript", - "JSON-schema" - ], - "tecnologies": [ - "Svelte", - "Nodejs" - ], - "images":["https://via.placeholder.com/500"] - }, - { - "year": { - "start": "2021-10-01", - "end": "2021-10-02" - }, - "title": {"en":"This web site","it":"Questo sito web"}, - "content": {"en":"I'have created this web site as CV","it":"Ho creato questo sito web per raccogliere, in maniera semplice ed efficiente, tutti i miei lavori ed esperienze. Ho realizzato questa pagina utilizzando Typescript con il framework Svelte e le classi css invece le ho gestite a mano"}, - "collaborators": [], - "languages": [ - "typescript", - "JSON-schema" - ], - "tecnologies": [ - "Svelte", - "Nodejs" - ], - "images":["https://via.placeholder.com/500"] - }, - { - "year": { - "start": "2021-10-01", - "end": "2021-10-02" - }, - "title": {"en":"This web site","it":"Questo sito web"}, - "content": {"en":"I'have created this web site as CV","it":"Ho creato questo sito web per raccogliere, in maniera semplice ed efficiente, tutti i miei lavori ed esperienze. Ho realizzato questa pagina utilizzando Typescript con il framework Svelte e le classi css invece le ho gestite a mano"}, - "collaborators": [], - "languages": [ - "typescript", - "JSON-schema" - ], - "tecnologies": [ - "Svelte", - "Nodejs" - ], - "images":["https://via.placeholder.com/500"] - }, - { - "year": { - "start": "2021-10-01", - "end": "2021-10-02" - }, - "title": {"en":"This web site","it":"Questo sito web"}, - "content": {"en":"I'have created this web site as CV","it":"Ho creato questo sito web per raccogliere, in maniera semplice ed efficiente, tutti i miei lavori ed esperienze. Ho realizzato questa pagina utilizzando Typescript con il framework Svelte e le classi css invece le ho gestite a mano"}, - "collaborators": [], - "languages": [ - "typescript", - "JSON-schema" - ], - "tecnologies": [ - "Svelte", - "Nodejs" - ], - "images":["https://via.placeholder.com/500"] - } - -] \ No newline at end of file diff --git a/src/model/data.ts b/src/model/data.ts index 84c2fc5..51140d1 100644 --- a/src/model/data.ts +++ b/src/model/data.ts @@ -1,3 +1,4 @@ -import * as data from './data.json'; - -export default data as unknown[]; \ No newline at end of file +import * as jobCollection from './jobs.json'; +import * as hobbyCollection from './hobby.json'; +jobCollection; +hobbyCollection; \ No newline at end of file diff --git a/src/model/hobby.json b/src/model/hobby.json new file mode 100644 index 0000000..206a053 --- /dev/null +++ b/src/model/hobby.json @@ -0,0 +1,23 @@ +[ + { + "year": { + "start": "2021-10-01", + "end": "2021-10-02" + }, + "title": {"en":"Keyboard","it":"Tastiera"}, + "content": { + "en":"I'have created this web site as CV", + "it":"Ho creato questo sito web per raccogliere, in maniera semplice ed efficiente, tutti i miei lavori ed esperienze. Ho realizzato questa pagina utilizzando Typescript con il framework Svelte e le classi css invece le ho gestite a mano" + }, + "collaborators": [], + "languages": [ + "typescript", + "JSON-schema" + ], + "tecnologies": [ + "Svelte", + "Nodejs" + ], + "images":["https://via.placeholder.com/500","https://via.placeholder.com/500"] + } +] \ No newline at end of file diff --git a/src/model/jobs.json b/src/model/jobs.json new file mode 100644 index 0000000..55f29fa --- /dev/null +++ b/src/model/jobs.json @@ -0,0 +1,23 @@ +[ + { + "year": { + "start": "2021-10-01", + "end": "2021-10-02" + }, + "title": {"en":"This web site","it":"Questo sito web"}, + "content": { + "en":"I created this web page to collect and present all my experiences. I'm not a web designer. However, I can build web pages because I have good knowledge of HTML and CSS. I made this page using Typescript and Svelte. To manage the content, I've created a simple system to load content from a couple of JSON files that define where to put the information.", + "it":"Ho creato questo sito web per raccogliere e raccontare le mie esperienze. Come si può facilmente intuire non sono un web designer, ma ho comunque buone conoscenze nell'uso di HTML e CSS. Ho realizzato questa pagina web in Typescript e Svelte, per la gestione dei contenuti ho ideato un semplice sistema che controlla i dati presenti in un paio di file JSON che definiscono i contenuti della pagina e delle sezioni" + }, + "collaborators": [], + "languages": [ + "typescript", + "JSON-schema" + ], + "tecnologies": [ + "Svelte", + "Nodejs" + ], + "images":["/webpage.png"] + } +] \ No newline at end of file diff --git a/src/routes/index.svelte b/src/routes/index.svelte index f459ebe..75bac0b 100644 --- a/src/routes/index.svelte +++ b/src/routes/index.svelte @@ -1,51 +1,99 @@
-
- + + + -
- +
+ +
+
+

{titles.job[currentLanguage]}

+ +
+
+

{titles.school[currentLanguage]}

+ +
+
+

{titles.hobbies[currentLanguage]}

+ +
+
+

{titles.contacts[currentLanguage]}

+
-
\ No newline at end of file diff --git a/static/colors.scss b/static/colors.scss index 2704552..f1f6418 100644 --- a/static/colors.scss +++ b/static/colors.scss @@ -6,3 +6,5 @@ $middle-blue-green: #9ad5d3ff; $steel-blue: #3a7ca5ff; /* SCSS Gradient */ + +$cv-max-width: 800px \ No newline at end of file diff --git a/static/curriculum_it.pdf b/static/curriculum_it.pdf new file mode 100644 index 0000000..b9820d3 Binary files /dev/null and b/static/curriculum_it.pdf differ diff --git a/static/main.css b/static/main.css index 415e88d..adff2dd 100644 --- a/static/main.css +++ b/static/main.css @@ -1,7 +1,4 @@ body{ - height: 100%; - width: 100%; padding: 0; margin: 0; - font-family: CortisasPro-Regular; } \ No newline at end of file diff --git a/static/webpage.png b/static/webpage.png new file mode 100644 index 0000000..bb9a7e8 Binary files /dev/null and b/static/webpage.png differ