-
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.
commit 02317587b9e3d6ede1efa8dcfe292ce9c8fb7809 Author: Samuel Ping <sam.ping@mongodb.com> Date: Sun Dec 31 02:30:40 2023 -0500 Color overhaul commit f2607cced885623f455cf188824b1794d7de4f89 Author: Samuel Ping <sam.ping@mongodb.com> Date: Sat Dec 30 16:54:03 2023 -0500 Minor text edits commit b0ab22387ce44fe8cdee43223431fd62ef7e461c Author: Samuel Ping <sam.ping@mongodb.com> Date: Sat Dec 30 03:15:47 2023 -0500 Add metadata commit 6ae7c7f8d8703441511e41a326b3cf4a6376c5f9 Author: Samuel Ping <sam.ping@mongodb.com> Date: Sat Dec 30 03:00:12 2023 -0500 Minor cleanup and text edits commit 64e1321a6224f34bd9514ffc76254c20217954ba Author: Samuel Ping <sam.ping@mongodb.com> Date: Sat Dec 30 02:44:19 2023 -0500 Add page titles commit bfcff3ff31dabf875369b6f4bb7d6605fc8f90f5 Author: Samuel Ping <sam.ping@mongodb.com> Date: Sat Dec 30 01:52:20 2023 -0500 Refactor personal-website -> samuelp.ing commit a47a2169bed75612d4ea9288a5937fb457197aad Author: Samuel Ping <sam.ping@mongodb.com> Date: Sat Dec 30 01:39:32 2023 -0500 Update deploy commit 235bc668081e8b3eea65bc643a33dfae62ae1c14 Author: Samuel Ping <sam.ping@mongodb.com> Date: Sat Dec 30 01:38:51 2023 -0500 Update personal website project mdx commit 3b2863471b8934337953a9ad73c47d9591afcd75 Author: Samuel Ping <sam.ping@mongodb.com> Date: Sat Dec 30 01:13:57 2023 -0500 Update about page commit edd742016a35006a0414c3fb4990c5ccb4fda966 Author: Samuel Ping <sam.ping@mongodb.com> Date: Sat Dec 30 01:04:59 2023 -0500 Uninstall old packages commit 7a23b190ce3ea635cfbeba96522b796896f08d08 Author: Samuel Ping <sam.ping@mongodb.com> Date: Sat Dec 30 01:04:12 2023 -0500 Update README commit 98e55fe73a5e65f43325cb35f9d2fe0221068c9a Author: Samuel Ping <sam.ping@mongodb.com> Date: Sat Dec 30 00:58:23 2023 -0500 Ignore DS_Store commit 1c9080cc09b8b8281d6ae167b0f5529dd9fcd4d2 Author: Samuel Ping <sam.ping@mongodb.com> Date: Sat Dec 30 00:58:14 2023 -0500 Bring back animated logo commit 4dcbd5e1809686a6a0038bf9e0f786ff33a1ce73 Author: Samuel Ping <sam.ping@mongodb.com> Date: Sat Dec 30 00:58:03 2023 -0500 9MB -> 300KB shrimp photo
- Loading branch information
1 parent
22ea597
commit f2de1d7
Showing
12 changed files
with
107 additions
and
92 deletions.
There are no files selected for viewing
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
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,53 +1,60 @@ | ||
'use client'; | ||
|
||
import Link from 'next/link'; | ||
import { usePathname } from 'next/navigation'; | ||
|
||
import NavbarButton from '@/components/navbarButton'; | ||
import { EnvelopeIcon, GitHubIcon, LinkedInIcon } from '@/components/icons'; | ||
|
||
const Footer = ({ navbarButtons }) => ( | ||
<footer className="flex flex-col space-y-5"> | ||
<div className="flex flex-row justify-center md:justify-end space-x-4"> | ||
{navbarButtons.map((navButton) => ( | ||
<NavbarButton | ||
title={navButton.title} | ||
route={navButton.route} | ||
key={navButton.route} | ||
/> | ||
))} | ||
</div> | ||
<div className="w-full flex flex-row justify-center md:justify-end items-center"> | ||
<div className="flex flex-row space-x-5 items-center"> | ||
<Link | ||
href="https://github.com/samuel-ping" | ||
target="_blank" | ||
rel="noopener noreferrer" | ||
> | ||
<button className="flex items-center"> | ||
<GitHubIcon className="h-10 w-10 text-black hover:text-green-500 transition-colors" /> | ||
</button> | ||
</Link> | ||
<Link | ||
href="https://linkedin.com/in/samuelping" | ||
target="_blank" | ||
rel="noopener noreferrer" | ||
> | ||
<button className="flex items-center"> | ||
<LinkedInIcon className="h-10 w-10 text-black hover:text-green-500 transition-colors" /> | ||
</button> | ||
</Link> | ||
<Link | ||
href="mailto:samuel.y.ping@gmail.com" | ||
target="_blank" | ||
rel="noopener noreferrer" | ||
> | ||
<button className="flex items-center"> | ||
<EnvelopeIcon className="h-10 w-10 text-black hover:text-green-500 transition-colors" /> | ||
</button> | ||
</Link> | ||
const Footer = ({ navbarButtons }) => { | ||
const pathname = usePathname(); | ||
|
||
return ( | ||
<footer className="flex flex-col space-y-5"> | ||
<div className="flex flex-row justify-center md:justify-end space-x-4"> | ||
{navbarButtons.map((button) => ( | ||
<NavbarButton | ||
active={`/${pathname.split('/')[1]}` === button.route} | ||
title={button.title} | ||
route={button.route} | ||
key={button.route} | ||
/> | ||
))} | ||
</div> | ||
|
||
<div className="w-full flex flex-row justify-center md:justify-end items-center"> | ||
<div className="flex flex-row space-x-5 items-center"> | ||
<Link | ||
href="https://github.com/samuel-ping" | ||
target="_blank" | ||
rel="noopener noreferrer" | ||
> | ||
<button className="flex items-center"> | ||
<GitHubIcon className="h-10 w-10 text-black hover:text-primary transition-colors" /> | ||
</button> | ||
</Link> | ||
<Link | ||
href="https://linkedin.com/in/samuelping" | ||
target="_blank" | ||
rel="noopener noreferrer" | ||
> | ||
<button className="flex items-center"> | ||
<LinkedInIcon className="h-10 w-10 text-black hover:text-primary transition-colors" /> | ||
</button> | ||
</Link> | ||
<Link | ||
href="mailto:samuel.y.ping@gmail.com" | ||
target="_blank" | ||
rel="noopener noreferrer" | ||
> | ||
<button className="flex items-center"> | ||
<EnvelopeIcon className="h-10 w-10 text-black hover:text-primary transition-colors" /> | ||
</button> | ||
</Link> | ||
</div> | ||
</div> | ||
</div> | ||
</footer> | ||
); | ||
</footer> | ||
); | ||
}; | ||
|
||
export default Footer; |
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
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