[feat] fill content

This commit is contained in:
Alvalen 2023-09-04 22:10:11 +07:00
parent 7227eeab8d
commit 1980fb94ff
5 changed files with 59 additions and 30 deletions

View file

@ -16,10 +16,10 @@ import Hr from "@/components/Hr";
const projects = [
{
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",
tech: "Javascript, React Js, Firebase, Daisy UI",
bg: { ReactChat3 },
bg: ReactChat3,
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",
year: "2023",
tech: "Javascript, React Js, TailwindCSS",
bg: { ReactChat3 },
bg: ReactChat3,
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.",
year: "2023",
tech: "Python, Serp API, Discord.py",
bg: { ReactChat3 },
bg: ReactChat3,
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.",
year: "2023",
tech: "PHP, Laravel, Bootstrap, JQuery, MySQL",
bg: { ReactChat3 },
bg: ReactChat3,
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.",
year: "2023",
tech: "PHP, Laravel, Livewire, Bootstrap, JQuery, MySQL",
bg: { ReactChat3 },
bg: ReactChat3,
slug: "nu-ino-website",
},
{
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",
tech: "HTML, CSS, Javascript",
bg: { ReactChat3 },
bg: ReactChat3,
slug: "unmuh-jember-landing-page",
},
{
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",
tech: "HTML, CSS, Javascript, Bootstrap",
bg: { ReactChat3 },
bg: ReactChat3,
slug: "my-first-portofolio-website",
},
];
@ -101,7 +101,7 @@ export default function Page() {
My Projects
</h1>
<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
working on.
</p>
@ -301,7 +301,7 @@ export default function Page() {
{projects.map((project, index) => (
<Link href={"projects/" + project.slug} key={index}>
<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={{
opacity: 0,
x: -200,
@ -313,12 +313,22 @@ export default function Page() {
transition={{
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">
<h4 className="text-white">
{project.year}
</h4>
</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">
{project.title}
</h1>