[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 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
|
||||
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 }}
|
||||
whileInView={{ x: 0, opacity: 1 }}
|
||||
transition={{
|
||||
|
|
@ -227,7 +227,7 @@ const MyPage = () => {
|
|||
</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">
|
||||
<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 }}
|
||||
whileInView={{ x: 0, opacity: 1 }}
|
||||
transition={{
|
||||
|
|
@ -246,7 +246,11 @@ const MyPage = () => {
|
|||
type: "spring",
|
||||
}}>
|
||||
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.div
|
||||
initial={{ y: 40, opacity: 0 }}
|
||||
|
|
@ -267,7 +271,22 @@ const MyPage = () => {
|
|||
<div className="section">
|
||||
<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="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
|
||||
src={Setup}
|
||||
layout="fill"
|
||||
|
|
@ -275,11 +294,11 @@ const MyPage = () => {
|
|||
alt="Alvalens Setup"
|
||||
placeholder="blur"
|
||||
/>
|
||||
</div>
|
||||
</motion.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">
|
||||
<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 }}
|
||||
whileInView={{ x: 0, opacity: 1 }}
|
||||
transition={{
|
||||
|
|
@ -297,8 +316,8 @@ const MyPage = () => {
|
|||
delay: 0.2,
|
||||
type: "spring",
|
||||
}}>
|
||||
Feel free to contact me if you have any
|
||||
questions or just want to say hi.
|
||||
Feel free to contact me if you have any{" "}
|
||||
<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
|
||||
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
|
||||
</h1>
|
||||
<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.
|
||||
</p>
|
||||
<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 = [
|
||||
{
|
||||
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>
|
||||
|
|
|
|||
|
|
@ -185,19 +185,15 @@ const Navbar = () => {
|
|||
className="burger button flex flex-col justify-center items-center space-y-1.5 "
|
||||
onClick={toggleNav}>
|
||||
<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
|
||||
? "rotate-45 translate-y-2 bg-white"
|
||||
? "rotate-45 bg-white"
|
||||
: ""
|
||||
}`}></div>
|
||||
<div
|
||||
className={`w-8 h-1 bg-black rounded-full transition-all ease-in duration-300 ${
|
||||
isNavOpen ? "opacity-0" : ""
|
||||
}`}></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
|
||||
? "-rotate-45 -translate-y-3 bg-white"
|
||||
? "-rotate-45 -translate-y-2 bg-white"
|
||||
: ""
|
||||
}`}></div>
|
||||
</button>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue