diff --git a/images/accueil-bg.jpg b/images/accueil-bg.jpg new file mode 100644 index 0000000..36f6f26 Binary files /dev/null and b/images/accueil-bg.jpg differ diff --git a/images/scroll.svg b/images/scroll.svg new file mode 100644 index 0000000..409f747 --- /dev/null +++ b/images/scroll.svg @@ -0,0 +1,8 @@ + + + + \ No newline at end of file diff --git a/index.html b/index.html index 06fee4a..5d6f72e 100644 --- a/index.html +++ b/index.html @@ -11,24 +11,28 @@
-
-

Lucas Vabre

-

Etudiant en Programmation

- +
+

Lucas Vabre

+

Etudiant en Programmation

+ + + +
+
-
-
diff --git a/scripts/data.js b/scripts/data.js new file mode 100644 index 0000000..a4cdd21 --- /dev/null +++ b/scripts/data.js @@ -0,0 +1,20 @@ +var data = { + "language": { + "french": { + "nav": [ + "Accueil", + "A Propos", + "Projets", + "Contact" + ] + }, + "english": { + "nav": [ + "Home", + "About", + "Projects", + "Contact" + ] + } + } +} \ No newline at end of file diff --git a/scripts/data.json b/scripts/data.json deleted file mode 100644 index c912600..0000000 --- a/scripts/data.json +++ /dev/null @@ -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" - } - ] - } -] \ No newline at end of file diff --git a/styles/style.css b/styles/style.css index 282f9f9..9404c1d 100644 --- a/styles/style.css +++ b/styles/style.css @@ -1,72 +1,100 @@ :root { - scroll-behavior: smooth; - /* Variables */ - + scroll-behavior: smooth; } +/* Hide scroll bar */ +*::-webkit-scrollbar { display: none; } + body { - width: 100wh; - margin: 0; - padding: 0; + width: 100wh; + margin: 0; + padding: 0; } -/* Top Bar de Navigation */ -nav { + +/* Tool box */ +.center { + position: absolute; + text-align: center; + vertical-align: middle; + top: 50%; + left: 50%; + transform: translate(-50%, -50%); +} + +/***** Navigation Top Bar *****/ + nav { width: 100%; z-index: 999; float: top; position: fixed; background-color: #fff3; -} + } -nav li { - padding: 0 25px; + nav li { text-decoration: none; display: inline-block; -} + } -nav a { + nav a { + padding: 16px 0; + margin: 0 25px; text-decoration: none; color: white; + } +/***** End Navigation Top Bar *****/ + +section { + padding: 0 calc(100vw / 10); + min-height: 100vh; + margin-left: auto; + margin-right: auto; } -/* Contenu de la page */ - -.content { - padding: 50px 0; - width: calc(100vw - 40px); - max-width: 1000px; - margin-left: auto; - margin-right: auto; -} - -/* Sections */ #accueil { - background-color: red; - min-height: 100vh; + background: center no-repeat url("../images/accueil-bg.jpg") #ef476f; + background-size: cover; } -#a_propos { - background-color: blue; - min-height: 100vh; -} +/***** Scroll *****/ + .scroll { + left: 50%; + transform: translateX(calc(50% - 24px)); + } -#competences { - background-color: violet; - min-height: 100vh; -} + .scroll circle { + -webkit-animation-duration: 1.5s; + animation-duration: 1.5s; + -webkit-animation-iteration-count: infinite; + animation-iteration-count: infinite; + -webkit-animation-name: scroll; + animation-name: scroll; + } -#projets { - background-color: yellow; - min-height: 100vh; -} + /* Animation */ + @-webkit-keyframes scroll { + 0% { + opacity: 1; + } + 100% { + opacity: 0; + transform: translateY(40px); + } + } -#experiences { - background-color: purple; - min-height: 100vh; -} + @keyframes scroll { + 0% { + opacity: 1; + } + 100% { + opacity: 0; + transform: translateY(40px); + } + } +/***** End Scroll *****/ -#contact { - background-color: green; - min-height: 100vh; -} \ No newline at end of file +#a_propos {background-color: #ffd166} + +#projets {background-color: #06d6a0} + +#contact {background-color: #118ab2} \ No newline at end of file