From c7b31262c148649ac8eab53b5e473e40bcbae9fa Mon Sep 17 00:00:00 2001 From: Khushi Johri Date: Thu, 19 Oct 2023 15:21:09 +0530 Subject: [PATCH] fix: updated buttons to rounded --- app/(marketing)/page.tsx | 6 +++--- components/layout/site-footer.tsx | 4 ++-- components/layout/site-header.tsx | 11 +++-------- components/tracks.tsx | 8 ++++---- components/ui/button.tsx | 3 +++ 5 files changed, 15 insertions(+), 17 deletions(-) diff --git a/app/(marketing)/page.tsx b/app/(marketing)/page.tsx index 8c9ac6f..b0e6186 100644 --- a/app/(marketing)/page.tsx +++ b/app/(marketing)/page.tsx @@ -35,11 +35,11 @@ export default function Home() { - Join Discord Community + Join Community - + Get Started diff --git a/components/layout/site-footer.tsx b/components/layout/site-footer.tsx index e06ff96..9af063e 100644 --- a/components/layout/site-footer.tsx +++ b/components/layout/site-footer.tsx @@ -29,9 +29,9 @@ export default function SiteFooter({}: Props) { - Join Discord Community + Join Community - {/* - - - */} + - Join Discord Community + Join Community diff --git a/components/tracks.tsx b/components/tracks.tsx index be82ea0..8b2d9c6 100644 --- a/components/tracks.tsx +++ b/components/tracks.tsx @@ -33,7 +33,7 @@ export default function Tracks({}: Props) { Join @@ -55,7 +55,7 @@ export default function Tracks({}: Props) { Join @@ -77,7 +77,7 @@ export default function Tracks({}: Props) { Join @@ -99,7 +99,7 @@ export default function Tracks({}: Props) { Join diff --git a/components/ui/button.tsx b/components/ui/button.tsx index ac8e0c9..24afdb4 100644 --- a/components/ui/button.tsx +++ b/components/ui/button.tsx @@ -12,8 +12,11 @@ const buttonVariants = cva( default: "bg-primary text-primary-foreground hover:bg-primary/90", destructive: "bg-destructive text-destructive-foreground hover:bg-destructive/90", + rounded: "bg-primary text-primary-foreground hover:bg-primary/90 rounded-full", outline: "border border-input bg-background hover:bg-accent hover:text-accent-foreground", + outlineRounded: + "border border-input bg-background hover:bg-accent hover:text-accent-foreground rounded-full", secondary: "bg-secondary text-secondary-foreground hover:bg-secondary/80", ghost: "hover:bg-accent hover:text-accent-foreground",