@@ -29,7 +29,8 @@ import { ChevronRight } from "lucide-react";
2929import { cn } from "~/lib/utils" ;
3030// import { Button } from "@/components/ui/button";
3131import { BoxReveal } from "~/components/magicui/box-reveal" ;
32-
32+ import { WavyBackground } from "~/components/ui/wavy-background" ;
33+
3334const Header = ( ) => {
3435 return < div className = { `${ readexPro . className } text-left flex flex-row mb-4 border-b border-primary/20 w-full lg:mt-0 mt-20` } >
3536 < span className = 'font-normal text-transparent bg-clip-text bg-gradient-to-r from-cyan to-light-green text-2xl flex flex-row items-center w-full' >
@@ -67,12 +68,12 @@ export const Container = ({ children, noHeader }: any) => {
6768 )
6869}
6970
70- const EmptyHome = ( ) => {
71- return < Container noHeader >
72- < div className = "group mt-12 relative mx-auto bg-black/50 flex items-center justify-center rounded-full px-4 py-1.5 shadow-[inset_0_-8px_10px_#8fdfff1f] transition-shadow duration-500 ease-out hover:shadow-[inset_0_-5px_10px_#8fdfff3f] " >
71+ const TopIntro = ( ) => {
72+ return (
73+ < div className = "group bg-black/80 relative mx-auto flex items-center justify-center rounded-full px-4 py-1.5 shadow-[inset_0_-8px_10px_#8fdfff1f] transition-shadow duration-500 ease-out hover:shadow-[inset_0_-5px_10px_#8fdfff3f] " >
7374 < span
7475 className = { cn (
75- "absolute inset-0 block h-full w-full animate-gradient rounded-[inherit] bg-gradient-to-r from-cyan /50 via-green /50 to-[#ffaa40 ]/50 bg-[length:300%_100%] p-[1px]" ,
76+ "absolute inset-0 block h-full w-full animate-gradient rounded-[inherit] bg-gradient-to-r from-[#053D36] /50 via-[#00796B] /50 to-[#00ACC1 ]/50 bg-[length:300%_100%] p-[1px]" ,
7677 ) }
7778 style = { {
7879 WebkitMask :
@@ -84,50 +85,47 @@ const EmptyHome = () => {
8485 } }
8586 />
8687 < AnimatedGradientText className = "text-sm font-medium" >
87- Welcome to Carmel City
88+ Browse Carmels
8889 </ AnimatedGradientText >
89- </ div >
90- < div className = "w-full flex flex-col justify-start items-center mt-32 lg:mt-8 bg-black/0 z-50" >
91- < div className = "h-[12rem] flex items-center justify-center w-full" >
92- < TextHoverEffect text = "CARMEL" />
93- </ div >
94-
95- < div className = " items-center justify-center align-center flex flex-col overflow-hidden pt-8" >
96- < BoxReveal boxColor = { "#0097A7" } duration = { 0.5 } >
97- < h2 className = "mt-[.5rem] text-[1rem]" >
98- People are debating about
99- </ h2 >
100- </ BoxReveal >
101-
102- < BoxReveal boxColor = { "#0097A7" } duration = { 0.5 } >
103- < h1 className = "text-3xl font-semibold" >
104- how to build more human world
105- </ h1 >
106- </ BoxReveal >
107-
108- < BoxReveal boxColor = { "#0097A7" } duration = { 0.5 } >
109- < Link href = { '/carmels' } key = { 'reg1' } >
110- < button
111- className = { `${ readex_pro . className } mt-4 text-nowrap text-sm md:text-md shrink-0 hover:opacity-80 border-cyan font-medium border text-white px-2 py-3 shadow-early-access-button shrink-0 rounded-md` } >
112- Join the conversation
113- </ button >
114- </ Link >
115- </ BoxReveal >
11690
117- < BoxReveal boxColor = { "#0097A7" } duration = { 0.5 } >
118- < p className = "text-lg font-semibold mt-12" >
119- < Link href = { '/store' } key = { 'reg1' } className = 'mr-1' >
120- Check out what the community is building
121- </ Link >
122- </ p >
123- </ BoxReveal >
91+ < hr className = "mx-2 h-4 w-px shrink-0 bg-neutral-500" />
92+ < span className = 'text-sm text-white/70' >
93+ Community debates
94+ </ span >
95+ < ChevronRight
96+ className = "ml-1 size-4 stroke-neutral-500 transition-transform
97+ duration-300 ease-in-out group-hover:translate-x-0.5"
98+ />
12499 </ div >
100+ ) ;
101+ }
125102
126-
127-
128-
129- </ div >
130- </ Container >
103+ const EmptyHome = ( ) => {
104+ return < WavyBackground className = "w-full black/10 p-4 lg:p-24" backgroundFill = '#0A0F12' colors = { [ "#053D36" , "#00796B" , "#00ACC1" , "#4CAF50" ] } >
105+ < div className = 'w-full flex flex-col items-center' >
106+ < Link href = { '/carmels' } key = { 'reg2' } >
107+ < TopIntro />
108+ </ Link >
109+ < h1 className = "text-3xl lg:text-6xl text-white font-bold inter-var text-center mt-4" >
110+ How would you build a more human world?
111+ </ h1 >
112+ { /* <h2 className="mt-4 text-white font-normal text-xl lg:text-2xl inter-var text-center">
113+ Please are currently debating on Carmels how to build a more human world.
114+ </h2> */ }
115+ < Link href = { '/carmels' } key = { 'reg1' } >
116+ < button
117+ className = { `${ readex_pro . className } w-full lg:mt-16 mt-8 text-nowrap shrink-0 hover:opacity-80 border-cyan font-medium border text-white px-2 py-3 shadow-early-access-button shrink-0 rounded-md` } >
118+ Join the conversation
119+ </ button >
120+ </ Link >
121+ < Link href = { '/store' } key = { 'reg2' } >
122+ < button
123+ className = { `${ readex_pro . className } w-full mt-4 text-nowrap text-sm shrink-0 hover:opacity-80 font-medium text-primary px-2 py-3 ` } >
124+ See what the community is already building
125+ </ button >
126+ </ Link >
127+ </ div >
128+ </ WavyBackground >
131129}
132130
133131const onItemPress = ( element : any , router : any ) => {
0 commit comments