Skip to content

Commit 85d1982

Browse files
committed
feat(home): add Why Choose Us section with MSME trust indicators
1 parent 48e838e commit 85d1982

5 files changed

Lines changed: 41 additions & 32 deletions

File tree

src/assets/MSME-Logo.png

191 KB
Loading

src/assets/msme-logo.png.asset.json

Lines changed: 0 additions & 11 deletions
This file was deleted.

src/assets/msme-logo.webp

27.4 KB
Loading

src/assets/msme-logo1.png

30.6 KB
Loading

src/routes/index.tsx

Lines changed: 41 additions & 21 deletions
Original file line numberDiff line numberDiff line change
@@ -9,13 +9,14 @@ import {
99
Layers,
1010
Zap,
1111
Heart,
12+
Landmark,
1213
} from "lucide-react";
1314
import { Lock, Cpu } from "lucide-react";
1415
import { CtaLink } from "@/components/cta-button";
1516
import { Reveal, SectionHeader, fadeUp, stagger } from "@/components/section";
1617
import heroOrb from "@/assets/hero-orb.jpg";
1718
import founderImg from "@/assets/founder.png";
18-
import msmeLogo from "@/assets/msme-logo.png.asset.json";
19+
import msmeLogo from "@/assets/MSME-Logo.png";
1920

2021
export const Route = createFileRoute("/")({
2122
head: () => ({
@@ -60,7 +61,8 @@ function WhyChooseUs() {
6061
{
6162
title: "MSME Registered Entity",
6263
desc: "Officially registered under India's MSME framework.",
63-
image: msmeLogo.url,
64+
Image: msmeLogo,
65+
icon: <Landmark className="h-5 w-5" />,
6466
},
6567
{
6668
title: "Secure Development Practices",
@@ -100,20 +102,27 @@ function WhyChooseUs() {
100102
transition={{ type: "spring", stiffness: 300, damping: 20 }}
101103
className="group relative overflow-hidden rounded-2xl border border-border bg-card p-5 transition-colors hover:border-primary/40"
102104
>
103-
<div className="inline-flex h-11 w-11 items-center justify-center rounded-xl bg-surface-elevated text-primary ring-1 ring-border overflow-hidden">
104-
{it.image ? (
105-
<img
106-
src={it.image}
107-
alt="MSME Registered"
108-
className="h-8 w-8 object-contain"
109-
loading="lazy"
110-
/>
111-
) : (
112-
it.icon
113-
)}
105+
{it.title === "MSME Registered Entity" && (
106+
<img
107+
src={msmeLogo}
108+
alt=""
109+
aria-hidden="true"
110+
className="pointer-events-none absolute right-3 bottom-3 h-25 w-25 select-none object-contain opacity-[0.50]"
111+
// className="pointer-events-none absolute inset-0 m-auto h-36 w-36 object-contain opacity-[0.05]"
112+
/>
113+
)}
114+
115+
<div className="relative z-10">
116+
<div className="inline-flex h-11 w-11 items-center justify-center rounded-xl bg-surface-elevated text-primary ring-1 ring-border">
117+
{it.icon}
118+
</div>
119+
120+
<h3 className="mt-4 font-display text-base font-semibold text-foreground">
121+
{it.title}
122+
</h3>
123+
124+
<p className="mt-1.5 text-sm leading-relaxed text-muted-foreground">{it.desc}</p>
114125
</div>
115-
<h3 className="mt-4 font-display text-base font-semibold text-foreground">{it.title}</h3>
116-
<p className="mt-1.5 text-sm leading-relaxed text-muted-foreground">{it.desc}</p>
117126
</motion.div>
118127
))}
119128
</motion.div>
@@ -159,8 +168,8 @@ function Hero() {
159168
variants={fadeUp}
160169
className="mt-7 max-w-xl text-base leading-relaxed text-muted-foreground sm:text-lg"
161170
>
162-
GhostCode Dynamics helps businesses build impactful digital experiences while
163-
guiding aspiring professionals through practical technology solutions.
171+
GhostCode Dynamics helps businesses build impactful digital experiences while guiding
172+
aspiring professionals through practical technology solutions.
164173
</motion.p>
165174

166175
<motion.div variants={fadeUp} className="mt-9 flex flex-wrap items-center gap-3">
@@ -190,7 +199,10 @@ function Hero() {
190199
className="lg:col-span-5 relative"
191200
>
192201
<div className="relative aspect-square w-full max-w-[520px] mx-auto">
193-
<div className="absolute inset-0 rounded-[2rem] bg-aurora opacity-90 blur-2xl" aria-hidden />
202+
<div
203+
className="absolute inset-0 rounded-[2rem] bg-aurora opacity-90 blur-2xl"
204+
aria-hidden
205+
/>
194206
<div className="relative h-full w-full rounded-[2rem] overflow-hidden glass-strong ring-glow animate-float-slow">
195207
<img
196208
src={heroOrb}
@@ -257,7 +269,11 @@ function ServicesBento() {
257269
<section className="container-prose py-20 md:py-32">
258270
<SectionHeader
259271
eyebrow="What we do"
260-
title={<>Practical solutions, <span className="text-gradient-primary">thoughtfully built.</span></>}
272+
title={
273+
<>
274+
Practical solutions, <span className="text-gradient-primary">thoughtfully built.</span>
275+
</>
276+
}
261277
description="From shipping production apps for businesses to mentoring students through real projects — focused work, no fluff."
262278
/>
263279

@@ -398,7 +414,9 @@ function FeaturedProjects() {
398414
className="group relative overflow-hidden rounded-2xl border border-border bg-card p-6 transition-colors hover:border-primary/40"
399415
>
400416
<div className="absolute -top-20 -right-20 h-40 w-40 rounded-full bg-primary/10 blur-3xl opacity-0 group-hover:opacity-100 transition-opacity" />
401-
<p className="font-mono text-[10px] uppercase tracking-widest text-primary">{p.tag}</p>
417+
<p className="font-mono text-[10px] uppercase tracking-widest text-primary">
418+
{p.tag}
419+
</p>
402420
<h3 className="mt-3 font-display text-xl font-semibold text-foreground">{p.name}</h3>
403421
<p className="mt-2 text-sm leading-relaxed text-muted-foreground">{p.desc}</p>
404422
<div className="mt-5 flex flex-wrap gap-1.5">
@@ -553,7 +571,9 @@ function FutureVision() {
553571
className="rounded-full border border-border bg-surface/60 px-4 py-2 text-sm text-muted-foreground backdrop-blur hover:border-primary/40 hover:text-foreground transition-colors"
554572
>
555573
{label}
556-
<span className="ml-2 text-[10px] font-mono uppercase tracking-widest text-primary/80">soon</span>
574+
<span className="ml-2 text-[10px] font-mono uppercase tracking-widest text-primary/80">
575+
soon
576+
</span>
557577
</motion.li>
558578
))}
559579
</motion.ul>

0 commit comments

Comments
 (0)