-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
745fb7a
commit d10fc1e
Showing
10 changed files
with
74 additions
and
27 deletions.
There are no files selected for viewing
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,5 @@ | ||
import Image from 'next/image' | ||
import Link from 'next/link' | ||
import Image from "next/image"; | ||
import Link from "next/link"; | ||
|
||
export default function Header() { | ||
return ( | ||
|
@@ -20,24 +20,72 @@ export default function Header() { | |
<div className="md:hidden pr-4"> | ||
<button | ||
type="button" | ||
className="hs-collapse-toggle p-2 inline-flex justify-center items-center gap-x-2 rounded-lg border border-gray-200 bg-white text-gray-800 shadow-sm hover:bg-gray-50 disabled:opacity-50 disabled:pointer-events-none" data-hs-collapse="#navbar-collapse-with-animation" aria-controls="navbar-collapse-with-animation" | ||
id="navbar-collapse-button" | ||
className="hs-collapse-toggle p-2 inline-flex justify-center items-center gap-x-2 rounded-lg border border-gray-200 bg-white text-gray-800 shadow-sm hover:bg-gray-50 disabled:opacity-50 disabled:pointer-events-none" | ||
data-hs-collapse="#navbar-collapse-with-animation" | ||
aria-controls="navbar-collapse-with-animation" | ||
> | ||
<svg className="hs-collapse-open:hidden flex-shrink-0 size-6" xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="currentColor" strokeWidth="2" strokeLinecap="round" strokeLinejoin="round"><line x1="3" x2="21" y1="6" y2="6" /><line x1="3" x2="21" y1="12" y2="12" /><line x1="3" x2="21" y1="18" y2="18" /></svg> | ||
<svg className="hs-collapse-open:block hidden flex-shrink-0 size-6" xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="currentColor" strokeWidth="2" strokeLinecap="round" strokeLinejoin="round"><path d="M18 6 6 18" /><path d="m6 6 12 12" /></svg> | ||
<svg | ||
className="hs-collapse-open:hidden flex-shrink-0 size-6" | ||
xmlns="http://www.w3.org/2000/svg" | ||
width="24" | ||
height="24" | ||
viewBox="0 0 24 24" | ||
fill="none" | ||
stroke="currentColor" | ||
strokeWidth="2" | ||
strokeLinecap="round" | ||
strokeLinejoin="round" | ||
> | ||
<line x1="3" x2="21" y1="6" y2="6" /> | ||
<line x1="3" x2="21" y1="12" y2="12" /> | ||
<line x1="3" x2="21" y1="18" y2="18" /> | ||
</svg> | ||
<svg | ||
className="hs-collapse-open:block hidden flex-shrink-0 size-6" | ||
xmlns="http://www.w3.org/2000/svg" | ||
width="24" | ||
height="24" | ||
viewBox="0 0 24 24" | ||
fill="none" | ||
stroke="currentColor" | ||
strokeWidth="2" | ||
strokeLinecap="round" | ||
strokeLinejoin="round" | ||
> | ||
<path d="M18 6 6 18" /> | ||
<path d="m6 6 12 12" /> | ||
</svg> | ||
</button> | ||
</div> | ||
</div> | ||
<div id="navbar-collapse-with-animation" className="hs-collapse hidden overflow-hidden transition-all duration-300 basis-full grow md:block md:mt-10 bg-white px-4 shadow-lg md:shadow-none"> | ||
<div | ||
id="navbar-collapse-with-animation" | ||
className="hs-collapse hidden overflow-hidden transition-all duration-300 basis-full grow md:block md:mt-10 bg-white px-4 shadow-lg md:shadow-none" | ||
> | ||
<div className="flex flex-col gap-4 md:gap-10 mt-5 md:mt-0 md:ps-5 pb-4 md:pb-0 md:flex-row md:items-center md:justify-end font-title text-3xl text-primary"> | ||
<Link className="hover:text-primary-dark" href="/">Home</Link> | ||
<Link className="hover:text-primary-dark" href="/about">About</Link> | ||
<Link className="hover:text-primary-dark" href="/calendar">Calendar</Link> | ||
<Link className="hover:text-primary-dark" href="mailto:[email protected]">Contact</Link> | ||
<Link className="hover:text-primary-dark" href="/join">Join</Link> | ||
<Link className="hover:text-primary-dark" href="/"> | ||
Home | ||
</Link> | ||
<Link className="hover:text-primary-dark" href="/about"> | ||
About | ||
</Link> | ||
<Link className="hover:text-primary-dark" href="/calendar"> | ||
Calendar | ||
</Link> | ||
<Link | ||
className="hover:text-primary-dark" | ||
href="mailto:[email protected]" | ||
> | ||
Contact | ||
</Link> | ||
<Link className="hover:text-primary-dark" href="/join"> | ||
Join | ||
</Link> | ||
</div> | ||
</div> | ||
</div> | ||
</nav> | ||
</header> | ||
) | ||
); | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Binary file not shown.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters