Skip to content

Commit 5c3a9c8

Browse files
style: hide scrollbars globally
1 parent 79a6cb9 commit 5c3a9c8

2 files changed

Lines changed: 23 additions & 6 deletions

File tree

app/globals.css

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,15 @@
66
body {
77
@apply font-sans bg-[#141414] text-neutral-900 dark:text-neutral-100;
88
}
9+
10+
* {
11+
scrollbar-width: none;
12+
-ms-overflow-style: none;
13+
}
14+
15+
*::-webkit-scrollbar {
16+
display: none;
17+
}
918

1019
.font-serif-title {
1120
font-family: Georgia, 'Times New Roman', serif;

components/PoweredByCarousel.tsx

Lines changed: 14 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -37,10 +37,12 @@ const stack = [
3737
{
3838
name: "Supabase",
3939
logo: <SupabaseLogo />,
40+
comingSoon: false,
4041
},
4142
{
4243
name: "OpenAI",
4344
logo: <OpenAILogo />,
45+
comingSoon: false,
4446
},
4547
{
4648
name: "HuggingFace",
@@ -54,22 +56,28 @@ const stack = [
5456
unoptimized
5557
/>
5658
),
59+
comingSoon: false,
5760
},
5861
{
5962
name: "Anthropic",
6063
logo: <AnthropicLogo />,
64+
comingSoon: true,
6165
},
6266
];
6367

6468
export const PoweredByCarousel: React.FC = () => (
6569
<div className="flex items-center justify-center flex-wrap gap-2">
6670
{stack.map((item) => (
67-
<div
68-
key={item.name}
69-
className="flex items-center gap-2 px-3 py-1.5 rounded-full border border-neutral-200 dark:border-neutral-800 bg-white dark:bg-neutral-900 text-neutral-600 dark:text-neutral-400 text-sm"
70-
>
71-
{item.logo}
72-
<span>{item.name}</span>
71+
<div key={item.name} className="flex flex-col items-center gap-1">
72+
<div className="flex items-center gap-2 px-3 py-1.5 rounded-full border border-neutral-200 dark:border-neutral-800 bg-white dark:bg-neutral-900 text-neutral-600 dark:text-neutral-400 text-sm">
73+
{item.logo}
74+
<span>{item.name}</span>
75+
</div>
76+
{item.comingSoon && (
77+
<span className="text-[10px] tracking-wide text-neutral-400 dark:text-neutral-500">
78+
coming soon
79+
</span>
80+
)}
7381
</div>
7482
))}
7583
</div>

0 commit comments

Comments
 (0)