152 lines
4.2 KiB
JavaScript
152 lines
4.2 KiB
JavaScript
import Image from "next/image";
|
|
import Card from "./spotify/card";
|
|
import { motion } from "framer-motion";
|
|
import Me1 from "@/public/img/me1.jpg";
|
|
import Me2 from "@/public/img/me2.jpg";
|
|
import Me3 from "@/public/img/me3.jpg";
|
|
import Hr from "@/components/Hr";
|
|
|
|
function Title() {
|
|
return (
|
|
<div className="mt-10 flex flex-col justify-start items-center w-full pl-10 md:pl-32">
|
|
<div className="flex justify-center items-center flex-col my-5 self-start ">
|
|
<Hr variant="long"></Hr>
|
|
<h1 className="text-3xl font-bold mt-3">Who Am I?</h1>
|
|
</div>
|
|
</div>
|
|
);
|
|
}
|
|
|
|
export default function About() {
|
|
return (
|
|
<>
|
|
<Title />
|
|
<div className="relative mx-auto container gap-4 px-10 grid grid-cols-1 md:grid-cols-2 mb-10">
|
|
<div className="flex justify-center items-start flex-col mb-5 ">
|
|
<div className="images relative w-full aspect-square">
|
|
<div className="absolute top-28 left-10 w-[50%] aspect-square grayscale hover:grayscale-0 transition-all ease duration-300">
|
|
<motion.div
|
|
initial={{ opacity: 0, scale: 0.5, x: 100 }}
|
|
whileInView={{
|
|
opacity: 1,
|
|
scale: 1,
|
|
x: 0,
|
|
}}
|
|
className="w-full h-full">
|
|
<Image
|
|
src={Me1}
|
|
alt="Alvalens"
|
|
layout="fill"
|
|
objectFit="cover"
|
|
placeholder="blur"
|
|
/>
|
|
</motion.div>
|
|
</div>
|
|
<div className="absolute top-16 right-28 w-[30%] aspect-square grayscale hover:grayscale-0 transition-all ease duration-300">
|
|
<motion.div
|
|
initial={{
|
|
opacity: 0,
|
|
scale: 0.5,
|
|
x: -100,
|
|
}}
|
|
whileInView={{
|
|
opacity: 1,
|
|
scale: 1,
|
|
x: 0,
|
|
}}
|
|
transition={{ delay: 0.3 }}
|
|
className="w-full h-full">
|
|
<Image
|
|
src={Me2}
|
|
alt="Alvalens"
|
|
layout="fill"
|
|
objectFit="cover"
|
|
placeholder="blur"
|
|
/>
|
|
</motion.div>
|
|
</div>
|
|
<div className="absolute bottom-16 right-20 w-[40%] aspect-square grayscale hover:grayscale-0 transition-all ease duration-300">
|
|
<motion.div
|
|
initial={{
|
|
opacity: 0,
|
|
scale: 0.5,
|
|
x: -100,
|
|
}}
|
|
whileInView={{
|
|
opacity: 1,
|
|
scale: 1,
|
|
x: 0,
|
|
}}
|
|
transition={{
|
|
delay: 0.5,
|
|
}}
|
|
className="w-full h-full">
|
|
<Image
|
|
src={Me3}
|
|
alt="Alvalens"
|
|
layout="fill"
|
|
objectFit="cover"
|
|
placeholder="blur"
|
|
/>
|
|
</motion.div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
<motion.div
|
|
className="flex justify-center items-start flex-col mb-5 md:px-10"
|
|
initial={{
|
|
opacity: 0,
|
|
x: 200,
|
|
}}
|
|
whileInView={{
|
|
opacity: 1,
|
|
x: 0,
|
|
}}
|
|
transition={{
|
|
delay: 0.5,
|
|
|
|
type: "spring",
|
|
}}>
|
|
<h2 className="text-2xl font-bold tracking-wider mb-3">
|
|
Alvalen Shafelbilyunazra
|
|
</h2>
|
|
<p className="text-gray-600 text-justify title text-lg">
|
|
Hey there, I’m Alvalen Shafelbilyunazra, a
|
|
<span className="text-black font-medium">
|
|
{" "}
|
|
tech enthusiast
|
|
</span>{" "}
|
|
and
|
|
<span className="text-black font-medium">
|
|
{" "}
|
|
aspiring Web Developer.
|
|
</span>{" "}
|
|
Originating from Pasuruan, East Java, Indonesia,
|
|
I’m currently embarking on a fascinating journey
|
|
at{" "}
|
|
<span className="text-black font-medium">
|
|
Universitas Negeri Malang,
|
|
</span>{" "}
|
|
where I’m pursuing my degree in{" "}
|
|
<span className="text-black font-medium">
|
|
Informatics Engineering.
|
|
</span>{" "}
|
|
My passion for technology and coding knows no bounds.
|
|
Beyond the world of coding, I find myself deeply
|
|
immersed in the realms of design, Game Development, and
|
|
the fascinating universe of AI. I believe that in
|
|
today’s fast-paced digital landscape, being a
|
|
<span className="text-black font-medium">
|
|
{" "}
|
|
lifelong learner
|
|
</span>{" "}
|
|
is not just a choice, but a necessity. Let’s
|
|
connect and explore this ever-evolving world of tech
|
|
together!
|
|
</p>
|
|
<Card />
|
|
</motion.div>
|
|
</div>
|
|
</>
|
|
);
|
|
}
|