Skip to content

Commit c117744

Browse files
committed
chore: adjustments, add todo
1 parent 61aef20 commit c117744

File tree

2 files changed

+3
-6
lines changed

2 files changed

+3
-6
lines changed

src/components/ui/section.tsx

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -3,16 +3,13 @@ import { cva, type VariantProps } from "class-variance-authority"
33

44
import { cn } from "@/lib/utils/cn"
55

6+
// TODO: Add to design system
67
const variants = cva("w-full scroll-mt-20", {
78
variants: {
89
variant: {
910
responsiveFlex: "flex flex-col gap-8 md:flex-row lg:gap-16",
10-
normal: "",
1111
},
1212
},
13-
defaultVariants: {
14-
variant: "normal",
15-
},
1613
})
1714

1815
const Section = React.forwardRef<

src/pages/index.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -224,7 +224,7 @@ const HomePage = ({
224224
</div>
225225

226226
{/* Use Cases - A new way to use the internet */}
227-
<section
227+
<Section
228228
id="use"
229229
className={cn(
230230
"max-lg:-mx-4 max-lg:flex max-lg:w-[100vw] max-lg:flex-col max-lg:overflow-hidden max-lg:px-4 sm:max-lg:-mx-6 sm:max-lg:px-6", // Mobile: Swiper cards
@@ -273,7 +273,7 @@ const HomePage = ({
273273
className={cn(className, "max-lg:hidden")} // Desktop only
274274
/>
275275
))}
276-
</section>
276+
</Section>
277277

278278
{/* Activity - The strongest ecosystem */}
279279
<Section id="activity" variant="responsiveFlex">

0 commit comments

Comments
 (0)