first commit
This commit is contained in:
12
src/app.html
Normal file
12
src/app.html
Normal file
@@ -0,0 +1,12 @@
|
||||
<!DOCTYPE html>
|
||||
<html lang="en">
|
||||
<head>
|
||||
<meta charset="utf-8" />
|
||||
<link rel="icon" href="/favicon.png" />
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1" />
|
||||
%svelte.head%
|
||||
</head>
|
||||
<body>
|
||||
<div id="svelte">%svelte.body%</div>
|
||||
</body>
|
||||
</html>
|
||||
0
src/elements/aboutMe.svelte
Normal file
0
src/elements/aboutMe.svelte
Normal file
0
src/elements/header.svelte
Normal file
0
src/elements/header.svelte
Normal file
0
src/elements/jobs.svelte
Normal file
0
src/elements/jobs.svelte
Normal file
0
src/elements/jobsExperience.svelte
Normal file
0
src/elements/jobsExperience.svelte
Normal file
1
src/global.d.ts
vendored
Normal file
1
src/global.d.ts
vendored
Normal file
@@ -0,0 +1 @@
|
||||
/// <reference types="@sveltejs/kit" />
|
||||
18
src/model/data.json
Normal file
18
src/model/data.json
Normal file
@@ -0,0 +1,18 @@
|
||||
{
|
||||
"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 come curriculum"},
|
||||
"collaborators": [],
|
||||
"languages": [
|
||||
"typescript",
|
||||
"JSON-schema"
|
||||
],
|
||||
"tecnologies": [
|
||||
"Svelte",
|
||||
"Nodejs"
|
||||
],
|
||||
"immagies":[]
|
||||
}
|
||||
34
src/model/job.d.ts
vendored
Normal file
34
src/model/job.d.ts
vendored
Normal file
@@ -0,0 +1,34 @@
|
||||
/* tslint:disable */
|
||||
/**
|
||||
* This file was automatically generated by json-schema-to-typescript.
|
||||
* DO NOT MODIFY IT BY HAND. Instead, modify the source JSONSchema file,
|
||||
* and run json-schema-to-typescript to regenerate this file.
|
||||
*/
|
||||
|
||||
export type Schema = {
|
||||
year: {
|
||||
start: string;
|
||||
end: string;
|
||||
[k: string]: unknown;
|
||||
};
|
||||
title: {
|
||||
en: string;
|
||||
it: string;
|
||||
[k: string]: unknown;
|
||||
};
|
||||
content: {
|
||||
en: string;
|
||||
it: string;
|
||||
[k: string]: unknown;
|
||||
};
|
||||
collaborators: {
|
||||
name: string;
|
||||
surname: string;
|
||||
ref: string;
|
||||
[k: string]: unknown;
|
||||
}[];
|
||||
languages: string[];
|
||||
tecnologies: string[];
|
||||
immagies: string[];
|
||||
[k: string]: unknown;
|
||||
}[];
|
||||
103
src/model/schema.json
Normal file
103
src/model/schema.json
Normal file
@@ -0,0 +1,103 @@
|
||||
{
|
||||
"$schema": "http://json-schema.org/draft-04/schema#",
|
||||
"type": "array",
|
||||
"items": {
|
||||
"type": "object",
|
||||
"properties": {
|
||||
"year": {
|
||||
"type": "object",
|
||||
"properties": {
|
||||
"start": {
|
||||
"type": "string"
|
||||
},
|
||||
"end": {
|
||||
"type": "string"
|
||||
}
|
||||
},
|
||||
"required": [
|
||||
"start",
|
||||
"end"
|
||||
]
|
||||
},
|
||||
"title": {
|
||||
"type": "object",
|
||||
"properties": {
|
||||
"en": {
|
||||
"type": "string"
|
||||
},
|
||||
"it": {
|
||||
"type": "string"
|
||||
}
|
||||
},
|
||||
"required": [
|
||||
"en",
|
||||
"it"
|
||||
]
|
||||
},
|
||||
"content": {
|
||||
"type": "object",
|
||||
"properties": {
|
||||
"en": {
|
||||
"type": "string"
|
||||
},
|
||||
"it": {
|
||||
"type": "string"
|
||||
}
|
||||
},
|
||||
"required": [
|
||||
"en",
|
||||
"it"
|
||||
]
|
||||
},
|
||||
"collaborators": {
|
||||
"type": "array",
|
||||
"items": {
|
||||
"type": "object",
|
||||
"properties": {
|
||||
"name": {
|
||||
"type": "string"
|
||||
},
|
||||
"surname": {
|
||||
"type": "string"
|
||||
},
|
||||
"ref": {
|
||||
"type": "string"
|
||||
}
|
||||
},
|
||||
"required": [
|
||||
"name",
|
||||
"surname",
|
||||
"ref"
|
||||
]
|
||||
}
|
||||
},
|
||||
"languages": {
|
||||
"type": "array",
|
||||
"items": {
|
||||
"type": "string"
|
||||
}
|
||||
},
|
||||
"tecnologies": {
|
||||
"type": "array",
|
||||
"items": {
|
||||
"type": "string"
|
||||
}
|
||||
},
|
||||
"immagies": {
|
||||
"type": "array",
|
||||
"items": {
|
||||
"type": "string"
|
||||
}
|
||||
}
|
||||
},
|
||||
"required": [
|
||||
"year",
|
||||
"title",
|
||||
"content",
|
||||
"collaborators",
|
||||
"languages",
|
||||
"tecnologies",
|
||||
"immagies"
|
||||
]
|
||||
}
|
||||
}
|
||||
2
src/routes/index.svelte
Normal file
2
src/routes/index.svelte
Normal file
@@ -0,0 +1,2 @@
|
||||
<h1>Welcome to SvelteKit</h1>
|
||||
<p>Visit <a href="https://kit.svelte.dev">kit.svelte.dev</a> to read the documentation</p>
|
||||
Reference in New Issue
Block a user