Fixing badge links on mobile, closing sidebar on clicked links

This commit is contained in:
Ronan Berder
2025-05-07 18:58:42 +08:00
parent 733c7f9301
commit 7dd05d4473
12 changed files with 26 additions and 23 deletions
+3 -2
View File
@@ -51,7 +51,8 @@
"hx-boost": "true",
"hx-select": "#content",
"hx-target": "#content",
"hx-swap": "outerHTML"
"hx-swap": "outerHTML",
"@click": "open = false"
} %}
{% set icon_home %}{% lucide "house" %}{% endset %}
@@ -65,7 +66,7 @@
{ label: "Introduction", url: "/introduction", icon: icon_info, attrs: link_attrs },
{ label: "Installation", url: "/installation", icon: icon_square_terminal, attrs: link_attrs },
{ label: "Kitchen sink", url: "/kitchen-sink", icon: icon_layout_dashboard, attrs: link_attrs },
{ label: "GitHub", url: "https://github.com/hunvreus/basecoat", icon: icon_github, attrs: { "target": "_blank" } }
{ label: "GitHub", url: "https://github.com/hunvreus/basecoat", icon: icon_github, attrs: { "target": "_blank", "@click": "open = false" } }
]},
{ type: 'group', label: 'Components', items: [
{ label: "Accordion", url: "/components/accordion", attrs: link_attrs },