Cull unused AppWrapper details

This commit is contained in:
2024-12-28 16:59:16 -06:00
parent e35d8c0199
commit f90ee1a969

View File

@@ -1,21 +1,10 @@
import { cn } from "@/utils/helpers"; import { cn } from "@/utils/helpers";
import { Disclosure } from "@headlessui/react";
import dynamic from "next/dynamic"; import dynamic from "next/dynamic";
import Link from "next/link";
import type { FunctionComponent, ReactNode } from "react"; import type { FunctionComponent, ReactNode } from "react";
import { HiBars3, HiXMark } from "react-icons/hi2";
const navigation: { id: string; name: string; href: string }[] = [
{ id: "home", name: "Home", href: "/" },
{ id: "projects", name: "Projects", href: "/projects" },
{ id: "contact", name: "Contact", href: "/contact" },
];
type WrapperProps = { type WrapperProps = {
className?: string; className?: string;
hideNavigation?: boolean; children?: ReactNode;
current?: string;
children?: ReactNode | ReactNode[] | null;
}; };
const DotsDynamic = dynamic( const DotsDynamic = dynamic(
@@ -24,9 +13,7 @@ const DotsDynamic = dynamic(
) )
const AppWrapper: FunctionComponent<WrapperProps> = ({ const AppWrapper: FunctionComponent<WrapperProps> = ({
current,
children, children,
hideNavigation,
className, className,
}: WrapperProps) => { }: WrapperProps) => {
return ( return (