[shortcuts] add shortcuts for the sections

This commit is contained in:
max/sooulix 2024-08-15 05:40:03 +02:00
parent 27d71f8c51
commit 8ca8ddbb2c
15 changed files with 256 additions and 31 deletions

View File

@ -8,7 +8,7 @@ msgid ""
msgstr "" msgstr ""
"Project-Id-Version: PROJECT VERSION\n" "Project-Id-Version: PROJECT VERSION\n"
"Report-Msgid-Bugs-To: EMAIL@ADDRESS\n" "Report-Msgid-Bugs-To: EMAIL@ADDRESS\n"
"POT-Creation-Date: 2024-08-15 04:32+0200\n" "POT-Creation-Date: 2024-08-15 05:37+0200\n"
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n" "Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
"Language-Team: LANGUAGE <LL@li.org>\n" "Language-Team: LANGUAGE <LL@li.org>\n"
@ -32,7 +32,7 @@ msgstr ""
msgid "resume education title" msgid "resume education title"
msgstr "" msgstr ""
#: templates/partials/education.html:39 #: templates/partials/education.html:30
msgid "education validation year" msgid "education validation year"
msgstr "" msgstr ""
@ -40,23 +40,23 @@ msgstr ""
msgid "resume interest title" msgid "resume interest title"
msgstr "" msgstr ""
#: templates/partials/languages.html:5 #: templates/partials/languages.html:4
msgid "resume language title" msgid "resume language title"
msgstr "" msgstr ""
#: templates/partials/languages.html:20 #: templates/partials/languages.html:19
msgid "language level native" msgid "language level native"
msgstr "" msgstr ""
#: templates/partials/languages.html:22 #: templates/partials/languages.html:21
msgid "language level fluent" msgid "language level fluent"
msgstr "" msgstr ""
#: templates/partials/languages.html:24 #: templates/partials/languages.html:23
msgid "language level elementary" msgid "language level elementary"
msgstr "" msgstr ""
#: templates/partials/languages.html:26 #: templates/partials/languages.html:25
msgid "language level notions" msgid "language level notions"
msgstr "" msgstr ""
@ -104,6 +104,54 @@ msgstr ""
msgid "resume work title" msgid "resume work title"
msgstr "" msgstr ""
#: templates/resume.html:11
msgid "Shortcuts"
msgstr ""
#: templates/resume.html:16
msgid "resume header title "
msgstr ""
#: templates/resume.html:22
msgid "resume skills title "
msgstr ""
#: templates/resume.html:29
msgid "resume work title "
msgstr ""
#: templates/resume.html:36
msgid "resume projects title "
msgstr ""
#: templates/resume.html:43
msgid "resume volunteer title "
msgstr ""
#: templates/resume.html:50
msgid "resume education title "
msgstr ""
#: templates/resume.html:57
msgid "resume awards title "
msgstr ""
#: templates/resume.html:64
msgid "resume publication title "
msgstr ""
#: templates/resume.html:71
msgid "resume languages title "
msgstr ""
#: templates/resume.html:78
msgid "resume interests title "
msgstr ""
#: templates/resume.html:85
msgid "resume references title "
msgstr ""
#: templates/translations.html:4 #: templates/translations.html:4
msgid "Translations" msgid "Translations"
msgstr "" msgstr ""

View File

@ -1,6 +1,6 @@
{% set awards = page.resume.awards %} {% set awards = page.resume.awards %}
{% if awards %} {% if awards %}
<section class="section"> <section class="section" id="awards-section">
<header> <header>
<h2 class='section-title'>{% trans %}resume award title{% endtrans %}</h2> <h2 class='section-title'>{% trans %}resume award title{% endtrans %}</h2>
</header> </header>

View File

@ -1,6 +1,6 @@
{% set education = page.resume.education %} {% set education = page.resume.education %}
{% if education %} {% if education %}
<section class="section"> <section class="section" id="education-section">
<header> <header>
<h2 class='section-title'>{% trans %}resume education title{% endtrans %} <span class="item-count">({{ education | length }})</span></h2> <h2 class='section-title'>{% trans %}resume education title{% endtrans %} <span class="item-count">({{ education | length }})</span></h2>
</header> </header>

View File

@ -1,6 +1,6 @@
{% set interests = page.resume.interests %} {% set interests = page.resume.interests %}
{% if interests %} {% if interests %}
<section class="section"> <section class="section" id="interests-section">
<header> <header>
<h2 class='section-title' class='section-title'>{% trans %}resume interest title{% endtrans %}</h2> <h2 class='section-title' class='section-title'>{% trans %}resume interest title{% endtrans %}</h2>
</header> </header>

View File

@ -1,7 +1,6 @@
{% set languages = page.resume.languages %} {% set languages = page.resume.languages %}
{% if languages %} {% if languages %}
<section class="section"> <section class="section" id="languages-section"> <header>
<header>
<h2 class='section-title'>{% trans %}resume language title{% endtrans %}</h2> <h2 class='section-title'>{% trans %}resume language title{% endtrans %}</h2>
</header> </header>
<section id="languages"> <section id="languages">

View File

@ -1,6 +1,6 @@
{% set projects = page.resume.projects %} {% set projects = page.resume.projects %}
{% if projects %} {% if projects %}
<section class="section"> <section class="section" id="projects-section">
<header> <header>
<h2 class='section-title'>{% trans %}resume project title{% endtrans %} <span class="item-count">({{ projects | length }})</span></h2> <h2 class='section-title'>{% trans %}resume project title{% endtrans %} <span class="item-count">({{ projects | length }})</span></h2>
</header> </header>

View File

@ -1,6 +1,6 @@
{% set publications = page.resume.publications %} {% set publications = page.resume.publications %}
{% if publications %} {% if publications %}
<section class="section"> <section class="section" id="publication-section">
<header> <header>
<h2 class='section-title'>{% trans %}resume publication title{% endtrans %}</h2> <h2 class='section-title'>{% trans %}resume publication title{% endtrans %}</h2>
</header> </header>

View File

@ -1,6 +1,6 @@
{% set references = page.resume.references %} {% set references = page.resume.references %}
{% if references %} {% if references %}
<section class="section"> <section class="section" id="references-section">
<header> <header>
<h2 class='section-title'>{% trans %}resume reference title{% endtrans %}</h2> <h2 class='section-title'>{% trans %}resume reference title{% endtrans %}</h2>
</header> </header>

View File

@ -1,6 +1,6 @@
{% set skills = page.resume.skills %} {% set skills = page.resume.skills %}
{% if skills %} {% if skills %}
<section class="section"> <section class="section" id="skills-section">
<header> <header>
<h2 class='section-title'>{% trans %}resume skill title{% endtrans %}</h2> <h2 class='section-title'>{% trans %}resume skill title{% endtrans %}</h2>
</header> </header>

View File

@ -1,6 +1,6 @@
{% set work = page.resume.work %} {% set work = page.resume.work %}
{% if work %} {% if work %}
<section class="section"> <section class="section" id="work-section">
<header> <header>
<h2 class='section-title'>{% trans %}resume work title{% endtrans %} <span class="item-count">({{ work | length }})</span></h2> <h2 class='section-title'>{% trans %}resume work title{% endtrans %} <span class="item-count">({{ work | length }})</span></h2>
</header> </header>

View File

@ -6,6 +6,88 @@
{% block content %} {% block content %}
<div class="sidebar fixed start-32">
<span class="text-sm">
{% trans %}Shortcuts{% endtrans %}
</span>
<ul class="list-inside list-disc">
<li>
<a href="#header">
{% trans %}resume header title {% endtrans %}
</a>
</li>
{% if page.resume.skills %}
<li>
<a href="#skills-section">
{% trans %}resume skills title {% endtrans %}
</a>
</li>
{% endif %}
{% if page.resume.work %}
<li>
<a href="#work-section">
{% trans %}resume work title {% endtrans %}
</a>
</li>
{% endif %}
{% if page.resume.projects %}
<li>
<a href="#projects-section">
{% trans %}resume projects title {% endtrans %}
</a>
</li>
{% endif %}
{% if page.resume.volunteer %}
<li>
<a href="#volunteer-section">
{% trans %}resume volunteer title {% endtrans %}
</a>
</li>
{% endif %}
{% if page.resume.education %}
<li>
<a href="#education-section">
{% trans %}resume education title {% endtrans %}
</a>
</li>
{% endif %}
{% if page.resume.awards %}
<li>
<a href="#awards-section">
{% trans %}resume awards title {% endtrans %}
</a>
</li>
{% endif %}
{% if page.resume.publications %}
<li>
<a href="#publication-section">
{% trans %}resume publication title {% endtrans %}
</a>
</li>
{% endif %}
{% if page.resume.languages %}
<li>
<a href="#languages-section">
{% trans %}resume languages title {% endtrans %}
</a>
</li>
{% endif %}
{% if page.resume.interests %}
<li>
<a href="#interests-section">
{% trans %}resume interests title {% endtrans %}
</a>
</li>
{% endif %}
{% if page.resume.references %}
<li>
<a href="#references-section">
{% trans %}resume references title {% endtrans %}
</a>
</li>
{% endif %}
</ul>
</div>
<main class="text-zinc-800 dark:text-zinc-300"> <main class="text-zinc-800 dark:text-zinc-300">
<div class="max-w-7xl container mx-auto my-2 text-zinc-800 dark:text-zinc-300 <div class="max-w-7xl container mx-auto my-2 text-zinc-800 dark:text-zinc-300
prose lg:max-w-none prose-headings:text-zinc-800 prose-headings:dark:text-zinc-300 prose lg:max-w-none prose-headings:text-zinc-800 prose-headings:dark:text-zinc-300

View File

@ -7,7 +7,7 @@ msgid ""
msgstr "" msgstr ""
"Project-Id-Version: PROJECT VERSION\n" "Project-Id-Version: PROJECT VERSION\n"
"Report-Msgid-Bugs-To: EMAIL@ADDRESS\n" "Report-Msgid-Bugs-To: EMAIL@ADDRESS\n"
"POT-Creation-Date: 2024-08-15 04:32+0200\n" "POT-Creation-Date: 2024-08-15 05:37+0200\n"
"PO-Revision-Date: 2024-08-14 18:17+0200\n" "PO-Revision-Date: 2024-08-14 18:17+0200\n"
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n" "Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
"Language: en\n" "Language: en\n"
@ -33,7 +33,7 @@ msgstr "Home"
msgid "resume education title" msgid "resume education title"
msgstr "Education" msgstr "Education"
#: templates/partials/education.html:39 #: templates/partials/education.html:30
msgid "education validation year" msgid "education validation year"
msgstr "Graduation year" msgstr "Graduation year"
@ -41,23 +41,23 @@ msgstr "Graduation year"
msgid "resume interest title" msgid "resume interest title"
msgstr "Interests" msgstr "Interests"
#: templates/partials/languages.html:5 #: templates/partials/languages.html:4
msgid "resume language title" msgid "resume language title"
msgstr "Languages" msgstr "Languages"
#: templates/partials/languages.html:20 #: templates/partials/languages.html:19
msgid "language level native" msgid "language level native"
msgstr "Native speaker" msgstr "Native speaker"
#: templates/partials/languages.html:22 #: templates/partials/languages.html:21
msgid "language level fluent" msgid "language level fluent"
msgstr "Fluent" msgstr "Fluent"
#: templates/partials/languages.html:24 #: templates/partials/languages.html:23
msgid "language level elementary" msgid "language level elementary"
msgstr "Elementary" msgstr "Elementary"
#: templates/partials/languages.html:26 #: templates/partials/languages.html:25
msgid "language level notions" msgid "language level notions"
msgstr "Beginner" msgstr "Beginner"
@ -105,6 +105,54 @@ msgstr "Volunteer"
msgid "resume work title" msgid "resume work title"
msgstr "Professional experience" msgstr "Professional experience"
#: templates/resume.html:11
msgid "Shortcuts"
msgstr ""
#: templates/resume.html:16
msgid "resume header title "
msgstr "Header"
#: templates/resume.html:22
msgid "resume skills title "
msgstr "Skills"
#: templates/resume.html:29
msgid "resume work title "
msgstr "Professional experience"
#: templates/resume.html:36
msgid "resume projects title "
msgstr "Projects"
#: templates/resume.html:43
msgid "resume volunteer title "
msgstr "Volunteer"
#: templates/resume.html:50
msgid "resume education title "
msgstr "Education"
#: templates/resume.html:57
msgid "resume awards title "
msgstr "Awards"
#: templates/resume.html:64
msgid "resume publication title "
msgstr "Publications"
#: templates/resume.html:71
msgid "resume languages title "
msgstr "Languages"
#: templates/resume.html:78
msgid "resume interests title "
msgstr "Interests"
#: templates/resume.html:85
msgid "resume references title "
msgstr "References"
#: templates/translations.html:4 #: templates/translations.html:4
msgid "Translations" msgid "Translations"
msgstr "" msgstr ""

View File

@ -7,7 +7,7 @@ msgid ""
msgstr "" msgstr ""
"Project-Id-Version: PROJECT VERSION\n" "Project-Id-Version: PROJECT VERSION\n"
"Report-Msgid-Bugs-To: EMAIL@ADDRESS\n" "Report-Msgid-Bugs-To: EMAIL@ADDRESS\n"
"POT-Creation-Date: 2024-08-15 04:32+0200\n" "POT-Creation-Date: 2024-08-15 05:37+0200\n"
"PO-Revision-Date: 2024-08-14 18:17+0200\n" "PO-Revision-Date: 2024-08-14 18:17+0200\n"
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n" "Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
"Language: fr\n" "Language: fr\n"
@ -33,7 +33,7 @@ msgstr "Accueil"
msgid "resume education title" msgid "resume education title"
msgstr "Cursus" msgstr "Cursus"
#: templates/partials/education.html:39 #: templates/partials/education.html:30
msgid "education validation year" msgid "education validation year"
msgstr "Année d'obtention du diplôme" msgstr "Année d'obtention du diplôme"
@ -41,23 +41,23 @@ msgstr "Année d'obtention du diplôme"
msgid "resume interest title" msgid "resume interest title"
msgstr "Intérêts" msgstr "Intérêts"
#: templates/partials/languages.html:5 #: templates/partials/languages.html:4
msgid "resume language title" msgid "resume language title"
msgstr "Langues" msgstr "Langues"
#: templates/partials/languages.html:20 #: templates/partials/languages.html:19
msgid "language level native" msgid "language level native"
msgstr "Langue maternelle" msgstr "Langue maternelle"
#: templates/partials/languages.html:22 #: templates/partials/languages.html:21
msgid "language level fluent" msgid "language level fluent"
msgstr "Courant" msgstr "Courant"
#: templates/partials/languages.html:24 #: templates/partials/languages.html:23
msgid "language level elementary" msgid "language level elementary"
msgstr "Courant" msgstr "Courant"
#: templates/partials/languages.html:26 #: templates/partials/languages.html:25
msgid "language level notions" msgid "language level notions"
msgstr "Débutant" msgstr "Débutant"
@ -105,6 +105,54 @@ msgstr "Bénévolat"
msgid "resume work title" msgid "resume work title"
msgstr "Expérience Professionnelle" msgstr "Expérience Professionnelle"
#: templates/resume.html:11
msgid "Shortcuts"
msgstr "Raccourcis"
#: templates/resume.html:16
msgid "resume header title "
msgstr "En-tête"
#: templates/resume.html:22
msgid "resume skills title "
msgstr "Compétences"
#: templates/resume.html:29
msgid "resume work title "
msgstr "Expérience Professionnelle"
#: templates/resume.html:36
msgid "resume projects title "
msgstr "Projets"
#: templates/resume.html:43
msgid "resume volunteer title "
msgstr "Bénévolat"
#: templates/resume.html:50
msgid "resume education title "
msgstr "Cursus"
#: templates/resume.html:57
msgid "resume awards title "
msgstr "Prix"
#: templates/resume.html:64
msgid "resume publication title "
msgstr "Publications"
#: templates/resume.html:71
msgid "resume languages title "
msgstr "Langues"
#: templates/resume.html:78
msgid "resume interests title "
msgstr "Intérêts"
#: templates/resume.html:85
msgid "resume references title "
msgstr "Références"
#: templates/translations.html:4 #: templates/translations.html:4
msgid "Translations" msgid "Translations"
msgstr "Traductions" msgstr "Traductions"