[feat] fill project content

This commit is contained in:
Alvalen 2023-09-04 13:04:24 +07:00
parent 923b86aa71
commit 7227eeab8d
3 changed files with 114 additions and 66 deletions

View file

@ -70,7 +70,7 @@ function Page({ params }) {
<div className="relative min-h-screen w-full gap-4 p-10 flex justify-center items-center flex-col mb-10 "> <div className="relative min-h-screen w-full gap-4 p-10 flex justify-center items-center flex-col mb-10 ">
<div className="min-h-screen flex justify-center items-center"> <div className="min-h-screen flex justify-center items-center">
<div className="mx-auto grid grid-cols-1 md:grid-cols-2 mt-10 md:mt-0"> <div className="mx-auto grid grid-cols-1 md:grid-cols-2 mt-10 md:mt-0">
<div className="flex justify-center items-start flex-col mb-5 space-y-10"> <div className="flex justify-center items-start flex-col mb-5 space-y-10 mx-auto">
<div> <div>
<h2 className="uppercase font-normal text-lg tracking-[8px] text-neutral-400"> <h2 className="uppercase font-normal text-lg tracking-[8px] text-neutral-400">
Project Project

View file

@ -13,9 +13,64 @@ import ProjectAll from "@/public/img/projects-all.jpg";
import Hr from "@/components/Hr"; 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.",
year: "2023",
tech: "Javascript, React Js, Firebase, Daisy UI",
bg: { ReactChat3 },
slug: "react-chat",
},
{
title: "React Tools",
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 },
slug: "react-tools",
},
{
title: "Aleph Discord Bot",
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 },
slug: "aleph-discord-bot",
},
{
title: "LPTK Cup 2023 Website",
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 },
slug: "lptk-cup-2023",
},
{
title: "NU INO Website",
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 },
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.",
year: "2023",
tech: "HTML, CSS, Javascript",
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.",
year: "2022",
tech: "HTML, CSS, Javascript, Bootstrap",
bg: { ReactChat3 },
slug: "my-first-portofolio-website",
},
];
export default function Page() { export default function Page() {
useEffect(() => { useEffect(() => {
@ -181,7 +236,12 @@ export default function Page() {
<Link href="projects/react-chat ">More</Link> <Link href="projects/react-chat ">More</Link>
</Button> </Button>
<Button variation="secondary"> <Button variation="secondary">
<Link href="projects/react-chat">Preview</Link> <a
href="https://react-chat-rouge.vercel.app/"
target="_blank"
rel="noopener noreferrer">
Preview
</a>
</Button> </Button>
</div> </div>
</motion.div> </motion.div>
@ -230,7 +290,6 @@ export default function Page() {
}} }}
transition={{ transition={{
delay: 0.7, delay: 0.7,
type: "spring", type: "spring",
}}> }}>
Other Note Worthy Projects Other Note Worthy Projects
@ -238,64 +297,47 @@ export default function Page() {
</div> </div>
</div> </div>
<div className="w-screen mx-auto container gap-4 px-10 grid grid-cols-1 md:grid-cols-2 mb-10 cursor-pointer"> <div className="w-screen mx-auto container gap-4 px-10 grid grid-cols-1 md:grid-cols-2 mb-10 cursor-pointer">
<div className="relative flex justify-center items-start flex-col mb-5 md:px-10 w-full h-[400px] bg-gray-400 group/tes "> {/* loop projeects data */}
<div className="absolute top-0 left-0 bg-gray-600 px-4 py-2"> {projects.map((project, index) => (
<h4 className="text-white">2023</h4> <Link href={"projects/" + project.slug} key={index}>
</div> <motion.div
<div className="transition-all ease duration-500 opacity-100 content text-center group-hover/tes:opacity-0"> 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"
<h1 className="text-3xl font-bold mb-3"> initial={{
React Tools opacity: 0,
</h1> x: -200,
<p> }}
React Tools is my first project using ReactJS, whileInView={{
this project contain 3 main tools: Todo List, opacity: 1,
Note, and Expense tracker. x: 0,
</p> }}
<div className="flex justify-center items-center flex-row mt-5 flex-wrap"> transition={{
<span className="m-1 px-4 py-2 bg-gray-600 text-white "> type: "spring",
Javascript }}>
</span> <div className="absolute top-0 left-0 bg-gray-600 px-4 py-2">
<span className="m-1 px-4 py-2 bg-gray-600 text-white "> <h4 className="text-white">
React Js {project.year}
</span> </h4>
<span className="m-1 px-4 py-2 bg-gray-600 text-white "> </div>
Firebase <div className="transition-all ease duration-500 opacity-100 content text-center group-hover/tes:opacity-0">
</span> <h1 className="text-3xl font-bold mb-3">
<span className="m-1 px-4 py-2 bg-gray-600 text-white "> {project.title}
Tailwind CSS </h1>
</span> <p>{project.desc}</p>
</div> <div className="flex justify-center items-center flex-row mt-5 flex-wrap">
</div> {project.tech
</div> .split(",")
<div className="relative flex justify-center items-start flex-col mb-5 md:px-10 w-full h-[400px] bg-gray-400 group/tes "> .map((t, index) => (
<div className="absolute top-0 left-0 bg-gray-600 px-4 py-2"> <span
<h4 className="text-white">2023</h4> key={index}
</div> className="m-1 px-4 py-2 bg-gray-600 text-white ">
<div className="transition-all ease duration-500 opacity-100 content text-center group-hover/tes:opacity-0"> {t}
<h1 className="text-3xl font-bold mb-3"> </span>
React Tools ))}
</h1> </div>
<p> </div>
React Tools is my first project using ReactJS, </motion.div>
this project contain 3 main tools: Todo List, </Link>
Note, and Expense tracker. ))}
</p>
<div className="flex justify-center items-center flex-row mt-5 flex-wrap">
<span className="m-1 px-4 py-2 bg-gray-600 text-white ">
Javascript
</span>
<span className="m-1 px-4 py-2 bg-gray-600 text-white ">
React Js
</span>
<span className="m-1 px-4 py-2 bg-gray-600 text-white ">
Firebase
</span>
<span className="m-1 px-4 py-2 bg-gray-600 text-white ">
Tailwind CSS
</span>
</div>
</div>
</div>
</div> </div>
{/* view in archive btn */} {/* view in archive btn */}
<div className="flex justify-center items-center flex-col my-5 self-start "> <div className="flex justify-center items-center flex-col my-5 self-start ">

View file

@ -15,7 +15,9 @@
"/projects/lms.png" "/projects/lms.png"
], ],
"tech": [ "tech": [
"JavaScript",
"React", "React",
"React Router",
"Firebase", "Firebase",
"Daisy UI" "Daisy UI"
], ],
@ -39,6 +41,7 @@
"/projects/lms.png" "/projects/lms.png"
], ],
"tech": [ "tech": [
"Javascript",
"React", "React",
"React Router", "React Router",
"TailwindCSS" "TailwindCSS"
@ -59,7 +62,8 @@
], ],
"tech": [ "tech": [
"Python", "Python",
"Discord.py" "Discord.py",
"Serp API"
], ],
"slug": "aleph-discord-bot" "slug": "aleph-discord-bot"
}, },
@ -78,13 +82,14 @@
"/projects/lms.png" "/projects/lms.png"
], ],
"tech": [ "tech": [
"PHP",
"Laravel", "Laravel",
"Bootstrap", "Bootstrap",
"MySQL", "MySQL",
"jQuery", "jQuery",
"DataTables" "DataTables"
], ],
"slug": "lptk-cup-website" "slug": "lptk-cup-2023"
}, },
{ {
"title": "NU INO Website", "title": "NU INO Website",
@ -99,6 +104,7 @@
"/projects/lms.png" "/projects/lms.png"
], ],
"tech": [ "tech": [
"PHP",
"Laravel", "Laravel",
"Bootstrap", "Bootstrap",
"Livewire", "Livewire",