[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"
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue