Add additional credits to about page, add internetometer to aside as widget.

This commit is contained in:
天クマ 2026-07-04 15:14:58 -03:00
commit 5a4faee769
8 changed files with 33 additions and 7 deletions

View file

@ -93,7 +93,9 @@ module.exports = {
next: "next", next: "next",
about: "about", about: "about",
thisWebsiteDoesNotTrackYou: "This website does not track you.", thisWebsiteDoesNotTrackYou: "This website does not track you.",
mrnandoChannel: "Mr. Nando's channel" mrnandoChannel: "Mr. Nando's channel",
liked: "liked",
changes: "changes"
}, },
pt: { pt: {
language: "português", language: "português",
@ -162,6 +164,8 @@ module.exports = {
next: "próximo", next: "próximo",
about: "sobre", about: "sobre",
thisWebsiteDoesNotTrackYou: "Esse website não rastreia você.", thisWebsiteDoesNotTrackYou: "Esse website não rastreia você.",
mrnandoChannel: "Canal do Mr. Nando" mrnandoChannel: "Canal do Mr. Nando",
liked: "curtiu",
changes: "mudanças"
} }
}; };

View file

@ -0,0 +1,7 @@
<div>
<div>
<h1 class="negativeMargin">{{ i18n[langKey].liked | smartTitle }}?</h1>
<hr style="margin-bottom: .4em;">
</div>
<a href='http://internetometer.com/give/52060'><img src='http://internetometer.com/image/52060.png'/></a>
</div>

View file

@ -227,6 +227,8 @@ layout: base.njk
{% include 'widgets/droidring.html' %} {% include 'widgets/droidring.html' %}
</div> </div>
{% include 'widgets/internetometer-aside.html' %}
<footer class="end-text"> <footer class="end-text">
<p>Adrian Victor, 2026</p> <p>Adrian Victor, 2026</p>
<p><a href="{{ ('/' ~ langKey ~ '/misc/about') | url }}">{{ i18n[langKey].thisWebsiteDoesNotTrackYou}}</a></p> <p><a href="{{ ('/' ~ langKey ~ '/misc/about') | url }}">{{ i18n[langKey].thisWebsiteDoesNotTrackYou}}</a></p>

View file

@ -16,5 +16,7 @@
"clickSoundLabel": "Click sound effect", "clickSoundLabel": "Click sound effect",
"thanksHeading": "Thanks", "thanksHeading": "Thanks",
"eleventyDesc": "Static website generator, used in this website.", "eleventyDesc": "Static website generator, used in this website.",
"githubPagesDesc": "For web hosting." "githubPagesDesc": "For web hosting.",
"recentChangesPluginDesc": "Plugin for listing recent commits.",
"inlineFaviconPluginDesc": "Support for inline link icons."
} }

View file

@ -31,18 +31,23 @@ background: "bear3.jpg"
<dd>{{ t.eleventyDesc }}</dd> <dd>{{ t.eleventyDesc }}</dd>
<dt>GitHub Pages</dt> <dt>GitHub Pages</dt>
<dd>{{ t.githubPagesDesc }}</dd> <dd>{{ t.githubPagesDesc }}</dd>
<dt><a href="https://www.npmjs.com/package/eleventy-plugin-recent-changes">eleventy-plugin-recent-changes</a> {{ i18n[langKey].by }} workeffortwaste</dt>
<dd>{{ t.recentChangesPluginDesc }}</dd>
<dt><a href="https://www.npmjs.com/package/eleventy-plugin-inline-link-favicon">eleventy-plugin-inline-link-favicon</a> {{ i18n[langKey].by }} bmuenzenmeyer</dt>
<dd>{{ t.inlineFaviconPluginDesc }}</dd>
</dl> </dl>
</main> </main>
<aside> <aside>
<div id="aboutChangelog"> <div id="aboutChangelog">
<div> <div>
<h1 class="nomargin negativeMargin">Changelog</h1> <h1 class="nomargin negativeMargin">{{ i18n[langKey].changes | smartTitle }}</h1>
<hr style="margin-bottom: .4em;"> <hr style="margin-bottom: .4em;">
</div> </div>
<ul> <ul>
{%- for commit in collections.recentChanges %} {%- for commit in collections.recentChanges %}
<li class="doubleLine"><b>{{ commit.abbrevHash }}</b> {{ commit.subject }}</li> <li class="doubleLine"><a class="textColored" href="https://github.com/adrianvic/adrianvic.github.io/commit/{{ commit.hash }}"><b>{{ commit.abbrevHash }}</b> {{ commit.subject }}</a></li>
{%- endfor %} {%- endfor %}
</ul> </ul>
</div> </div>
{% include 'widgets/internetometer-aside.html' %}
</aside> </aside>

View file

@ -16,5 +16,7 @@
"clickSoundLabel": "Efeito sonoro de clique", "clickSoundLabel": "Efeito sonoro de clique",
"thanksHeading": "Agradecimentos", "thanksHeading": "Agradecimentos",
"eleventyDesc": "Gerador de sites estáticos, usado neste website.", "eleventyDesc": "Gerador de sites estáticos, usado neste website.",
"githubPagesDesc": "Pela hospedagem do website." "githubPagesDesc": "Pela hospedagem do website.",
"recentChangesPluginDesc": "Plugin para listagem de commits recentes.",
"inlineFaviconPluginDesc": "Suporte para icones em links."
} }

View file

@ -86,4 +86,4 @@ function myFunction() {
</ul> </ul>
<h2>Link with favicon</h2> <h2>Link with favicon</h2>
<p>Here's a link to {% ai "https://github.com/adrianivc" %}my github page{% endai %}. Thanks to <a href="https://www.npmjs.com/package/eleventy-plugin-recent-changes">bmuenzenmeyer's eleventy-plugin-inline-link-favicon</a> <3</p> <p>Here's a link to {% ai "https://github.com/adrianivc" %}my github page{% endai %}. Thanks to <a href="https://www.npmjs.com/package/eleventy-plugin-inline-link-favicon">bmuenzenmeyer's eleventy-plugin-inline-link-favicon</a> <3</p>

View file

@ -274,6 +274,10 @@ footer a {
-webkit-box-orient: vertical; -webkit-box-orient: vertical;
} }
.textColored {
color: white;
}
.notificationBox { .notificationBox {
transition: transform 1s cubic-bezier(0.19, 1, 0.22, 1); transition: transform 1s cubic-bezier(0.19, 1, 0.22, 1);
width: fit-content; width: fit-content;