fix: ui revamp responsiveness

This commit is contained in:
Kinfe123 2024-06-24 12:17:48 +03:00
parent cdebb0b48e
commit 57ce5cd48d
3 changed files with 6 additions and 18 deletions

View file

@ -1,14 +1,12 @@
import React from "react";
import EmailInput from "./EmailInput";
import GridPattern from "./CardPatterns/AnimatedGrid";
import { ChevronRight } from "lucide-react";
// import {Animated}
function Cta() {
return (
<section
id="try"
className="relative bg-page-gradient dark:[box-shadow:0_-20px_80px_-20px_#8686f01f_inset] min-h-[600px] border-[1px] border-white/20 flex flex-col gap-8 justify-center items-center mt-32 mb-28 w-3/4 rounded-3xl py-10 px-8 mx-auto"
className="relative bg-page-gradient dark:[box-shadow:0_-20px_80px_-20px_#8686f01f_inset] min-h-[600px] border-[1px] border-white/20 flex flex-col gap-8 justify-center items-center mt-32 mb-28 w-full md:w-3/4 rounded-3xl py-10 px-3 md:px-8 mx-auto"
>
<div className="absolute -z-1 inset-0 rounded-3xl opacity-5 h-[600px] w-full bg-transparent bg-[linear-gradient(to_right,#f0f0f0_1px,transparent_1px),linear-gradient(to_bottom,#f0f0f0_1px,transparent_1px)] bg-[size:6rem_4rem] [mask-image:radial-gradient(ellipse_80%_50%_at_50%_0%,#000_70%,transparent_110%)]"></div>
<div className="absolute top-0 z-0 w-screen right-0 mx-auto h-[500px] overflow-hidden bg-inherit bg-[radial-gradient(ellipse_20%_80%_at_50%_-20%,rgba(120,119,198,0.3),rgba(255,255,255,0))]"></div>
@ -22,25 +20,16 @@ function Cta() {
/>
</div>
</div>
{/* <Image
src="/landing-ui-2.png"
alt="Landing page background"
width={1512}
height={1405}
priority
draggable="false"
className="absolute z-[-2] hidden select-none rounded-3xl md:block lg:w-[80%] bg-page-gradient"
/> */}
<h1 className="text-sm z-20 text-gray-400 group font-geist mx-auto px-5 py-2 bg-gradient-to-tr from-zinc-300/5 via-gray-400/5 to-transparent border-[2px] border-white/5 rounded-3xl w-fit">
<p className="tracking-tight uppercase">
Launching July 1st, 2024
<ChevronRight className="inline w-4 h-4 ml-2 group-hover:translate-x-1 duration-300" />
</p>
</h1>
<h1 className="z-20 mx-auto mt-0 max-w-xl font-normal tracking-tighter text-5xl md:text-6xl lg:text-7xl text-center text-transparent bg-clip-text bg-gradient-to-tr from-zinc-400/50 to-white/60 via-white">
<h1 className="z-20 mx-auto mt-0 max-w-xl font-normal tracking-tighter text-4xl sm:text-5xl md:text-6xl lg:text-7xl text-center text-transparent bg-clip-text bg-gradient-to-tr from-zinc-400/50 to-white/60 via-white">
Your bookmarks are collecting dust.
</h1>
<p className="z-20 text-center text-lg">
<p className="z-20 text-center text-md md:text-lg">
Sign up for the waitlist and be the first to try Supermemory
</p>
<div className="w-full lg:w-3/4 mx-auto">

View file

@ -58,7 +58,7 @@ const Services = () => {
</div>
<div className="grid relative gap-5 lg:grid-cols-2 z-1">
<div className="overflow-hidden relative rounded-3xl border min-h-[30rem] bg-hero-gradient bg-slate-950/10 border-white/10">
<div className="overflow-hidden relative rounded-3xl border min-h-[33rem] bg-hero-gradient bg-slate-950/10 border-white/10">
<div className="absolute inset-0">
<div className="absolute -z-1 inset-0 h-[600px] w-full bg-transparent opacity-5 bg-[linear-gradient(to_right,#f0f0f0_1px,transparent_1px),linear-gradient(to_bottom,#f0f0f0_1px,transparent_1px)] bg-[size:6rem_4rem] [mask-image:radial-gradient(ellipse_80%_50%_at_50%_0%,#000_70%,transparent_110%)]"></div>
@ -71,7 +71,7 @@ const Services = () => {
/>
</div>
<div className="flex absolute inset-0 flex-col justify-end items-start p-8 -mt-20 bg-glass-gradient">
<div className="flex absolute mt-4 lg:-mt-20 inset-0 flex-col justify-end items-start p-8 bg-glass-gradient">
<h4 className="text-3xl tracking-tight mb-2 text-center text-transparent bg-clip-text bg-[linear-gradient(180deg,_#FFF_0%,_rgba(255,_255,_255,_0.00)_202.08%)]">
Self Hostable
</h4>
@ -153,7 +153,7 @@ const Services = () => {
</p>
<a
href="/components"
className="inline-flex gap-x-1 justify-center items-center py-4 px-10 w-full text-center bg-transparent bg-gradient-to-tr to-transparent rounded-xl transition-colors sm:w-auto mt-[-20px] bg-glass-gradient group from-zinc-300/5 via-gray-400/5 border-white/10 border-[1px] hover:bg-transparent/10"
className="inline-flex gap-x-1 justify-center items-center py-4 px-10 w-fit text-center bg-transparent bg-gradient-to-tr to-transparent rounded-xl transition-colors sm:w-auto mt-[-20px] bg-glass-gradient group from-zinc-300/5 via-gray-400/5 border-white/10 border-[1px] hover:bg-transparent/10"
>
<GithubIcon className="inline-flex justify-center items-center w-5 h-5" />{" "}
Get The Github

View file

@ -6,7 +6,6 @@ import { Toaster } from "@repo/ui/shadcn/toaster";
import Features from "./Features";
import Footer from "./footer";
import { auth } from "../helpers/server/auth";
import { redirect } from "next/navigation";
import Services from "./Features/index";
import { Showcases } from "./Showcase";
import BackgroundPlus from "./GridPatterns/PlusGrid";