diff --git a/components/LanguageButton.tsx b/components/LanguageButton.tsx new file mode 100644 index 0000000..84fee50 --- /dev/null +++ b/components/LanguageButton.tsx @@ -0,0 +1,60 @@ +import React, { Fragment, useState } from 'react'; +import { Menu, Transition } from '@headlessui/react' +import { ChevronDownIcon } from '@heroicons/react/solid' + +import { + US_ICON, + ES_ICON, +} from '../constants'; + +const LanguageButton = ({}) => { + + const [active, setActive] = useState(null) + + return ( +
+ ) +} + +export default LanguageButton diff --git a/components/Navbar.tsx b/components/Navbar.tsx index 6bc1555..06dc18c 100644 --- a/components/Navbar.tsx +++ b/components/Navbar.tsx @@ -7,6 +7,7 @@ import { } from '../constants/strings' import HamburgerButton from './HamburgerButton' +import LanguageButton from './LanguageButton' const renderNavItems = () => { return ( @@ -31,8 +32,8 @@ function MobileNav({open, setOpen}: any) { absolute top-0 bg-solid-white left-0 h-screen w-screen transform ${open ? '-translate-x-0' : '-translate-x-full'} transition-transform duration-300 ease-in-out filter drop-shadow-md `} > -