Skip to content

Commit 6260dd1

Browse files
committed
20.6
[index] - html5 tags - add new marquee string [quizzes] - fix web question - remove source button [general] - minor corrections
1 parent bb9a3c5 commit 6260dd1

6 files changed

Lines changed: 12 additions & 19 deletions

File tree

package.json

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

src/content/collections/quizzes/web.data.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -117,7 +117,7 @@
117117
"correct": "0"
118118
},
119119
{
120-
"title": "En el modelo de negocio de 'Cupones Descuento', la emrpesa anunciada que da el servicio obtiene:",
120+
"title": "En el modelo de negocio de 'Cupones Descuento', la empresa anunciada que da el servicio obtiene:",
121121
"answers": [
122122
"Un alto margen de beneficio, por lo que la calidad del servicio no es relevante.",
123123
"Un alto margen de beneficio si la calidad del servicio es alta.",

src/content/data/marquee.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,5 +14,6 @@
1414
{"text": "music sounds better with you.", "url": "https://www.youtube.com/watch?v=FQlAEiCb8m0"},
1515
{"text": "one more time.", "url": "https://www.youtube.com/watch?v=Hjqs8YIB7ys"},
1616
{"text": "D.V.N.O., four capital letters.", "url": "https://www.youtube.com/watch?v=GiDsLRQg_g4"},
17-
{"text": "use imagination as a destination.", "url": "https://www.youtube.com/watch?v=4m5zEM2T5Fg"}
17+
{"text": "use imagination as a destination.", "url": "https://www.youtube.com/watch?v=4m5zEM2T5Fg"},
18+
{"text": "fitter, happier, more productive, comfortable, not drinking too much, regular exercise at the gym (3 days a week)", "url": "https://www.youtube.com/watch?v=O4SzvsMFaek"}
1819
]

src/content/data/questions.json

Lines changed: 1 addition & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,7 @@
11
[
22
{
33
"q": "how to create a list with joined bulletpoints (eg: linkedin in the experience section)?",
4-
"k": [
5-
"join",
6-
"bullet",
7-
"points",
8-
"ul",
9-
"css",
10-
"li"
11-
],
4+
"k": ["join","bullet","points","ul","css","li"],
125
"a": "",
136
"s": ["https://codepen.io/anon/pen/gJpLrR", "https://dev.to/peterc/how-to-create-joined-bulletpoint-lists-with-css-bbc-news-style-1eem"],
147
"d": "2023-12-20"

src/index.njk

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ js: index
3030
<div id="projects">
3131
<div id="featured-grid">
3232
{% for project in collections.project %} {% if project.data.img %} {% set link = project.data.demo or project.data.source %}
33-
<div class="project hoverborder">
33+
<article class="project hoverborder">
3434
<a href="{{ link }}" rel="noreferrer" class="project-img-container">
3535
<div class="project-img">
3636
<img src="/assets/media/projects/{{ project.fileSlug }}/front.webp" alt="{{ project.data.title }} image" class="main">
@@ -43,12 +43,12 @@ js: index
4343
<div class="project-tech">{{ macros.renderIcons(project.data.icons) }}</div>
4444
<div class="project-links">{{ macros.renderLinks(project) }}</div>
4545
</div>
46-
</div>
46+
</article>
4747
{% endif %} {% endfor %}
4848
</div>
4949
<div id="project-list">
5050
{% for project in collections.project %} {% if not project.data.img %}
51-
<div class="project hoverborder {{ project.data.star }}" id="{{ project.data.title | slug }}">
51+
<article class="project hoverborder {{ project.data.star }}" id="{{ project.data.title | slug }}">
5252
<div class="project-title">
5353
{{ macros.renderTitle(project) }}
5454
<div class="project-tech">{{ macros.renderIcons(project.data.icons) }}</div>
@@ -59,7 +59,7 @@ js: index
5959
{% if project.data.links or project.data.source and project.data.demo %}
6060
<div class="project-links">{{ macros.renderLinks(project, false) }}</div>
6161
{% endif %}
62-
</div>
62+
</article>
6363
{% endif %} {% endfor %}
6464
</div>
6565
</div>
@@ -70,7 +70,7 @@ js: index
7070
<h1>experience.</h1>
7171
<div id="experience" class="carded">
7272
{% for experience in collections.experience %}
73-
<div class="card {{ experience.data.class }}" id="{{ experience.data.name | slug }}">
73+
<article class="card {{ experience.data.class }}" id="{{ experience.data.name | slug }}">
7474
<div class="card-title-col">
7575
<h1 class="card-title">
7676
{% set logo = '/assets/icons/exp/' + (experience.data.logo or experience.data.name) + '.png' %}
@@ -91,7 +91,7 @@ js: index
9191
<div class="card-icons">{{ macros.renderIcons(experience.data.icons) }}</div>
9292
</div>
9393
{% endif %}
94-
</div>
94+
</article>
9595
{% endfor %}
9696
</div>
9797
</div>

src/templates/quiz.njk

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,9 +5,8 @@ layout: generic.njk
55
{% addScript "quiz" %}
66

77
<div id="button-container">
8-
<a href="/content/collections/quizzes/{{title}}.data.json" alt="download json" class="button" id="dl-btn"><img src="/assets/icons/misc/download.svg" class="icon invert" alt="download icon">download json</a>
8+
<a href="/content/collections/quizzes/{{page.fileSlug}}.data.json" alt="download json" class="button" id="dl-btn"><img src="/assets/icons/misc/download.svg" class="icon invert" alt="download icon">download json</a>
99
<a href="https://github.com/miermontoto/miermontoto/issues/new" alt="report an issue" class="button" id="bug-btn"><img src="/assets/icons/misc/bug.svg" class="icon invert" alt="bug icon">report an issue</a>
10-
<a href="https://github.com/search?q=repo%3Amiermontoto%2Fmiermontoto+path%3A**%2F{{eleventyNavigation.key}}.*&type=code" alt="source code" class="button" id="src-btn"><img src="/assets/icons/tech/git.svg" class="icon invert" alt="git icon">source</a>
1110
</div>
1211
<hr>
1312
<div id="results">

0 commit comments

Comments
 (0)