diff --git a/src/app/layout.tsx b/src/app/layout.tsx index 7d71037..b257865 100644 --- a/src/app/layout.tsx +++ b/src/app/layout.tsx @@ -6,6 +6,7 @@ import "@/app/globals.css"; import { NavigationBar } from "@/components/navigationBar/nav"; import { Toaster } from "react-hot-toast"; +import { SiteFooter } from "@/components/siteFooter"; const montserrat = Montserrat({ subsets: ["latin"], @@ -39,6 +40,7 @@ export default function RootLayout({ children }: RootLayoutProps) {
{children}
+ diff --git a/src/components/navigationBar/nav.tsx b/src/components/navigationBar/nav.tsx index 9b6bed0..92f83d1 100644 --- a/src/components/navigationBar/nav.tsx +++ b/src/components/navigationBar/nav.tsx @@ -8,7 +8,7 @@ import { cn } from "@/lib/utils"; import { Separator } from "@/components/ui/separator"; import { ThemeToggle } from "@/components/theme-toggle"; import { Button } from "@/components/ui/button"; -import { useRouter } from 'next/navigation'; +import { useRouter } from "next/navigation"; import { NavigationMenu, NavigationMenuContent, @@ -46,31 +46,27 @@ const landings = [ route: "/crm-landing", }, ]; -const ListItem = React.forwardRef< - React.ElementRef<"a">, - React.ComponentPropsWithoutRef<"a"> ->(({ className, title, children, ...props }, ref) => { - return ( -
  • - - -
    {title}
    -
    -

    - {children} -

    -
    -
    -
  • - ); -}); +const ListItem = React.forwardRef, React.ComponentPropsWithoutRef<"a">>( + ({ className, title, children, ...props }, ref) => { + return ( +
  • + + +
    {title}
    +
    +

    {children}

    +
    +
    +
  • + ); + } +); ListItem.displayName = "ListItem"; const unAuthenticatedComponents = () => { @@ -104,11 +100,7 @@ const authenticatedComponents = () => { -