Remove virtual pets from home page

This commit is contained in:
Helen Chong 2024-09-18 23:16:00 +08:00
parent 875ff961b0
commit 036645518c
3 changed files with 17 additions and 20 deletions

View File

@ -1,17 +0,0 @@
{%- macro virtualPet(url, img, alt, tooltip=alt) -%}
<li data-tooltip>
<a href="{{ url }}" data-tooltip-trigger title="{{ tooltip }}">
<img src="{{ img }}" alt="{{ alt }}" loading="lazy">
</a>
</li>
{%- endmacro -%}
<section class="content__section">
<h2>Virtual Pets</h2>
<p>Feel free to check out my virtual pets and feed them!</p>
<ul class="web-graphics adoptables">
{{ virtualPet("https://tamanotchi.world/13150c", "https://tamanotchi.world/i2/13150", "Pix, my tamaNOTchi") }}
{{ virtualPet("https://tamanotchi.world/14391c", "https://tamanotchi.world/i2/14391", "Neko, my tamaNOTchi") }}
{{ virtualPet("https://wobble.town/visit/2042", "https://wobble.town/visit/2042/wobble.gif", "Shelly, my Wobble") }}
</ul>
</section>

View File

@ -62,8 +62,6 @@ eleventyComputed:
{% include "main/statuscafe.njk" %} {% include "main/statuscafe.njk" %}
</section> </section>
{% include "main/virtualpets.njk" %}
<section class="content__section"> <section class="content__section">
<h2>Always Proud</h2> <h2>Always Proud</h2>
<div class="flag-progress-intersex-lesbian" role="img" aria-label="Custom pride flag which combines the lesbian pride flag and the progress pride flag triangle" style="height: 20rem; margin-bottom: 1em;"></div> <div class="flag-progress-intersex-lesbian" role="img" aria-label="Custom pride flag which combines the lesbian pride flag and the progress pride flag triangle" style="height: 20rem; margin-bottom: 1em;"></div>

View File

@ -9,6 +9,14 @@ eleventyNavigation:
order: 8 order: 8
--- ---
{%- macro virtualPet(url, img, alt, tooltip=alt) -%}
<li data-tooltip>
<a href="{{ url }}" data-tooltip-trigger title="{{ tooltip }}">
<img src="{{ img }}" alt="{{ alt }}" loading="lazy">
</a>
</li>
{%- endmacro -%}
{%- macro myPixelArt(file, alt, tooltip=alt) -%} {%- macro myPixelArt(file, alt, tooltip=alt) -%}
<li data-tooltip> <li data-tooltip>
<img src="/assets/adoptables/{{ file }}" alt="{{ alt }}" data-tooltip-trigger title="{{ tooltip }}" loading="lazy" tabindex="0"> <img src="/assets/adoptables/{{ file }}" alt="{{ alt }}" data-tooltip-trigger title="{{ tooltip }}" loading="lazy" tabindex="0">
@ -27,7 +35,15 @@ eleventyNavigation:
<p>(This page was last updated on <time datetime="{{ updated }}">{{ updated | formatDate }}</time>)</p> <p>(This page was last updated on <time datetime="{{ updated }}">{{ updated | formatDate }}</time>)</p>
</section> </section>
{% include "main/virtualpets.njk" %} <section class="content__section">
{% headingAnchor 2 %}Virtual Pets{% endheadingAnchor %}
<p>Feel free to check out my virtual pets and feed them!</p>
<ul class="web-graphics adoptables">
{{ virtualPet("https://tamanotchi.world/13150c", "https://tamanotchi.world/i2/13150", "Pix, my tamaNOTchi") }}
{{ virtualPet("https://tamanotchi.world/14391c", "https://tamanotchi.world/i2/14391", "Neko, my tamaNOTchi") }}
{{ virtualPet("https://wobble.town/visit/2042", "https://wobble.town/visit/2042/wobble.gif", "Shelly, my Wobble") }}
</ul>
</section>
<section class="content__section"> <section class="content__section">
{% headingAnchor 2 %}Personal Website Adoptables{% endheadingAnchor %} {% headingAnchor 2 %}Personal Website Adoptables{% endheadingAnchor %}