Merge pull request #152 from billray0259/issue132

Updated join-us and FAQ links
This commit is contained in:
AbdBarho
2022-12-29 18:33:01 +01:00
committed by GitHub
3 changed files with 5 additions and 5 deletions
+1 -1
View File
@@ -27,7 +27,7 @@ export function Footer() {
<Link href="#" aria-label="Our Team" className="hover:underline underline-offset-2"> <Link href="#" aria-label="Our Team" className="hover:underline underline-offset-2">
Our Team Our Team
</Link> </Link>
<Link href="#join-us" aria-label="Join Us" className="hover:underline underline-offset-2"> <Link href="/#join-us" aria-label="Join Us" className="hover:underline underline-offset-2">
Join Us Join Us
</Link> </Link>
</div> </div>
+2 -2
View File
@@ -103,8 +103,8 @@ export function Header(props) {
className="absolute inset-x-0 top-0 z-0 origin-top rounded-b-2xl bg-white px-6 pb-6 pt-32 shadow-2xl shadow-gray-900/20" className="absolute inset-x-0 top-0 z-0 origin-top rounded-b-2xl bg-white px-6 pb-6 pt-32 shadow-2xl shadow-gray-900/20"
> >
<div className="space-y-4"> <div className="space-y-4">
<MobileNavLink href="#join-us">Join Us</MobileNavLink> <MobileNavLink href="/#join-us">Join Us</MobileNavLink>
<MobileNavLink href="#faqs">FAQs</MobileNavLink> <MobileNavLink href="/#faqs">FAQs</MobileNavLink>
</div> </div>
<div className="mt-8 flex flex-col gap-4"></div> <div className="mt-8 flex flex-col gap-4"></div>
</Popover.Panel> </Popover.Panel>
+2 -2
View File
@@ -8,8 +8,8 @@ export function NavLinks(): JSX.Element {
return ( return (
<> <>
{[ {[
["Join Us", "#join-us"], ["Join Us", "/#join-us"],
["FAQ", "#faq"], ["FAQ", "/#faq"],
].map(([label, href], index) => ( ].map(([label, href], index) => (
<Link <Link
key={label} key={label}