@@ -8,69 +8,82 @@ import SideNavMenu from "../MarketingSidenavMenu";
88import HeroBackground from "./LandingHeroBg" ;
99import HeroCard from "./LandingHeroCard" ;
1010
11+ const HIGHLIGHT_METRICS = [
12+ { label : "Projects shipped" , value : "120+" } ,
13+ { label : "Avg. client satisfaction" , value : "4.9/5" } ,
14+ { label : "Specialists on demand" , value : "80+" } ,
15+ ] ;
1116
1217const Hero = ( ) => {
1318 return (
1419 < div className = "relative" >
1520 < HeroBackground />
1621
17- { /* Todo add white grid here in png */ }
18-
19- < section className = "relative flex min-h-screen w-full flex-col items-center justify-center overflow-hidden bg-cover bg-no-repeat text-white" >
22+ < section className = "relative flex min-h-[90vh] w-full flex-col items-center justify-center overflow-hidden text-white" >
2023 < SideNavMenu />
21- < Container className = "flex flex-col gap-10 lg:gap-20 mt-12" >
22- < div className = "relative" >
23- < div className = "relative z-10 flex flex-col gap-8 pt-20 text-center lg:pt-0" >
24- < div className = "flex flex-col gap-4" >
25- < p className = "text-lg font-normal uppercase md:text-2xl lg:font-semibold" >
26- Codebility
27- </ p >
28- < h1 className = "flex flex-col gap-1 text-4xl font-semibold md:text-6xl" >
29- < span > We Lead in Digital</ span >
30- < span > Innovation & Design </ span >
31- </ h1 >
32- < h2 className = "text-2xl" > Helping you achieve impactful results</ h2 >
33- </ div >
34- < div className = "md:mx-auto" >
35- < div className = "flex w-full flex-col items-center gap-4 md:flex-row" >
36- < Link href = "/services" >
37- < Button variant = "purple" size = "lg" rounded = "full" className = "" >
38- Our Portfolio
39- </ Button >
40- </ Link >
41- < Link href = "/bookacall" >
42- < Button
43- variant = "outline"
44- rounded = "full"
45- size = "lg"
46- >
47- Let's Connect
48- </ Button >
49- </ Link >
24+
25+ < Container className = "relative z-10 flex w-full max-w-[1400px] flex-col gap-20 px-6 py-20 md:px-10 md:py-24 lg:flex-row lg:items-center lg:gap-28 lg:pl-[13rem] xl:pl-[16rem]" >
26+ < div className = "flex w-full flex-col items-center gap-12 text-center lg:w-[58%] lg:items-start lg:text-left" >
27+ < div className = "flex flex-col gap-6" >
28+ < span className = "inline-flex items-center gap-2 self-center rounded-full border border-purple-300/30 bg-purple-500/10 px-4 py-1 text-xs font-semibold uppercase tracking-[0.3em] text-purple-100 md:self-start" >
29+ Strategic Digital Partner
30+ </ span >
31+ < h1 className = "flex flex-col gap-2 text-4xl font-semibold leading-tight md:text-5xl lg:text-6xl" >
32+ < span > Turn your ideas into</ span >
33+ < span className = "bg-gradient-to-r from-purple-200 via-white to-purple-300 bg-clip-text text-transparent" >
34+ profitable digital products
35+ </ span >
36+ </ h1 >
37+ < p className = "max-w-2xl text-base leading-relaxed text-white/75 md:text-lg" >
38+ We combine strategy, creative marketing, and engineering to launch experiences your audience remembers. From
39+ high-converting landing pages to full digital ecosystems, Codebility moves modern brands forward.
40+ </ p >
41+ </ div >
42+
43+ < div className = "flex flex-col items-center gap-4 md:flex-row lg:items-center" >
44+ < Link href = "/bookacall" className = "w-full md:w-auto" >
45+ < Button variant = "purple" size = "lg" rounded = "full" className = "w-full md:w-auto" >
46+ Book a Strategy Call
47+ </ Button >
48+ </ Link >
49+ < Link href = "/services" className = "w-full md:w-auto" >
50+ < Button variant = "outline" rounded = "full" size = "lg" className = "w-full border-white/40 text-white md:w-auto" >
51+ View Our Built Apps
52+ </ Button >
53+ </ Link >
54+ </ div >
55+
56+ < div className = "grid w-full grid-cols-1 items-stretch gap-6 sm:grid-cols-3" >
57+ { HIGHLIGHT_METRICS . map ( ( metric ) => (
58+ < div
59+ key = { metric . label }
60+ className = "flex flex-col rounded-2xl border border-white/10 bg-white/5 p-4 text-center shadow-lg shadow-purple-500/10 backdrop-blur"
61+ >
62+ < p className = "text-2xl font-semibold text-white md:text-3xl" > { metric . value } </ p >
63+ < p className = "mt-1 text-xs font-medium uppercase tracking-[0.18em] text-white/60 md:text-sm" >
64+ { metric . label }
65+ </ p >
5066 </ div >
51- </ div >
67+ ) ) }
5268 </ div >
53- < Image
54- src = { `https://codebility-cdn.pages.dev/assets/images/index/hero-grid.png` }
55- alt = "Hero Grid Background"
56- width = { 1300 }
57- height = { 340 }
58- className = "absolute -top-[10%] left-1/2 -translate-x-1/2 transform"
59- priority
60- />
6169 </ div >
6270
63- < div className = "grid w-full grid-cols-1 gap-3 sm:gap-4 lg:grid-cols-2 lg:gap-5" >
64- { MarketingCardData . map ( ( data , index ) => (
65- < HeroCard
66- key = { index }
67- title = { data . title }
68- description = { data . description }
69- url = { data . url }
70- />
71- ) ) }
71+ < div className = "relative flex w-full max-w-[520px] flex-col gap-8 self-center lg:w-[45%] lg:self-start" >
72+ < div className = "grid grid-cols-1 gap-6 sm:grid-cols-2 sm:gap-8" >
73+ { MarketingCardData . slice ( 0 , 4 ) . map ( ( data , index ) => (
74+ < HeroCard
75+ key = { index }
76+ title = { data . title }
77+ description = { data . description }
78+ url = { data . url }
79+ category = { data . category }
80+ />
81+ ) ) }
82+ </ div >
7283 </ div >
7384 </ Container >
85+
86+ < div className = "pointer-events-none absolute inset-x-0 bottom-0 h-80 bg-gradient-to-t from-black via-black/40 to-transparent" aria-hidden = "true" />
7487 </ section >
7588 </ div >
7689 ) ;
0 commit comments