adding bg and stuff

This commit is contained in:
Arjun Patel
2022-01-20 00:13:15 -08:00
parent 39d03fa918
commit cafc60d249
4 changed files with 22 additions and 13 deletions
+14 -13
View File
@@ -5,29 +5,30 @@ import MainLogo from "../components/MainLogo";
export default function Home() { export default function Home() {
return ( return (
<> <div className="landing-page-bg h-screen w-screen bg-left bg-cover">
<MainLogo className="fixed top-5 left-1/2 text-4xl" /> <div className="container mx-auto ">
<div className="container mx-auto">
{/* header */} {/* header */}
<div className="flex flex-row py-5 px-5 items-center justify-start mx-auto"> <div className="flex flex-row py-5 px-5 items-center justify-start mx-auto">
<span className="flex flex-row space-x-5"> <MainLogo className="mr-auto text-3xl" />
<span className="flex flex-row space-x-5 items-center">
<span className="font-bold underline decoration-slate-400 underline-offset-4"> <span className="font-bold underline decoration-slate-400 underline-offset-4">
Home Home
</span> </span>
<span className="text-gray-300">Features</span> <span className="text-gray-300">Features</span>
<span className="text-gray-300">Pricing</span> <span className="text-gray-300 border-r-2 pr-5">Pricing</span>
<span className="ml-auto text-gray-300 mr-5">Log In</span>
<button className="rounded bg-teal-600 p-2 text-white shadow-lg">
Get Demo
</button>
</span> </span>
<span className="ml-auto text-gray-300 mr-5">Log In</span>
<button className="rounded bg-teal-600 p-2 text-white shadow-lg">
Get Demo
</button>
</div> </div>
<div className="flex flex-col justify-center items-center"> <div className="flex flex-col justify-start p-10">
<span></span> <span className="text-5xl text-slate-600 font-semibold">
No more slacking
</span>
</div> </div>
</div> </div>
</> </div>
); );
} }
Binary file not shown.

After

Width:  |  Height:  |  Size: 7.2 MiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 833 KiB

+8
View File
@@ -134,3 +134,11 @@ p {
::-webkit-scrollbar-thumb:hover { ::-webkit-scrollbar-thumb:hover {
background: #555; background: #555;
} }
.landing-page-bg {
background-image: url("/wallpapers/glassmorphic.jpg");
}
/* body {
background-image: url("/wallpapers/glassmorphic.jpg");
} */