From 9b12d79afd9d9980ffe73ad3b104b21e95d0d6ef Mon Sep 17 00:00:00 2001 From: Afonso Santos Date: Mon, 16 Oct 2023 19:32:57 +0100 Subject: [PATCH] Minimal adjust --- .../landing/Header/NavBar/NavBar.tsx | 172 ++++++------------ 1 file changed, 59 insertions(+), 113 deletions(-) diff --git a/packages/ui/components/landing/Header/NavBar/NavBar.tsx b/packages/ui/components/landing/Header/NavBar/NavBar.tsx index 0801c778..4aa72b1e 100644 --- a/packages/ui/components/landing/Header/NavBar/NavBar.tsx +++ b/packages/ui/components/landing/Header/NavBar/NavBar.tsx @@ -1,6 +1,6 @@ import { useState } from "react"; import Link from "next/link"; -import { Grid, Dropdown, Menu, Space } from "antd"; +import { Grid, Space } from "antd"; import { DownOutlined, DashboardOutlined, LogoutOutlined } from "@ant-design/icons"; @@ -13,12 +13,10 @@ import { getUserInitials } from "../utils"; import styles from "./style.module.css"; import { Fragment } from 'react' -import { Transition, Popover } from '@headlessui/react' +import { Transition, Menu } from '@headlessui/react' import { ChevronDownIcon } from '@heroicons/react/20/solid' -function classNames(...classes: any) { - return classes.filter(Boolean).join(' ') -} + const { useBreakpoint } = Grid; @@ -36,24 +34,6 @@ const Entry = ({ href, text }: EntryProps) => ( interface UserDropDownProps { logout: () => void; } -// const EventosDropDown = () => ( -// -// ); - const UserDropDown = ({ logout }: UserDropDownProps) => ( ); }