This commit is contained in:
Ondrej Vlach 2023-11-26 22:46:38 +01:00
parent 8fddb3badc
commit 5fa660037e
3 changed files with 9 additions and 8 deletions

View File

@ -16,4 +16,4 @@ reqwest = { version = "0.11", features = ["json"] }
tokio = { version = "1", features = ["full"] }
ovlach_data = { git = "https://glpat-Ju_qUN9Yh8qa5rEnd6T7:glpat-Ju_qUN9Yh8qa5rEnd6T7@gitlab.nanobyte.cz/ondrej/ov-site-api-data.git", branch = "add_missing_fields"}
chrono = "0.4.31"
sha256 = "1.4.0"
sha256 = "1.4.0"

View File

@ -11,6 +11,7 @@ struct RootPage {
static_host: String,
cv: CV,
download_cv_url: String,
lang: I18n,
}
#[get("/")]

View File

@ -14,7 +14,7 @@
<div class="header-bio mt-3">
<div data-aos="zoom-in" data-aos-delay="0">
<h2 class="h1"> {{ cv.person.name }} {{ cv.person.surname }} </h2>
<p>{{ "DevOPS engineer/backend web developer" | translate }}</p>
<p>{{ "DevOPS engineer/backend web developer" | translate(lang=lang) }}</p>
</div>
<div class="header-social mb-3 d-print-none" data-aos="zoom-in" data-aos-delay="200">
<nav role="navigation">
@ -50,8 +50,8 @@
</nav>
</div>
<div class="d-print-none">
<a class="btn btn-outline-light btn-lg shadow-sm mt-1 me-3" href="{{ download_cv_url }}" data-aos="fade-right" data-aos-delay="700">{{ "Download CV" | translate }}</a>
<a class="btn btn-info btn-lg shadow-sm mt-1" href="#contact" data-aos="fade-left" data-aos-delay="700"> {{ "Hire me" | translate }} </a></div>
<a class="btn btn-outline-light btn-lg shadow-sm mt-1 me-3" href="{{ download_cv_url }}" data-aos="fade-right" data-aos-delay="700">{{ "Download CV" | translate(lang=lang) }}</a>
<a class="btn btn-info btn-lg shadow-sm mt-1" href="#contact" data-aos="fade-left" data-aos-delay="700"> {{ "Hire me" | translate(lang=lang) }} </a></div>
</div>
</div>
</div>
@ -62,7 +62,7 @@
<div class="about-section">
<div class="row">
<div class="col-md-6">
<h2 class="h2 fw-light mb-4">{{ "About Me" | translate }} </h2>
<h2 class="h2 fw-light mb-4">{{ "About Me" | translate(lang=lang) }} </h2>
<p>{{ cv.person.about | lang_entity }}</p>
</div>
<div class="col-md-5 offset-lg-1">
@ -101,7 +101,7 @@
</div>
<div class="shadow-1-strong bg-white my-5 p-5" id="skills">
<div class="skills-section">
<h2 class="h2 fw-light mb-4">{{ "Professional Skills" | translate }}</h2>
<h2 class="h2 fw-light mb-4">{{ "Professional Skills" | translate(lang=lang) }}</h2>
<div class="row">
<div class="col-md-6">
{% set arr_cnt = cv.skills | length %}
@ -139,7 +139,7 @@
<div class="shadow-1-strong bg-white my-5 p-5" id="experience">
<div class="work-experience-section">
<h2 class="h2 fw-light mb-4">{{ "Professional Skills" | translate }}</h2>
<h2 class="h2 fw-light mb-4">{{ "Professional Skills" | translate(lang=lang) }}</h2>
<div class="timeline">
{% for job in cv.jobs %}
<div class="timeline-card timeline-card-info" data-aos="fade-in" data-aos-delay="{{ loop.index * 100 }}">
@ -157,7 +157,7 @@
</div>
<div class="shadow-1-strong bg-white my-5 p-5" id="education">
<div class="education-section">
<h2 class="h2 fw-light mb-4">{{ "Education " | translate }}</h2>
<h2 class="h2 fw-light mb-4">{{ "Education " | translate(lang=lang) }}</h2>
<div class="timeline">
{% for education in cv.education %}
<div class="timeline-card timeline-card-success" data-aos="fade-in" data-aos-delay="0">