Skip to content

Commit

Permalink
Fix drawer christmas quiz
Browse files Browse the repository at this point in the history
  • Loading branch information
creeperkatze committed Jan 4, 2025
1 parent 30aa19b commit 03b52f9
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions components/Navbar.vue
Original file line number Diff line number Diff line change
Expand Up @@ -95,7 +95,7 @@
<NuxtLink :to="localePath('/idiot-test/')" class="navbar-element text-left"
@click="drawerOpen = !drawerOpen">{{
$t('navbar.idiot-test') }}</NuxtLink>
<NuxtLink :to="localePath('/christmas-quiz/')" class="navbar-element text-left christmas-stripes-drawer"
<NuxtLink :to="localePath('/christmas-quiz/')" :class="['navbar-element text-left', { 'christmas-stripes-drawer': isDecember }]"
@click="drawerOpen = !drawerOpen">{{
$t('navbar.christmas-quiz') }}</NuxtLink>
</nav>
Expand Down Expand Up @@ -189,7 +189,7 @@ nav,
.christmas-stripes-drawer:not(.router-link-active)
{
background: repeating-linear-gradient(-45deg, rgba(255, 96, 96, 1), rgba(255, 96, 96, 1) 5%, rgba(255, 255, 255, 1) 5%, rgba(255, 255, 255, 1) 10%);
background-size: 20% 100%;
background-size: 50% 100%;
background-clip: text;
-webkit-background-clip: text;
color: transparent;
Expand Down

0 comments on commit 03b52f9

Please sign in to comment.