-
Notifications
You must be signed in to change notification settings - Fork 1
feat(components): create footer #69
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Open
elayildiz
wants to merge
7
commits into
main
Choose a base branch
from
feat/54-footer
base: main
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Open
Changes from all commits
Commits
Show all changes
7 commits
Select commit
Hold shift + click to select a range
1eb457e
feat(components): add initial footer component
elayildiz 31fe82a
feat(components): correct theme colours/fonts, added a reusable Logo …
elayildiz 9b39186
feat(components): added placeholder links for pages and socials
elayildiz 39facf2
feat(components): added socials icons and adjusted layout
elayildiz c847942
feat(components): added "Contact us" hover animation
elayildiz d76e98d
feat(components): add react icons
elayildiz c1a03b4
feat(components): removed redundant code and added consistency.
elayildiz File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or 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
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains hidden or 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 hidden or 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 hidden or 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 |
|---|---|---|
| @@ -0,0 +1,147 @@ | ||
| import Link from "next/link" | ||
| import { FaDiscord, FaInstagram, FaTiktok } from "react-icons/fa" | ||
| import { Logo } from "@/components/Logo/Logo" | ||
|
|
||
| export function Footer() { | ||
| return ( | ||
| <footer className="bg-brand-primary text-brand-light-grey"> | ||
| <div className="mx-auto px-20 py-10"> | ||
| {/* Main Section */} | ||
| <div className="flex flex-col gap-12 md:flex-row md:justify-between"> | ||
| {/* Title */} | ||
| <div className="max-w-md"> | ||
| <h3 className="inline-block origin-center font-heading text-[2.5rem] uppercase tracking-tight hover:animate-[wiggle_1500ms_ease-out]"> | ||
| Contact Us! | ||
| </h3> | ||
| <a | ||
| className="mt-10 block text-brand-light-grey/90 text-xl" | ||
| href="mailto:uoavolleyball+secretary@gmail.com" | ||
| > | ||
| uoavolleyball+secretary@gmail.com | ||
| </a> | ||
| {/* Socials */} | ||
| <div className="mt-6 flex gap-8"> | ||
| <a | ||
| className="group flex h-13 w-13 items-center justify-center rounded-full border-2 border-brand-light-grey transition duration-300 ease-in-out hover:bg-white" | ||
| href="https://www.instagram.com/uoavc/?hl=en" | ||
| rel="noopener noreferrer" | ||
| target="_blank" | ||
| > | ||
| <FaInstagram | ||
| className="text-brand-light-grey transition duration-300 ease-in-out group-hover:text-brand-primary" | ||
| size={32} | ||
| /> | ||
| </a> | ||
|
|
||
| <a | ||
| className="group flex h-13 w-13 items-center justify-center rounded-full border-2 border-brand-light-grey transition duration-300 ease-in-out hover:bg-white" | ||
| href="https://www.tiktok.com/@uoavc" | ||
| rel="noopener noreferrer" | ||
| target="_blank" | ||
| > | ||
| <FaTiktok | ||
| className="text-brand-light-grey transition duration-300 ease-in-out group-hover:text-brand-primary" | ||
| size={32} | ||
| /> | ||
| </a> | ||
|
|
||
| <a | ||
| className="group flex h-13 w-13 items-center justify-center rounded-full border-2 border-brand-light-grey transition duration-300 ease-in-out hover:bg-white" | ||
| href="https://discord.com/invite/aMDKvsWcyz" | ||
| rel="noopener noreferrer" | ||
| target="_blank" | ||
| > | ||
| <FaDiscord | ||
| className="text-brand-light-grey transition duration-300 ease-in-out group-hover:text-brand-primary" | ||
| size={32} | ||
| /> | ||
| </a> | ||
| </div> | ||
| </div> | ||
|
|
||
| {/* Page Links */} | ||
| <div className="flex items-start gap-16 lg:gap-24"> | ||
| {/* Events */} | ||
| <div className="pt-10"> | ||
| <h4 className="mb-4 font-semibold text-xl">Events</h4> | ||
|
|
||
| <ul className="space-y-2 text-brand-light-grey/90 text-xl"> | ||
| <li> | ||
| <Link className="transition hover:underline" href="/events/upcoming"> | ||
| Upcoming Events | ||
| </Link> | ||
| </li> | ||
|
|
||
| <li> | ||
| <Link className="transition hover:underline" href="/events/past"> | ||
| Past Events | ||
| </Link> | ||
| </li> | ||
| </ul> | ||
| </div> | ||
|
|
||
| {/* About */} | ||
| <div className="pt-10"> | ||
| <h4 className="mb-4 font-semibold text-xl">About</h4> | ||
|
|
||
| <ul className="space-y-2 text-brand-light-grey/90 text-xl"> | ||
| <li> | ||
| <Link className="transition hover:underline" href="/events/executives"> | ||
| Executives | ||
| </Link> | ||
| </li> | ||
|
|
||
| <li> | ||
| <Link className="transition hover:underline" href="/events/comp-team"> | ||
| Comp Team | ||
| </Link> | ||
| </li> | ||
| </ul> | ||
| </div> | ||
|
|
||
| {/* FAQ */} | ||
| <div className="pt-10"> | ||
| <h4 className="mb-4 font-semibold text-xl">FAQ</h4> | ||
|
|
||
| <ul className="space-y-2 text-brand-light-grey/90 text-xl"> | ||
| <li> | ||
| <Link className="transition hover:underline" href="/events/faq"> | ||
| FAQ | ||
| </Link> | ||
| </li> | ||
| </ul> | ||
| </div> | ||
|
|
||
| {/* Login */} | ||
| <div className="pt-10"> | ||
| <h4 className="mb-4 font-semibold text-xl">Login</h4> | ||
|
|
||
| <ul className="space-y-2 text-brand-light-grey/90 text-xl"> | ||
| <li> | ||
| <Link className="transition hover:underline" href="/events/signup"> | ||
| Sign Up | ||
| </Link> | ||
| </li> | ||
| <li> | ||
| <Link className="transition hover:underline" href="/events/login"> | ||
| Login | ||
| </Link> | ||
| </li> | ||
| </ul> | ||
| </div> | ||
|
|
||
| {/* Logo */} | ||
| <div className="pt-15"> | ||
| <Logo /> | ||
| </div> | ||
| </div> | ||
| </div> | ||
|
|
||
| {/* Bottom Bar */} | ||
| <div className="mt-10 border-brand-light-grey/70 border-t pt-4"> | ||
| <p className="text-brand-light-grey text-xl">©2026 UOAVC + WDCC</p> | ||
| </div> | ||
| </div> | ||
| </footer> | ||
| ) | ||
| } |
This file contains hidden or 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 |
|---|---|---|
| @@ -0,0 +1,20 @@ | ||
| import Image from "next/image" | ||
| import Link from "next/link" | ||
|
|
||
| const FOCUS_RING = | ||
| "rounded-sm focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2" | ||
|
|
||
| export function Logo() { | ||
| return ( | ||
| <Link aria-label="UOAVC home" className={FOCUS_RING} href="/"> | ||
| <Image | ||
| alt="UOAVC logo" | ||
| className="transition-transform duration-300 ease-out hover:rotate-20 hover:scale-110" | ||
| height={64} | ||
| priority | ||
| src="/logo.svg" | ||
| width={64} | ||
| /> | ||
| </Link> | ||
| ) | ||
| } |
This file contains hidden or 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 +1,3 @@ | ||
| export { Footer } from "./Footer/Footer" | ||
| export { Logo } from "./Logo/Logo" | ||
| export { Navbar } from "./Navbar/Navbar" |
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.