diff --git a/apps/infoalloggi/src/components/Layout.tsx b/apps/infoalloggi/src/components/Layout.tsx index a16821e..1d700ec 100644 --- a/apps/infoalloggi/src/components/Layout.tsx +++ b/apps/infoalloggi/src/components/Layout.tsx @@ -1,20 +1,6 @@ import { getCookie } from "cookies-next"; -import { - ExternalLink, - Mail, - MessagesSquare, - Paperclip, - Search, - ShoppingBag, - Tickets, - UserCog, -} from "lucide-react"; import Head from "next/head"; -import Link from "next/link"; -import { usePathname } from "next/navigation"; -import { useRouter } from "next/router"; -import { type ReactNode, useContext } from "react"; -import toast from "react-hot-toast"; +import type { ReactNode } from "react"; import { SIDEBAR_COOKIE_NAME, Sidebar, @@ -23,10 +9,7 @@ import { BannerFactory } from "~/components/banners"; import { Footer, MiniFooter } from "~/components/footer"; import { LoadingPage } from "~/components/loading"; import { SiteHeader } from "~/components/navbar/site-header"; -import { WhatsAppIcon2 } from "~/components/svgs"; -import { Button } from "~/components/ui/button"; -import { Separator } from "~/components/ui/separator"; -import { UserViewContext, UserViewProvider } from "~/lib/userViewContext"; +import { UserViewProvider } from "~/lib/userViewContext"; import { cn } from "~/lib/utils"; import { useTranslation } from "~/providers/I18nProvider"; import { @@ -36,6 +19,7 @@ import { import type { UsersId } from "~/schemas/public/Users"; import type { ValidSession } from "~/server/api/trpc"; import { api } from "~/utils/api"; +import { UserViewHeader } from "./area-riservata/userViewHeader"; interface Props { bodyClassName?: string; @@ -68,7 +52,6 @@ export const Layout = ({ {!noFooter &&