l18n
This commit is contained in:
parent
8fddb3badc
commit
5fa660037e
@ -11,6 +11,7 @@ struct RootPage {
|
||||
static_host: String,
|
||||
cv: CV,
|
||||
download_cv_url: String,
|
||||
lang: I18n,
|
||||
}
|
||||
|
||||
#[get("/")]
|
||||
|
@ -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">
|
||||
|
Loading…
Reference in New Issue
Block a user