-
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.
feat: use phospher icons & add navbar
- Loading branch information
Showing
11 changed files
with
176 additions
and
56 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,14 +1,14 @@ | ||
import { ProfilePicture } from "./Images"; | ||
import { Wave } from "./icons/Wave"; | ||
import { H1 } from "./utils/Titles"; | ||
|
||
export const Header = () => { | ||
return ( | ||
<div className="flex flex-col gap-y-2 items-center"> | ||
<ProfilePicture /> | ||
<H1> | ||
Hiya <div className="inline-block animate-waving-hand">👋</div>, I'm | ||
Goudham | ||
</H1> | ||
</div> | ||
<H1> | ||
Hiya{" "} | ||
<div className="inline-block animate-waving-hand"> | ||
<Wave /> | ||
</div> | ||
, I'm Goudham | ||
</H1> | ||
); | ||
}; |
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 |
---|---|---|
@@ -0,0 +1,29 @@ | ||
import Link from "next/link"; | ||
import { ProfilePicture } from "./images/ProfilePicture"; | ||
|
||
export const NavBar = () => { | ||
return ( | ||
<nav className="border-b-2 border-surface1"> | ||
<div className="flex flex-row items-center justify-center text-lg lg:text-xl xl:text-2xl"> | ||
<div className="p-2 flex flex-row gap-x-4 items-center tracking-tight font-bold"> | ||
<ProfilePicture /> | ||
<Link href="/" className="transition duration-300 group"> | ||
<span className="group-hover:text-blue transition-all duration-300"> | ||
< Home /> | ||
</span> | ||
<span className="block max-w-0 group-hover:max-w-full transition-all h-0.5 bg-blue duration-300"></span> | ||
</Link> | ||
<Link | ||
href="/projects" | ||
className="transition duration-300 group" | ||
> | ||
<span className="group-hover:text-blue transition-all duration-300"> | ||
< Projects /> | ||
</span> | ||
<span className="block max-w-0 group-hover:max-w-full transition-all h-0.5 bg-blue duration-300"></span> | ||
</Link> | ||
</div> | ||
</div> | ||
</nav> | ||
); | ||
}; |
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 |
---|---|---|
@@ -0,0 +1,18 @@ | ||
export const Heart = () => { | ||
return ( | ||
<svg | ||
className="h-5 w-5 lg:h-6 lg:w-6 xl:h-7 xl:w-7 inline-block align-text-bottom" | ||
xmlns="http://www.w3.org/2000/svg" | ||
viewBox="0 0 256 256" | ||
> | ||
<path | ||
d="M128,216S24,160,24,94A54,54,0,0,1,78,40c22.59,0,41.94,12.31,50,32,8.06-19.69,27.41-32,50-32a54,54,0,0,1,54,54C232,160,128,216,128,216Z" | ||
fill="red" | ||
stroke="currentColor" | ||
stroke-linecap="round" | ||
stroke-linejoin="round" | ||
stroke-width="0" | ||
/> | ||
</svg> | ||
); | ||
}; |
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 |
---|---|---|
@@ -0,0 +1,19 @@ | ||
export const Star = () => { | ||
return ( | ||
<svg | ||
className="h-5 w-5 xl:h-6 xl:w-6 inline align-text-bottom" | ||
xmlns="http://www.w3.org/2000/svg" | ||
viewBox="0 0 256 256" | ||
> | ||
<rect width="256" height="256" fill="none" /> | ||
<path | ||
d="M135.34,28.9l23.23,55.36a8,8,0,0,0,6.67,4.88l59.46,5.14a8,8,0,0,1,4.54,14.07L184.13,147.7a8.08,8.08,0,0,0-2.54,7.89l13.52,58.54a8,8,0,0,1-11.89,8.69l-51.1-31a7.93,7.93,0,0,0-8.24,0l-51.1,31a8,8,0,0,1-11.89-8.69l13.52-58.54a8.08,8.08,0,0,0-2.54-7.89L26.76,108.35A8,8,0,0,1,31.3,94.28l59.46-5.14a8,8,0,0,0,6.67-4.88L120.66,28.9A8,8,0,0,1,135.34,28.9Z" | ||
fill="orange" | ||
stroke="currentColor" | ||
stroke-linecap="round" | ||
stroke-linejoin="round" | ||
stroke-width="0" | ||
/> | ||
</svg> | ||
); | ||
}; |
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 |
---|---|---|
@@ -0,0 +1,51 @@ | ||
export const Wave = () => { | ||
return ( | ||
<svg | ||
className="h-9 w-9 lg:h-10 lg:w-10 xl:h-12 xl:w-12 inline-block align-bottom text-peach" | ||
xmlns="http://www.w3.org/2000/svg" | ||
viewBox="0 0 256 256" | ||
> | ||
<rect width="256" height="256" fill="none" /> | ||
<path | ||
d="M98,64.31a20,20,0,0,1,34.64-20l28,48.5" | ||
fill="none" | ||
stroke="currentColor" | ||
stroke-linecap="round" | ||
stroke-linejoin="round" | ||
stroke-width="16" | ||
/> | ||
<path | ||
d="M71.35,98.17l-16-27.71A20,20,0,0,1,90,50.46l34,58.89" | ||
fill="none" | ||
stroke="currentColor" | ||
stroke-linecap="round" | ||
stroke-linejoin="round" | ||
stroke-width="16" | ||
/> | ||
<path | ||
d="M156,164.77a40,40,0,0,1,14.64-54.64l-10-17.32a20,20,0,0,1,34.64-20l18,31.18A80,80,0,0,1,74.7,184l-38-65.82a20,20,0,0,1,34.65-20l22,38.1" | ||
fill="none" | ||
stroke="currentColor" | ||
stroke-linecap="round" | ||
stroke-linejoin="round" | ||
stroke-width="16" | ||
/> | ||
<path | ||
d="M192,32a52.12,52.12,0,0,1,32,24" | ||
fill="none" | ||
stroke="currentColor" | ||
stroke-linecap="round" | ||
stroke-linejoin="round" | ||
stroke-width="16" | ||
/> | ||
<path | ||
d="M74.62,232c-11-8.69-19.39-19.48-26.62-32" | ||
fill="none" | ||
stroke="currentColor" | ||
stroke-linecap="round" | ||
stroke-linejoin="round" | ||
stroke-width="16" | ||
/> | ||
</svg> | ||
); | ||
}; |
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 |
---|---|---|
@@ -0,0 +1,15 @@ | ||
import Image from "next/image"; | ||
|
||
export const ProfilePicture = ({}) => { | ||
return ( | ||
<Image | ||
src="/profile-picture.png" | ||
width={400} | ||
height={400} | ||
alt="Goudham smiling at the camera" | ||
className="motion-safe:hover:animate-spin w-12 h-12 lg:w-14 lg:h-14 xl:w-16 xl:h-16" | ||
quality={100} | ||
priority={true} | ||
/> | ||
); | ||
}; |
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