diff --git a/src/app/(client-components)/(Header)/LangDropdownSingle.tsx b/src/app/(client-components)/(Header)/LangDropdownSingle.tsx new file mode 100644 index 0000000..aa2e933 --- /dev/null +++ b/src/app/(client-components)/(Header)/LangDropdownSingle.tsx @@ -0,0 +1,115 @@ +"use client"; + +import { Popover, Transition } from "@headlessui/react"; +import { ChevronDownIcon } from "@heroicons/react/24/solid"; +import { GlobeAltIcon } from "@heroicons/react/24/outline"; +import { FC, Fragment } from "react"; + +export const headerLanguage = [ + { + id: "English", + name: "English", + description: "United State", + href: "##", + active: true, + }, + { + id: "Vietnamese", + name: "Vietnamese", + description: "Vietnamese", + href: "##", + }, + { + id: "Francais", + name: "Francais", + description: "Belgique", + href: "##", + }, + { + id: "Francais", + name: "Francais", + description: "Canada", + href: "##", + }, + { + id: "Francais", + name: "Francais", + description: "Belgique", + href: "##", + }, + { + id: "Francais", + name: "Francais", + description: "Canada", + href: "##", + }, +]; + +interface LangDropdownProps { + panelClassName?: string; +} + +const LangDropdown: FC = ({ + panelClassName = "z-10 w-screen max-w-[280px] px-4 mt-4 right-0 sm:px-0", +}) => { + return ( +
+ + {({ open, close }) => ( + <> + + + + Language + + + + + + + + )} + +
+ ); +}; +export default LangDropdown;