Skip to content

Commit 1aa1525

Browse files
fix(web): improve builder responsiveness and add npm icon
1 parent 58cbc90 commit 1aa1525

File tree

9 files changed

+192
-204
lines changed

9 files changed

+192
-204
lines changed

apps/web/public/icon/npm.svg

Lines changed: 1 addition & 1 deletion
Loading

apps/web/src/app/(home)/_components/sponsors-section.tsx

Lines changed: 6 additions & 22 deletions
Original file line numberDiff line numberDiff line change
@@ -87,27 +87,11 @@ export default function SponsorsSection() {
8787
[{loadingSponsors ? "LOADING..." : sponsors.length} RECORDS]
8888
</span>
8989
</div>
90-
91-
<div className="mb-8 rounded border border-border p-4">
92-
<div className="flex items-center gap-2 text-sm">
93-
<span className="text-primary">$</span>
94-
<span className=" text-foreground">
95-
Amazing organizations and individuals supporting this project
96-
</span>
97-
</div>
98-
<div className="mt-2 flex items-center gap-2 text-sm">
99-
<span className="text-primary">$</span>
100-
<span className=" text-muted-foreground">
101-
Your support helps maintain and improve Better-T-Stack
102-
</span>
103-
</div>
104-
</div>
105-
10690
{loadingSponsors ? (
10791
<div className="rounded border border-border p-8">
10892
<div className="flex items-center justify-center gap-2">
10993
<div className="h-2 w-2 animate-pulse rounded-full bg-primary" />
110-
<span className=" text-muted-foreground">LOADING_SPONSORS.EXE</span>
94+
<span className=" text-muted-foreground">LOADING_SPONSORS.SH</span>
11195
<div className="h-2 w-2 animate-pulse rounded-full bg-primary" />
11296
</div>
11397
</div>
@@ -143,23 +127,23 @@ export default function SponsorsSection() {
143127
className="flex items-center justify-center gap-2 text-primary transition-colors hover:text-accent"
144128
>
145129
<Heart className="h-4 w-4" />
146-
<span>BECOME_SPONSOR.EXE</span>
130+
<span>BECOME_SPONSOR.SH</span>
147131
</a>
148132
</div>
149133
</div>
150134
) : (
151135
<div className="space-y-8">
152136
{currentSponsors.length > 0 && (
153137
<div className="space-y-4">
154-
<div className="flex items-center gap-2">
138+
{/* <div className="flex items-center gap-2">
155139
<span className="text-primary text-sm">▶</span>
156140
<span className="font-semibold text-foreground text-sm">
157-
ACTIVE_SPONSORS.EXE
141+
ACTIVE_SPONSORS.SH
158142
</span>
159143
<span className="text-muted-foreground text-xs">
160144
({currentSponsors.length})
161145
</span>
162-
</div>
146+
</div> */}
163147
<div className="grid grid-cols-1 gap-4 sm:grid-cols-2 lg:grid-cols-3 xl:grid-cols-4">
164148
{currentSponsors.map((entry, index) => {
165149
const since = new Date(entry.createdAt).toLocaleDateString(
@@ -378,7 +362,7 @@ export default function SponsorsSection() {
378362
className="flex items-center justify-center gap-2 text-primary transition-colors hover:text-accent"
379363
>
380364
<Heart className="h-4 w-4" />
381-
<span>SUPPORT_PROJECT.EXE</span>
365+
<span>SUPPORT_PROJECT.SH</span>
382366
</a>
383367
</div>
384368
</div>

0 commit comments

Comments
 (0)