Skip to content

Commit 0fe1add

Browse files
CopilotjbamptonCopilot
authored
Add Nunjucks button to footer (#467)
* Add Nunjucks button to footer between 11ty and Tailwind Agent-Logs-Url: https://github.com/NextCommunity/NextCommunity.github.io/sessions/17998eeb-b35f-412e-85dc-ec4382e6ab9b Co-authored-by: jbampton <418747+jbampton@users.noreply.github.com> * Potential fix for pull request finding Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com> * Refactor footer tech buttons into Nunjucks loop with aria-label and rel=noopener noreferrer Agent-Logs-Url: https://github.com/NextCommunity/NextCommunity.github.io/sessions/ec46b339-e1b6-4c1b-9bcb-608018487de6 Co-authored-by: jbampton <418747+jbampton@users.noreply.github.com> --------- Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com> Co-authored-by: jbampton <418747+jbampton@users.noreply.github.com> Co-authored-by: John Bampton <jbampton@users.noreply.github.com> Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>
1 parent 14efb2d commit 0fe1add

1 file changed

Lines changed: 7 additions & 2 deletions

File tree

src/_includes/footer-details.njk

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,8 +13,13 @@
1313
</p>
1414

1515
<div class="flex items-center justify-center md:justify-start gap-3 mt-4">
16-
<a href="https://www.11ty.dev/" target="_blank" class="text-[10px] font-bold px-2 py-1 rounded bg-[var(--bg-card)] border border-[var(--border-color)] text-[var(--text-muted)] hover:text-accent transition-all">🎈 11ty</a>
17-
<a href="https://tailwindcss.com/" target="_blank" class="text-[10px] font-bold px-2 py-1 rounded bg-[var(--bg-card)] border border-[var(--border-color)] text-[var(--text-muted)] hover:text-accent transition-all">🌊 Tailwind</a>
16+
{% for item in [
17+
{ url: "https://www.11ty.dev/", text: "🎈 11ty", label: "11ty (opens in a new tab)" },
18+
{ url: "https://mozilla.github.io/nunjucks/", text: "🔧 Nunjucks", label: "Nunjucks (opens in a new tab)" },
19+
{ url: "https://tailwindcss.com/", text: "🌊 Tailwind", label: "Tailwind CSS (opens in a new tab)" }
20+
] %}
21+
<a href="{{ item.url }}" target="_blank" rel="noopener noreferrer" aria-label="{{ item.label }}" class="text-[10px] font-bold px-2 py-1 rounded bg-[var(--bg-card)] border border-[var(--border-color)] text-[var(--text-muted)] hover:text-accent transition-all">{{ item.text }}</a>
22+
{% endfor %}
1823
</div>
1924
</div>
2025

0 commit comments

Comments
 (0)