fix: Принудительно открываем разделы сайта в текущей вкладке

This commit is contained in:
Иван Кузьменко 2026-04-11 21:37:48 +03:00
parent 5472ca22fe
commit ee3be629a0

View file

@ -15,7 +15,11 @@
class="flex shrink-0 flex-row gap-2 bg-slate-100 not-landscape:justify-around not-landscape:overflow-x-auto not-landscape:sm:px-2 landscape:flex-col landscape:overflow-y-auto landscape:sm:py-2" class="flex shrink-0 flex-row gap-2 bg-slate-100 not-landscape:justify-around not-landscape:overflow-x-auto not-landscape:sm:px-2 landscape:flex-col landscape:overflow-y-auto landscape:sm:py-2"
> >
{#each routes as route (route.href)} {#each routes as route (route.href)}
<a class="nav-button {isActive(route.href) ? 'active' : ''}" href={route.href}> <a
class="nav-button {isActive(route.href) ? 'active' : ''}"
href={route.href}
target="_self"
>
<div class="p-1"> <div class="p-1">
<HoverIcon <HoverIcon
src={route.icon} src={route.icon}