Skip to content

Commit

Permalink
feat: new ui to landing page
Browse files Browse the repository at this point in the history
  • Loading branch information
moonbamijam committed May 3, 2024
1 parent 3ac6ac2 commit e312b66
Showing 1 changed file with 18 additions and 11 deletions.
29 changes: 18 additions & 11 deletions app/page.tsx
Original file line number Diff line number Diff line change
@@ -1,25 +1,32 @@
import Picture from "@components/common/Picture";
import LoadingSpinner from "@components/ux/LoadingSpinner";

const HomePage = async () => {
return (
<>
<div className="container relative">
<section id="home" className="h-screen">
<div className="w-full relative px-[40px] lg:px-[50px] xl:px-[100px] 2xl:px-[200px] pt-[200px] flex flex-col items-center gap-y-[50px]">
<div className="description text-center flex flex-col gap-4 items-center">
<h1 className="text-6xl md:text-7xl lg:text-8xl px-1 font-bold">
I am
<strong className="highlight"> Moonbami</strong>.
<div className="w-full h-full relative px-[5vw] flex flex-col lg:flex-row justify-center xl:justify-evenly items-center gap-y-[50px]">
<div className="description flex flex-col items-center lg:items-start gap-4">
<h1 className="text-center lg:max-w-[600px] 2xl:max-w-none lg:text-left text-5xl md:text-7xl lg:text-8xl px-1 font-bold tracking-tight">
I am{" "}
<strong className="text-primary dark:text-primary-light">
Moonbami
</strong>
</h1>
<p className="lg:text-lg xl:text-xl px-2 w-[400px] lg:w-[500px]">
<p className="text-center lg:text-left lg:text-lg xl:text-xl px-2 w-[400px] lg:w-[500px] tracking-wide">
Pursuing a career for being a{" "}
<strong className="highlight">developer</strong>. Still a
novice, but making
<strong className="highlight"> progress </strong>on a daily
basis.
<strong className="text-primary dark:text-primary-light">
developer
</strong>
. Still a novice, but making{" "}
<strong className="text-primary dark:text-primary-light">
progress{" "}
</strong>
on a daily basis.
</p>
</div>
<div className="relative w-[250px] h-[250px] md:w-[300px] md:h-[300px] lg:w-[350px] lg:h-[350px] aspect-square border-[3px] border-solid border-black dark:border-white rounded-lg overflow-hidden">
<div className="relative w-[250px] h-[250px] md:w-[300px] md:h-[300px] lg:w-[350px] lg:h-[350px] xl:w-[400px] xl:h-[400px] flex justify-center items-center transform [&>img]:hover:scale-125 aspect-square rounded-xl shadow-md hover:shadow-primary-dark overflow-hidden">
<Picture
src={"moonbami-raw_cbd4px"}
alt={"Jam Moonbami"}
Expand Down

0 comments on commit e312b66

Please sign in to comment.