-
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.
Squashed commit of the following: commit f80247223cad7bc7ebcd4a7d8581762c9be37175 Author: Zhu Zhanyan <[email protected]> Date: Thu Jul 25 15:46:47 2024 +0800 feat: add about page commit f03c2a435d63f8c3db07dd0576af3458308ab6e7 Author: Zhu Zhanyan <[email protected]> Date: Thu Jul 25 15:46:18 2024 +0800 refactor: allow StaticImageData to passed to SmoothImage component
- Loading branch information
Showing
4 changed files
with
48 additions
and
3 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,44 @@ | ||
/* | ||
* art.mrzzy.co | ||
* Pages | ||
* About | ||
*/ | ||
|
||
import SmoothImage from "@/components/ui/smooth-image" | ||
import ProfileImg from "@/public/images/about/profile.png"; | ||
import BackgroundImg from "@/public/images/about/background.png"; | ||
import Link from "next/link"; | ||
import { buttonVariants } from "@/components/ui/button"; | ||
import { NavItem } from "@/components/navigation/navitem"; | ||
|
||
/** | ||
* Renders the About pageA. | ||
*/ | ||
export default function About() { | ||
return ( | ||
<main className="md:my-8 p-8 flex flex-col md:flex-row mx-auto md:max-w-[80rem] gap-8"> | ||
<SmoothImage | ||
className="object-contain basis-1/2" src={ProfileImg} | ||
alt="Zhanyan painting" width={ProfileImg.width} height={ProfileImg.height} /> | ||
<div className="basis-1/2 flex flex-col gap-y-8"> | ||
<SmoothImage | ||
className="hidden md:block object-contain w-[22rem]" src={BackgroundImg} | ||
alt="Watercolor background" width={BackgroundImg.width} height={BackgroundImg.height} /> | ||
<h1 className="font-serif text-6xl">Zhu Zhanyan</h1> | ||
<p> | ||
is a Singaporean watercolorist. Welding the fluidity and transparency of the medium, | ||
he primarily works En Plein Air to capture the light and atmosphere to capture of fleeting moment. | ||
As self-taught artist, he work is influenced by likes of Thomas Schaller, Hazel Sloan & Joseph Zbukvic. | ||
</p> | ||
<div> | ||
<Link | ||
className={`${buttonVariants()}`} | ||
href={NavItem.Gallery} | ||
> | ||
View Work > | ||
</Link> | ||
</div> | ||
</div> | ||
</main> | ||
); | ||
} |
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
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.