[feat] fill content
This commit is contained in:
parent
7227eeab8d
commit
1980fb94ff
5 changed files with 59 additions and 30 deletions
|
|
@ -160,7 +160,7 @@ const MyPage = () => {
|
||||||
</div>
|
</div>
|
||||||
<div className="z-10 w-full absolute md:w-auto md:left-[10%] top-[60%] md:top-1/3 col-span-2 flex flex-col justify-center items-start md:items-start text-start px-10 py-5">
|
<div className="z-10 w-full absolute md:w-auto md:left-[10%] top-[60%] md:top-1/3 col-span-2 flex flex-col justify-center items-start md:items-start text-start px-10 py-5">
|
||||||
<motion.h1
|
<motion.h1
|
||||||
className="bg-white md:bg-transparent bg-opacity-50 px-3 md-px-0 text-black text-5xl md:text-8xl font-bold"
|
className="bg-white lg:bg-transparent bg-opacity-50 px-3 md-px-0 text-black text-5xl md:text-8xl font-bold"
|
||||||
initial={{ x: -100, opacity: 0 }}
|
initial={{ x: -100, opacity: 0 }}
|
||||||
whileInView={{ x: 0, opacity: 1 }}
|
whileInView={{ x: 0, opacity: 1 }}
|
||||||
transition={{
|
transition={{
|
||||||
|
|
@ -227,7 +227,7 @@ const MyPage = () => {
|
||||||
</div>
|
</div>
|
||||||
<div className="z-10 w-full absolute md:w-auto md:left-[10%] top-[60%] md:top-1/3 col-span-2 flex flex-col justify-center items-start md:items-start text-start px-10 py-5">
|
<div className="z-10 w-full absolute md:w-auto md:left-[10%] top-[60%] md:top-1/3 col-span-2 flex flex-col justify-center items-start md:items-start text-start px-10 py-5">
|
||||||
<motion.h1
|
<motion.h1
|
||||||
className="bg-white bg-opacity-50 px-3 md-px-0 text-black md:bg-none text-5xl md:text-8xl font-bold"
|
className="bg-white lg:bg-transparent bg-opacity-50 px-3 md-px-0 text-black text-5xl md:text-8xl font-bold"
|
||||||
initial={{ x: -100, opacity: 0 }}
|
initial={{ x: -100, opacity: 0 }}
|
||||||
whileInView={{ x: 0, opacity: 1 }}
|
whileInView={{ x: 0, opacity: 1 }}
|
||||||
transition={{
|
transition={{
|
||||||
|
|
@ -246,7 +246,11 @@ const MyPage = () => {
|
||||||
type: "spring",
|
type: "spring",
|
||||||
}}>
|
}}>
|
||||||
This is some of my projects that I have
|
This is some of my projects that I have
|
||||||
done and currently working on.
|
done{" "}
|
||||||
|
<span className="bg-transparent md:bg-gray-100 bg-opacity-50 xl:bg-transparent">
|
||||||
|
{" "}
|
||||||
|
and currently working on.
|
||||||
|
</span>
|
||||||
</motion.p>
|
</motion.p>
|
||||||
<motion.div
|
<motion.div
|
||||||
initial={{ y: 40, opacity: 0 }}
|
initial={{ y: 40, opacity: 0 }}
|
||||||
|
|
@ -267,7 +271,22 @@ const MyPage = () => {
|
||||||
<div className="section">
|
<div className="section">
|
||||||
<div className="relative md:h-screen w-screen gap-4 p-10 flex justify-center items-center flex-col">
|
<div className="relative md:h-screen w-screen gap-4 p-10 flex justify-center items-center flex-col">
|
||||||
<div className="z-0 mb-48 md:mb-0 md:absolute top-1/4 md:right-[10%] md:-translate-y-16 ">
|
<div className="z-0 mb-48 md:mb-0 md:absolute top-1/4 md:right-[10%] md:-translate-y-16 ">
|
||||||
<div className="bg-slate-300 rounded-sm h-[400px] md:h-[600px] w-[80vw] md:w-[30vw] grayscale hover:grayscale-0">
|
<motion.div
|
||||||
|
className="bg-slate-300 rounded-sm h-[400px] md:h-[600px] w-[80vw] md:w-[30vw] grayscale hover:grayscale-0"
|
||||||
|
initial={{
|
||||||
|
x: 300,
|
||||||
|
opacity: 0,
|
||||||
|
z: -100,
|
||||||
|
}}
|
||||||
|
whileInView={{
|
||||||
|
x: 0,
|
||||||
|
opacity: 1,
|
||||||
|
z: 0,
|
||||||
|
}}
|
||||||
|
transition={{
|
||||||
|
delay: 0.5,
|
||||||
|
type: "spring",
|
||||||
|
}}>
|
||||||
<Image
|
<Image
|
||||||
src={Setup}
|
src={Setup}
|
||||||
layout="fill"
|
layout="fill"
|
||||||
|
|
@ -275,11 +294,11 @@ const MyPage = () => {
|
||||||
alt="Alvalens Setup"
|
alt="Alvalens Setup"
|
||||||
placeholder="blur"
|
placeholder="blur"
|
||||||
/>
|
/>
|
||||||
</div>
|
</motion.div>
|
||||||
</div>
|
</div>
|
||||||
<div className="z-10 w-full absolute md:w-auto md:left-[10%] top-[60%] md:top-1/3 col-span-2 flex flex-col justify-center items-start md:items-start text-start px-10 overflow-hidden">
|
<div className="z-10 w-full absolute md:w-auto md:left-[10%] top-[60%] md:top-1/3 col-span-2 flex flex-col justify-center items-start md:items-start text-start px-10 overflow-hidden">
|
||||||
<motion.h1
|
<motion.h1
|
||||||
className="text-black text-5xl md:text-8xl font-bold"
|
className="bg-white lg:bg-transparent bg-opacity-50 px-3 md-px-0 text-black text-5xl md:text-8xl font-bold"
|
||||||
initial={{ x: -100, opacity: 0 }}
|
initial={{ x: -100, opacity: 0 }}
|
||||||
whileInView={{ x: 0, opacity: 1 }}
|
whileInView={{ x: 0, opacity: 1 }}
|
||||||
transition={{
|
transition={{
|
||||||
|
|
@ -297,8 +316,8 @@ const MyPage = () => {
|
||||||
delay: 0.2,
|
delay: 0.2,
|
||||||
type: "spring",
|
type: "spring",
|
||||||
}}>
|
}}>
|
||||||
Feel free to contact me if you have any
|
Feel free to contact me if you have any{" "}
|
||||||
questions or just want to say hi.
|
<span className="bg-transparent md:bg-gray-100 bg-opacity-50 xl:bg-transparent">questions or just want to say hi.</span>
|
||||||
</motion.p>
|
</motion.p>
|
||||||
<motion.p
|
<motion.p
|
||||||
className="title text-xl mt-4 tracking-wider text-gray-500 leading-[1.7rem] mb-5"
|
className="title text-xl mt-4 tracking-wider text-gray-500 leading-[1.7rem] mb-5"
|
||||||
|
|
|
||||||
|
|
@ -39,7 +39,7 @@ export default function Page() {
|
||||||
About Me
|
About Me
|
||||||
</h1>
|
</h1>
|
||||||
<Hr />
|
<Hr />
|
||||||
<p className="title text-xl mt-4 tracking-wider text-gray-700 leading-[1.7rem] mb-5 ">
|
<p className="title text-xl mt-4 tracking-wider text-gray-900 leading-[1.7rem] mb-5 ">
|
||||||
A brief introduction about me and my interest.
|
A brief introduction about me and my interest.
|
||||||
</p>
|
</p>
|
||||||
<motion.div
|
<motion.div
|
||||||
|
|
|
||||||
|
|
@ -86,3 +86,7 @@ a[title]:hover:after {
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
::selection {
|
||||||
|
background: #333333;
|
||||||
|
color: #fff;
|
||||||
|
}
|
||||||
|
|
@ -16,10 +16,10 @@ import Hr from "@/components/Hr";
|
||||||
const projects = [
|
const projects = [
|
||||||
{
|
{
|
||||||
title: "React Chat WebApp",
|
title: "React Chat WebApp",
|
||||||
desc: "Lorem ipsum dolor sit amet consectetur adipisicing elit. Quisquam, voluptatum.",
|
desc: "My second React project. This project is a realtime chat webapp that I created using ReactJS, Firebase, and TailwindCSS.",
|
||||||
year: "2023",
|
year: "2023",
|
||||||
tech: "Javascript, React Js, Firebase, Daisy UI",
|
tech: "Javascript, React Js, Firebase, Daisy UI",
|
||||||
bg: { ReactChat3 },
|
bg: ReactChat3,
|
||||||
slug: "react-chat",
|
slug: "react-chat",
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
|
|
@ -27,7 +27,7 @@ const projects = [
|
||||||
desc: "My first React project. contain three main tools: Todo List, Note, and Expense Tracker that usefull for daily activity",
|
desc: "My first React project. contain three main tools: Todo List, Note, and Expense Tracker that usefull for daily activity",
|
||||||
year: "2023",
|
year: "2023",
|
||||||
tech: "Javascript, React Js, TailwindCSS",
|
tech: "Javascript, React Js, TailwindCSS",
|
||||||
bg: { ReactChat3 },
|
bg: ReactChat3,
|
||||||
slug: "react-tools",
|
slug: "react-tools",
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
|
|
@ -35,7 +35,7 @@ const projects = [
|
||||||
desc: "Discord bot that can search images on google and send the result to discord channel, with this bot you can search images on google without leaving discord.",
|
desc: "Discord bot that can search images on google and send the result to discord channel, with this bot you can search images on google without leaving discord.",
|
||||||
year: "2023",
|
year: "2023",
|
||||||
tech: "Python, Serp API, Discord.py",
|
tech: "Python, Serp API, Discord.py",
|
||||||
bg: { ReactChat3 },
|
bg: ReactChat3,
|
||||||
slug: "aleph-discord-bot",
|
slug: "aleph-discord-bot",
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
|
|
@ -43,7 +43,7 @@ const projects = [
|
||||||
desc: "LPTK Cup 2023 is a website for a competition that held by Universitas Negeri Malang. This is my second freelance project using Laravel.",
|
desc: "LPTK Cup 2023 is a website for a competition that held by Universitas Negeri Malang. This is my second freelance project using Laravel.",
|
||||||
year: "2023",
|
year: "2023",
|
||||||
tech: "PHP, Laravel, Bootstrap, JQuery, MySQL",
|
tech: "PHP, Laravel, Bootstrap, JQuery, MySQL",
|
||||||
bg: { ReactChat3 },
|
bg: ReactChat3,
|
||||||
slug: "lptk-cup-2023",
|
slug: "lptk-cup-2023",
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
|
|
@ -51,23 +51,23 @@ const projects = [
|
||||||
desc: "My first freelance project. This project is a website for a School based on a JALAKAR curriculum. The website is built mainly using Laravel and Bootstrap.",
|
desc: "My first freelance project. This project is a website for a School based on a JALAKAR curriculum. The website is built mainly using Laravel and Bootstrap.",
|
||||||
year: "2023",
|
year: "2023",
|
||||||
tech: "PHP, Laravel, Livewire, Bootstrap, JQuery, MySQL",
|
tech: "PHP, Laravel, Livewire, Bootstrap, JQuery, MySQL",
|
||||||
bg: { ReactChat3 },
|
bg: ReactChat3,
|
||||||
slug: "nu-ino-website",
|
slug: "nu-ino-website",
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
title: "Unmuh Jember Landing Page",
|
title: "Unmuh Jember Landing Page",
|
||||||
desc: "Landing page for Universitas Muhammadiyah Jember. This is my first freelance project using HTML, CSS, and Javascript.",
|
desc: "Landing page for Universitas Muhammadiyah Jember. This web is made for competition held by Universitas Muhammadiyah Jember.",
|
||||||
year: "2023",
|
year: "2023",
|
||||||
tech: "HTML, CSS, Javascript",
|
tech: "HTML, CSS, Javascript",
|
||||||
bg: { ReactChat3 },
|
bg: ReactChat3,
|
||||||
slug: "unmuh-jember-landing-page",
|
slug: "unmuh-jember-landing-page",
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
title: "My First Portofolio Website",
|
title: "My First Portofolio Website",
|
||||||
desc: "My first portofolio website that i created using HTML, CSS, and Javascript. This website is my first project that i created using HTML, CSS, and Javascript.",
|
desc: "My first portofolio website that i created using HTML, CSS, and Javascript. This website is the reason why i learn web development.",
|
||||||
year: "2022",
|
year: "2022",
|
||||||
tech: "HTML, CSS, Javascript, Bootstrap",
|
tech: "HTML, CSS, Javascript, Bootstrap",
|
||||||
bg: { ReactChat3 },
|
bg: ReactChat3,
|
||||||
slug: "my-first-portofolio-website",
|
slug: "my-first-portofolio-website",
|
||||||
},
|
},
|
||||||
];
|
];
|
||||||
|
|
@ -101,7 +101,7 @@ export default function Page() {
|
||||||
My Projects
|
My Projects
|
||||||
</h1>
|
</h1>
|
||||||
<Hr />
|
<Hr />
|
||||||
<p className="title text-xl mt-4 tracking-wider text-gray-500 leading-[1.7rem] mb-5">
|
<p className="title text-xl mt-4 tracking-wider text-gray-900 leading-[1.7rem] mb-5">
|
||||||
List of my projects that I have done and currently
|
List of my projects that I have done and currently
|
||||||
working on.
|
working on.
|
||||||
</p>
|
</p>
|
||||||
|
|
@ -301,7 +301,7 @@ export default function Page() {
|
||||||
{projects.map((project, index) => (
|
{projects.map((project, index) => (
|
||||||
<Link href={"projects/" + project.slug} key={index}>
|
<Link href={"projects/" + project.slug} key={index}>
|
||||||
<motion.div
|
<motion.div
|
||||||
className="relative flex justify-center items-start flex-col mb-5 md:px-10 w-full h-auto bg-gray-400 group/tes py-20 px-5 md:py-2 aspect-video"
|
className="z-10 relative flex justify-center items-start flex-col mb-5 md:px-10 w-full h-auto bg-gray-400 group/tes py-20 px-5 md:py-2 aspect-video "
|
||||||
initial={{
|
initial={{
|
||||||
opacity: 0,
|
opacity: 0,
|
||||||
x: -200,
|
x: -200,
|
||||||
|
|
@ -313,12 +313,22 @@ export default function Page() {
|
||||||
transition={{
|
transition={{
|
||||||
type: "spring",
|
type: "spring",
|
||||||
}}>
|
}}>
|
||||||
|
{" "}
|
||||||
|
{/* Add relative here */}
|
||||||
|
<Image
|
||||||
|
src={project.bg.src}
|
||||||
|
alt="Alvalens"
|
||||||
|
layout="fill"
|
||||||
|
objectFit="cover"
|
||||||
|
placeholder="empty"
|
||||||
|
className="bg-slate-950 opacity-10 group-hover/tes:opacity-100 transition-all ease duration-500"
|
||||||
|
/>
|
||||||
<div className="absolute top-0 left-0 bg-gray-600 px-4 py-2">
|
<div className="absolute top-0 left-0 bg-gray-600 px-4 py-2">
|
||||||
<h4 className="text-white">
|
<h4 className="text-white">
|
||||||
{project.year}
|
{project.year}
|
||||||
</h4>
|
</h4>
|
||||||
</div>
|
</div>
|
||||||
<div className="transition-all ease duration-500 opacity-100 content text-center group-hover/tes:opacity-0">
|
<div className="transition-all ease duration-500 opacity-100 content text-center group-hover/tes:opacity-0 z-10">
|
||||||
<h1 className="text-3xl font-bold mb-3">
|
<h1 className="text-3xl font-bold mb-3">
|
||||||
{project.title}
|
{project.title}
|
||||||
</h1>
|
</h1>
|
||||||
|
|
|
||||||
|
|
@ -185,19 +185,15 @@ const Navbar = () => {
|
||||||
className="burger button flex flex-col justify-center items-center space-y-1.5 "
|
className="burger button flex flex-col justify-center items-center space-y-1.5 "
|
||||||
onClick={toggleNav}>
|
onClick={toggleNav}>
|
||||||
<div
|
<div
|
||||||
className={`w-8 h-1 bg-black rounded-full transition-all ease-in duration-300 ${
|
className={`w-10 h-1 bg-black rounded-full transition-all ease duration-300 ${
|
||||||
isNavOpen
|
isNavOpen
|
||||||
? "rotate-45 translate-y-2 bg-white"
|
? "rotate-45 bg-white"
|
||||||
: ""
|
: ""
|
||||||
}`}></div>
|
}`}></div>
|
||||||
<div
|
<div
|
||||||
className={`w-8 h-1 bg-black rounded-full transition-all ease-in duration-300 ${
|
className={`w-10 h-1 bg-black rounded-full transition-all ease duration-300 ${
|
||||||
isNavOpen ? "opacity-0" : ""
|
|
||||||
}`}></div>
|
|
||||||
<div
|
|
||||||
className={`w-8 h-1 bg-black rounded-full transition-all ease-in duration-300 ${
|
|
||||||
isNavOpen
|
isNavOpen
|
||||||
? "-rotate-45 -translate-y-3 bg-white"
|
? "-rotate-45 -translate-y-2 bg-white"
|
||||||
: ""
|
: ""
|
||||||
}`}></div>
|
}`}></div>
|
||||||
</button>
|
</button>
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue