From 97047940a57106b7d134a1785471583c293180f7 Mon Sep 17 00:00:00 2001 From: Mari Zhevagin Date: Sun, 18 Oct 2026 16:28:43 +0200 Subject: [PATCH 1/2] animasjon --- client/src/components/layout/BottomNav.tsx | 20 ++++++++++++++----- client/src/components/layout/StickyHeader.tsx | 4 ++-- 2 files changed, 17 insertions(+), 7 deletions(-) diff --git a/client/src/components/layout/BottomNav.tsx b/client/src/components/layout/BottomNav.tsx index fabcf28..928dd54 100644 --- a/client/src/components/layout/BottomNav.tsx +++ b/client/src/components/layout/BottomNav.tsx @@ -12,6 +12,8 @@ import type { SvgIconComponent } from '@mui/icons-material'; import { useCurrentUser } from '../../lib/useCurrentUser'; import { LoginRequiredDialog } from './LoginRequiredDialog'; import { NewRecipeButton } from './NewRecipeButton'; +import { motion } from 'motion/react'; +import { quick } from '../../lib/motion'; // rosa fokusring const FOCUS_RING = @@ -42,11 +44,19 @@ function TabLink({ {({ isActive }) => ( <> - {isActive ? ( -