Skip to content

Commit

Permalink
small text changes
Browse files Browse the repository at this point in the history
  • Loading branch information
nicrausaz committed Dec 15, 2023
1 parent 6a8b2de commit 1e2291b
Show file tree
Hide file tree
Showing 5 changed files with 16 additions and 17 deletions.
6 changes: 3 additions & 3 deletions config/_default/menus.toml
Original file line number Diff line number Diff line change
@@ -1,13 +1,13 @@
# Navigation Links

[[main]]
name = "A propos"
name = "À propos"
url = "#about"
weight = 10

[[main]]
name = "Expérience"
url = "#experience"
name = "Formation"
url = "#training"
weight = 20

[[main]]
Expand Down
10 changes: 5 additions & 5 deletions data/experience.toml → data/training.toml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
Title = "Expérience"
Title = "Formation"
Subtitle = "During this time, I also worked part-time on many more projects, check them out below !"

# [[experience]]
# [[training]]
# id = 1
# btn_label = "Actuellement"
# job_employer = "Armée suisse"
Expand All @@ -13,7 +13,7 @@ Subtitle = "During this time, I also worked part-time on many more projects, che
# Dès le mois de janvier 2024, j'effectuerai mon école de recrue à l'armée suisse en tant que canonnier mortiers.
# '''

[[experience]]
[[training]]
id = 1
btn_label = "2019 - 2023"
job_employer = "HEIG-VD"
Expand All @@ -28,8 +28,8 @@ J'ai également pu développer mes compétences en gestion de projet, en travail
Mon travail de Bachelor est présenté dans la section "Projets".
'''

[[experience]]
id = 3
[[training]]
id = 2
btn_label = "2015 - 2019"
job_employer = "EPFL ENAC-IT"
job_description = "CFC Informaticien d'entreprise et maturité pro. technique"
Expand Down
2 changes: 1 addition & 1 deletion themes/ncrausaz/layouts/index.html
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{{ define "main" }} {{- partial "header.html" . -}} {{- partial "components/socialLinks" -}}
<div>
{{- partial "sections/mainSection" . -}} {{- partial "sections/aboutSection" . -}} {{- partial
"sections/experienceSection" . -}} {{- partial "sections/projectsSection" . -}} {{- partial "sections/contactSection"
"sections/trainingSection" . -}} {{- partial "sections/projectsSection" . -}} {{- partial "sections/contactSection"
. -}}
</div>

Expand Down
7 changes: 3 additions & 4 deletions themes/ncrausaz/layouts/partials/sections/aboutSection.html
Original file line number Diff line number Diff line change
Expand Up @@ -11,11 +11,10 @@ <h1 class="section-title uppercase">{{ .Site.Data.about.Title }}</h1>
>
<p>
Je m'appelle <b>Nicolas Crausaz</b>, <span id="age"></span> ans. Je suis ingénieur logiciel récemment diplômé
de l’<span class="underline decoration-emerald-500">HEIG-VD</span>.
de l’HEIG-VD.
<br />
<br />
<span class="underline decoration-emerald-500">Passionné</span> par le développement, en particulier par les
<span class="underline decoration-emerald-500">technologies Web</span>, j’ai eu l’occasion durant mes études,
Passionné par le développement, en particulier par les
technologies Web, j’ai eu l’occasion durant mes études,
ainsi que de manière indépendante, de réaliser de multiples projets réels de moyenne à grande envergure.
</p>

Expand Down
Original file line number Diff line number Diff line change
@@ -1,14 +1,14 @@
<section
class="w-screen h-screen portfolio-blue flex flex-col items-center lg:justify-center section opacity-0"
id="experience"
id="training"
>
<div class="w-2/3 lg:w-1/2 relative">
<div class="drop-shadow-[0_0_30px_#10b981] mt-6 lg:mt-0">
<h1 class="section-title uppercase">{{ .Site.Data.experience.Title }}</h1>
<h1 class="section-title uppercase">{{ .Site.Data.training.Title }}</h1>
</div>
<div class="flex w-full flex-col sm:flex-row mt-10 z-10">
<div class="mb-4 overflow-x-auto sm:w-max sm:flex-col flex-none">
{{ range .Site.Data.experience.experience }}
{{ range .Site.Data.training.training }}
<button
class="text-white mb-2 flex h-12 items-center whitespace-nowrap px-4 rounded-xl rounded-l-none exp-button {{ if eq .id 1 }} bg-emerald-500 {{ end }}"
data-id="{{ .id }}"
Expand All @@ -20,7 +20,7 @@ <h1 class="section-title uppercase">{{ .Site.Data.experience.Title }}</h1>
{{ end }}
</div>
<div class="ml-5">
{{ range .Site.Data.experience.experience }}
{{ range .Site.Data.training.training }}
<div class="flex flex-col gap-2 exp-section {{ if ne .id 1 }} hidden {{ end }}" id="sect{{ .id }}">
<div class="flex gap-2">
<img src="/img/experiences/{{ .image }}" class="p-2" style="max-height: 80px" />
Expand Down

0 comments on commit 1e2291b

Please sign in to comment.