Spaces:
Running
Running
File size: 1,338 Bytes
26f4db3 |
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 |
import Image from "next/image";
import { PlaceHolderImages } from "@/lib/placeholder-images";
import { aboutMe } from "@/lib/data";
export function About() {
const profileImage = PlaceHolderImages.find(
(img) => img.id === "profile-picture"
);
return (
<section id="about" className="w-full py-12 md:py-24 lg:py-32 bg-background">
<div className="container px-4 md:px-6">
<div className="grid gap-10 lg:grid-cols-2 lg:gap-16 items-center">
<div className="space-y-4">
<h2 className="text-3xl font-headline font-bold tracking-tighter sm:text-4xl md:text-5xl text-primary">
About Me
</h2>
<p className="max-w-[600px] text-muted-foreground md:text-xl/relaxed lg:text-base/relaxed xl:text-xl/relaxed">
{aboutMe.bio}
</p>
</div>
<div className="flex justify-center">
{profileImage && (
<Image
src={profileImage.imageUrl}
alt={profileImage.description}
data-ai-hint={profileImage.imageHint}
width={432}
height={592}
className="rounded-lg object-contain shadow-lg border-4 border-accent"
/>
)}
</div>
</div>
</div>
</section>
);
}
|