[feat] responsive title sub-title in sub pages

This commit is contained in:
Alvalen 2023-09-08 08:47:28 +07:00
parent 687d1adb41
commit 5560f95615
2 changed files with 8 additions and 8 deletions

View file

@ -117,13 +117,13 @@ export default function Page() {
</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 pt-4 backdrop-filter backdrop-blur-sm md:backdrop-blur-none md:backdrop-filter-none bg-gray-100 bg-opacity-50 md:bg-transparent md:pt-0">
<h1 className="text-5xl md:text-8xl font-bold">
<h1 className="md:bg-white bg-transparent lg:bg-transparent bg-opacity-50 md-px-0 text-black text-5xl md:text-8xl font-bold">
My Projects
</h1>
<Hr />
<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.
List of my projects that I have done and <span className="bg-transparent md:bg-gray-100 bg-opacity-50 xl:bg-transparent"> currently
working on.</span>
</p>
<motion.div
initial={{ opacity: 0, y: 100 }}