fix z-index of mobile menu bar relative to directory search/filter; improve ui
This commit is contained in:
parent
3aa8050b3f
commit
b32c609a3b
3 changed files with 9 additions and 10 deletions
|
|
@ -79,7 +79,7 @@ define(['./workbox-54d0af47'], (function (workbox) { 'use strict';
|
||||||
*/
|
*/
|
||||||
workbox.precacheAndRoute([{
|
workbox.precacheAndRoute([{
|
||||||
"url": "index.html",
|
"url": "index.html",
|
||||||
"revision": "0.301fc7pcvng"
|
"revision": "0.3s1v9t4dfmo"
|
||||||
}], {});
|
}], {});
|
||||||
workbox.cleanupOutdatedCaches();
|
workbox.cleanupOutdatedCaches();
|
||||||
workbox.registerRoute(new workbox.NavigationRoute(workbox.createHandlerBoundToURL("index.html"), {
|
workbox.registerRoute(new workbox.NavigationRoute(workbox.createHandlerBoundToURL("index.html"), {
|
||||||
|
|
|
||||||
|
|
@ -94,7 +94,7 @@ const handleLogout = () => {
|
||||||
|
|
||||||
<!-- Mobile menu -->
|
<!-- Mobile menu -->
|
||||||
<div v-show="isOpen"
|
<div v-show="isOpen"
|
||||||
class="absolute left-0 right-0 top-14 z-50 border-b bg-background md:hidden
|
class="absolute left-0 right-0 top-14 z-[100] border-b bg-background md:hidden
|
||||||
[@supports(backdrop-filter:blur(24px))]:bg-background/95 [@supports(backdrop-filter:blur(24px))]:backdrop-blur-sm">
|
[@supports(backdrop-filter:blur(24px))]:bg-background/95 [@supports(backdrop-filter:blur(24px))]:backdrop-blur-sm">
|
||||||
<div class="container space-y-1 py-3">
|
<div class="container space-y-1 py-3">
|
||||||
<router-link v-for="item in navigation" :key="item.name" :to="item.href"
|
<router-link v-for="item in navigation" :key="item.name" :to="item.href"
|
||||||
|
|
|
||||||
|
|
@ -63,7 +63,7 @@ const filteredItems = computed(() => {
|
||||||
<div class="container mx-auto px-4 py-2 md:py-8">
|
<div class="container mx-auto px-4 py-2 md:py-8">
|
||||||
<div class="space-y-4">
|
<div class="space-y-4">
|
||||||
<!-- Directory Header -->
|
<!-- Directory Header -->
|
||||||
<div class="text-center space-y-2 mb-6">
|
<div class="hidden md:block text-center space-y-2 mb-6">
|
||||||
<h1 class="text-2xl font-bold tracking-tight sm:text-3xl">
|
<h1 class="text-2xl font-bold tracking-tight sm:text-3xl">
|
||||||
{{ t('directory.title') }}
|
{{ t('directory.title') }}
|
||||||
</h1>
|
</h1>
|
||||||
|
|
@ -72,13 +72,12 @@ const filteredItems = computed(() => {
|
||||||
</p>
|
</p>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<!-- Directory Filter -->
|
<!-- Sticky Container for Filter -->
|
||||||
<DirectoryFilter
|
<div class="sticky top-14 z-40 -mx-4 bg-background/95 backdrop-blur-sm border-b w-screen left-0">
|
||||||
v-model:category="category"
|
<div class="container mx-auto px-4">
|
||||||
v-model:search="search"
|
<DirectoryFilter v-model:category="category" v-model:search="search" v-model:town="town" class="py-4" />
|
||||||
v-model:town="town"
|
</div>
|
||||||
class="sticky top-0 z-50 -mx-4 px-4 py-2 bg-background/95 backdrop-blur-sm border-b w-screen left-0"
|
</div>
|
||||||
/>
|
|
||||||
|
|
||||||
<!-- Directory Grid -->
|
<!-- Directory Grid -->
|
||||||
<DirectoryGrid :items="filteredItems" class="pt-4" />
|
<DirectoryGrid :items="filteredItems" class="pt-4" />
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue