mirror of
https://github.com/LucasVbr/LucasVbr.git
synced 2026-07-09 14:27:46 +00:00
Update
This commit is contained in:
Binary file not shown.
|
After Width: | Height: | Size: 1.8 MiB |
@@ -0,0 +1,8 @@
|
|||||||
|
<svg class="scroll">
|
||||||
|
<rect x="4" y="4"
|
||||||
|
width="40" height="70"
|
||||||
|
rx="25" ry="25"
|
||||||
|
stroke="#fff" stroke-width="2"
|
||||||
|
fill="#fff0"/>
|
||||||
|
<circle class="" cx="24" cy="24" r="4" fill="#fff"/>
|
||||||
|
</svg>
|
||||||
|
After Width: | Height: | Size: 212 B |
+12
-8
@@ -11,24 +11,28 @@
|
|||||||
<ul>
|
<ul>
|
||||||
<li><a href="#accueil">Accueil</a></li>
|
<li><a href="#accueil">Accueil</a></li>
|
||||||
<li><a href="#a_propos">A Propos</a></li>
|
<li><a href="#a_propos">A Propos</a></li>
|
||||||
<li><a href="#competences">Compétences</a></li>
|
|
||||||
<li><a href="#projets">Projets</a></li>
|
<li><a href="#projets">Projets</a></li>
|
||||||
<li><a href="#experiences">Expériences</a></li>
|
|
||||||
<li><a href="#contact">Contact</a></li>
|
<li><a href="#contact">Contact</a></li>
|
||||||
</ul>
|
</ul>
|
||||||
</nav>
|
</nav>
|
||||||
|
|
||||||
<section id="accueil">
|
<section id="accueil">
|
||||||
<div class="content">
|
<div class="center">
|
||||||
<h1 id="nom">Lucas Vabre</h1>
|
<h1>Lucas Vabre</h1>
|
||||||
<h2 id="status">Etudiant en Programmation</h2>
|
<h2>Etudiant en Programmation</h2>
|
||||||
<!-- <xmp id="code"></xmp> -->
|
<svg class="scroll" width="44" height="74">
|
||||||
|
<rect x="2" y="2"
|
||||||
|
width="40" height="70"
|
||||||
|
rx="25" ry="25"
|
||||||
|
stroke="#fff" stroke-width="2"
|
||||||
|
fill="#fff0"/>
|
||||||
|
<circle class="" cx="22" cy="22" r="4" fill="#fff"/>
|
||||||
|
</svg>
|
||||||
</div>
|
</div>
|
||||||
</section>
|
</section>
|
||||||
|
|
||||||
<section id="a_propos"></section>
|
<section id="a_propos"></section>
|
||||||
<section id="competences"></section>
|
|
||||||
<section id="projets"></section>
|
<section id="projets"></section>
|
||||||
<section id="experiences"></section>
|
|
||||||
<section id="contact"></section>
|
<section id="contact"></section>
|
||||||
|
|
||||||
<script src="scripts/data.json"></script>
|
<script src="scripts/data.json"></script>
|
||||||
|
|||||||
@@ -0,0 +1,20 @@
|
|||||||
|
var data = {
|
||||||
|
"language": {
|
||||||
|
"french": {
|
||||||
|
"nav": [
|
||||||
|
"Accueil",
|
||||||
|
"A Propos",
|
||||||
|
"Projets",
|
||||||
|
"Contact"
|
||||||
|
]
|
||||||
|
},
|
||||||
|
"english": {
|
||||||
|
"nav": [
|
||||||
|
"Home",
|
||||||
|
"About",
|
||||||
|
"Projects",
|
||||||
|
"Contact"
|
||||||
|
]
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
@@ -1,92 +0,0 @@
|
|||||||
var data = [
|
|
||||||
{
|
|
||||||
"id": "accueil",
|
|
||||||
"name": "Lucas VABRE",
|
|
||||||
"status": "Etudiant en Informatique"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"id": "a_propos",
|
|
||||||
"info": "Ad incididunt occaecat Lorem enim tempor sit veniam eu elit.",
|
|
||||||
"cv": ""
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"id": "competences",
|
|
||||||
"langage": [
|
|
||||||
{
|
|
||||||
"name": "HTML/CSS",
|
|
||||||
"value": 95
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"name": "Java",
|
|
||||||
"value": 60
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"name": "Python",
|
|
||||||
"value": 50
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"name": "Javascript",
|
|
||||||
"value": 20
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"name": "C",
|
|
||||||
"value": 10
|
|
||||||
}
|
|
||||||
]
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"id": "projets",
|
|
||||||
"projets": [
|
|
||||||
{
|
|
||||||
"name": "Projet 1",
|
|
||||||
"image": "link",
|
|
||||||
"link": "link"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"name": "Projet 2",
|
|
||||||
"image": "link",
|
|
||||||
"link": "link"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"name": "Projet 3",
|
|
||||||
"image": "link",
|
|
||||||
"link": "link"
|
|
||||||
}
|
|
||||||
]
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"id": "experiences",
|
|
||||||
"experiences": [
|
|
||||||
{
|
|
||||||
"name": "experience 1",
|
|
||||||
"date": "10/10/10",
|
|
||||||
"description": "Infos"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"name": "experience 2",
|
|
||||||
"date": "10/10/10",
|
|
||||||
"description": "Infos"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"name": "experience 3",
|
|
||||||
"date": "10/10/10",
|
|
||||||
"description": "Infos"
|
|
||||||
}
|
|
||||||
]
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"id": "contact",
|
|
||||||
"reseaux": [
|
|
||||||
{
|
|
||||||
"name": "Twitter",
|
|
||||||
"image": "link",
|
|
||||||
"link": "link"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"name": "Github",
|
|
||||||
"image": "link",
|
|
||||||
"link": "link"
|
|
||||||
}
|
|
||||||
]
|
|
||||||
}
|
|
||||||
]
|
|
||||||
+57
-29
@@ -1,16 +1,28 @@
|
|||||||
:root {
|
:root {
|
||||||
scroll-behavior: smooth;
|
scroll-behavior: smooth;
|
||||||
/* Variables */
|
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/* Hide scroll bar */
|
||||||
|
*::-webkit-scrollbar { display: none; }
|
||||||
|
|
||||||
body {
|
body {
|
||||||
width: 100wh;
|
width: 100wh;
|
||||||
margin: 0;
|
margin: 0;
|
||||||
padding: 0;
|
padding: 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
/* Top Bar de Navigation */
|
|
||||||
|
/* Tool box */
|
||||||
|
.center {
|
||||||
|
position: absolute;
|
||||||
|
text-align: center;
|
||||||
|
vertical-align: middle;
|
||||||
|
top: 50%;
|
||||||
|
left: 50%;
|
||||||
|
transform: translate(-50%, -50%);
|
||||||
|
}
|
||||||
|
|
||||||
|
/***** Navigation Top Bar *****/
|
||||||
nav {
|
nav {
|
||||||
width: 100%;
|
width: 100%;
|
||||||
z-index: 999;
|
z-index: 999;
|
||||||
@@ -20,53 +32,69 @@ nav {
|
|||||||
}
|
}
|
||||||
|
|
||||||
nav li {
|
nav li {
|
||||||
padding: 0 25px;
|
|
||||||
text-decoration: none;
|
text-decoration: none;
|
||||||
display: inline-block;
|
display: inline-block;
|
||||||
}
|
}
|
||||||
|
|
||||||
nav a {
|
nav a {
|
||||||
|
padding: 16px 0;
|
||||||
|
margin: 0 25px;
|
||||||
text-decoration: none;
|
text-decoration: none;
|
||||||
color: white;
|
color: white;
|
||||||
}
|
}
|
||||||
|
/***** End Navigation Top Bar *****/
|
||||||
|
|
||||||
/* Contenu de la page */
|
section {
|
||||||
|
padding: 0 calc(100vw / 10);
|
||||||
.content {
|
min-height: 100vh;
|
||||||
padding: 50px 0;
|
|
||||||
width: calc(100vw - 40px);
|
|
||||||
max-width: 1000px;
|
|
||||||
margin-left: auto;
|
margin-left: auto;
|
||||||
margin-right: auto;
|
margin-right: auto;
|
||||||
}
|
}
|
||||||
|
|
||||||
/* Sections */
|
|
||||||
#accueil {
|
#accueil {
|
||||||
background-color: red;
|
background: center no-repeat url("../images/accueil-bg.jpg") #ef476f;
|
||||||
min-height: 100vh;
|
background-size: cover;
|
||||||
}
|
}
|
||||||
|
|
||||||
#a_propos {
|
/***** Scroll *****/
|
||||||
background-color: blue;
|
.scroll {
|
||||||
min-height: 100vh;
|
left: 50%;
|
||||||
|
transform: translateX(calc(50% - 24px));
|
||||||
}
|
}
|
||||||
|
|
||||||
#competences {
|
.scroll circle {
|
||||||
background-color: violet;
|
-webkit-animation-duration: 1.5s;
|
||||||
min-height: 100vh;
|
animation-duration: 1.5s;
|
||||||
|
-webkit-animation-iteration-count: infinite;
|
||||||
|
animation-iteration-count: infinite;
|
||||||
|
-webkit-animation-name: scroll;
|
||||||
|
animation-name: scroll;
|
||||||
}
|
}
|
||||||
|
|
||||||
#projets {
|
/* Animation */
|
||||||
background-color: yellow;
|
@-webkit-keyframes scroll {
|
||||||
min-height: 100vh;
|
0% {
|
||||||
|
opacity: 1;
|
||||||
|
}
|
||||||
|
100% {
|
||||||
|
opacity: 0;
|
||||||
|
transform: translateY(40px);
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
#experiences {
|
@keyframes scroll {
|
||||||
background-color: purple;
|
0% {
|
||||||
min-height: 100vh;
|
opacity: 1;
|
||||||
}
|
}
|
||||||
|
100% {
|
||||||
|
opacity: 0;
|
||||||
|
transform: translateY(40px);
|
||||||
|
}
|
||||||
|
}
|
||||||
|
/***** End Scroll *****/
|
||||||
|
|
||||||
#contact {
|
#a_propos {background-color: #ffd166}
|
||||||
background-color: green;
|
|
||||||
min-height: 100vh;
|
#projets {background-color: #06d6a0}
|
||||||
}
|
|
||||||
|
#contact {background-color: #118ab2}
|
||||||
Reference in New Issue
Block a user