Skip to content

Commit 0a7a0bd

Browse files
committed
fix: Fix sponsor navigation for mobile
Signed-off-by: Farhaan Bukhsh <[email protected]>
1 parent 7f7900e commit 0a7a0bd

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/_includes/navbar.njk

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -129,7 +129,8 @@
129129
<div class="flex flex-col space-y-4">
130130
{% for item in menuItems %}
131131
{% if not item.hasSubmenu %}
132-
<a href="{% if item.isExternal %}{{ item.link }}{% elif item.link and item.link[0] == '#' %}{{ item.link }}{% else %}{{ env.baseUrl }}{{ item.link }}{% endif %}"
132+
{# TODO: item.name != 'Sponsors' is a hack till we get the sponsors page up#}
133+
<a href="{% if item.isExternal %}{{ item.link }}{% elif item.link and item.link[0] == '#' and item.name != 'Sponsors' %}{{ item.link }}{% else %}{{ env.baseUrl }}{{ item.link }}{% endif %}"
133134
{% if item.isExternal %}target="_blank" rel="noopener noreferrer"{% endif %}
134135
class="p-4 bg-white/10 backdrop-blur-sm border border-white/20 rounded-lg hover:bg-white/20 flex justify-between items-center transition-all duration-200 text-white text-base font-medium no-underline">
135136
{{ item.name }}

0 commit comments

Comments
 (0)