Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: responsive landing #47

Merged
merged 7 commits into from
Dec 29, 2023
19 changes: 9 additions & 10 deletions apps/web/app/page.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -13,28 +13,27 @@ function Index() {
<div className="absolute z-10 opacity-25">
<section className="h-[100vh] w-screen bg-[radial-gradient(ellipse_at_top_center,_#fff_20%,#ff03080B_80%)] opacity-50" />
</div>
<div className="bg-[#03080B] w-full min-h-screen flex justify-center items-center absolute">
<div className="bg-[#03080B] w-full min-h-screen flex justify-center items-center absolute px-5 md:px-0">
<Grid className="h-[69.16vh] w-[61.23vw] absolute " />
<Stars className="h-[47.51vh] w-[87.92vw] absolute overflow-hidden" />
<div className="bg-transparent w-fit h-[75%] flex flex-col p-1 mt-20 gap-10 z-20">
<div className="flex flex-col items-center justify-center gap-10 min-w-screen">
<div className="flex items-center justify-center">
<div className="bg-transparent w-fit h-[75%] flex flex-col p-1 gap-10 z-20 md:mt-20">
<div className="flex flex-col items-center justify-center gap-8 min-w-screen">
<div className="flex items-center justify-center w-full">
<Logo />
<h1
className={`px-4 bg-gradient-to-br from-[#727576] to-[#fafafb] inline-block text-transparent bg-clip-text text-6xl ${poppins.className} py-1 md:text-5xl lg:text-7xl`}
className={`px-4 bg-gradient-to-br from-[#727576] to-[#fafafb] inline-block text-transparent bg-clip-text ${poppins.className} py-1 text-4xl md:text-6xl`}
>
keyshade.xyz
</h1>
</div>

<div className="flex items-center justify-center py-4">
<p className="p-1 min-w-[55%] sm:w-full md:w-[50%] lg:w-[35%] items-center justify-center bg-gradient-to-br from-[#727576] to-[#fafafb] inline-block text-transparent bg-clip-text text-wrap text-center text-md">
<div className="flex items-center justify-center py-10">
<p className="min-w-[55%] sm:w-full md:w-[50%] lg:w-[35%] items-center justify-center bg-gradient-to-br from-[#727576] to-[#fafafb] inline-block text-transparent bg-clip-text text-wrap text-center text-md md:p-1">
Manage all your secrets securely with public key encryption and
realtime based tools, that seamlessly fits into your codebase
</p>
</div>

<div className="flex gap-10 items-center justify-center">
<div className="flex gap-4 items-center justify-center md:gap-10">
<Links
icon="docs"
description="Documentation"
Expand All @@ -47,7 +46,7 @@ function Index() {
/>
</div>

<div className="flex items-center justify-center gap-24 mt-20">
<div className="flex items-center justify-center gap-8 mt-16 md:gap-24 md:mt-20">
<Killers image="kriptonian" twitterUserName="kriptonian8" />
<Killers image="rajdip-b" twitterUserName="RajB47" />
</div>
Expand Down
2 changes: 1 addition & 1 deletion apps/web/components/Links.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ const Links = ({ icon, description, link }: LinksProps) => {
className='unselectable'
draggable='false'
/>
<p className="text-white text-sm">{description}</p>
<p className="text-white text-xs md:text-md">{description}</p>
</div>
</a>
)
Expand Down
Loading