Update site navigation styles and cleanup page imports
The navigation menu item styles were adjusted for better appearance. Also, the spacing in the NavigationMenuList was increased for better user experience. Moreover, a few unused imports in page.tsx were removed to clean up the code. Additionally, the button class formatting was adjusted for better readability and consistency.
This commit is contained in:
@@ -10,7 +10,7 @@ const getClassName = (path: string, currentPathName: string) => {
|
||||
const isActive = isRouteActive(path, currentPathName);
|
||||
|
||||
return cn(
|
||||
`text-sm font-medium px-2.5 py-2 border rounded-lg border-transparent transition-colors duration-100`,
|
||||
`text-sm font-medium transition-colors duration-300 inline-flex w-max`,
|
||||
{
|
||||
'dark:text-gray-300 dark:hover:text-white': !isActive,
|
||||
'dark:text-white text-current': isActive,
|
||||
|
||||
@@ -53,7 +53,7 @@ export function SiteNavigation() {
|
||||
'rounded-full border border-gray-100 px-4 py-2 dark:border-primary/10'
|
||||
}
|
||||
>
|
||||
<NavigationMenuList className={'space-x-1'}>
|
||||
<NavigationMenuList className={'space-x-4'}>
|
||||
{NavItems}
|
||||
</NavigationMenuList>
|
||||
</NavigationMenu>
|
||||
|
||||
@@ -1,18 +1,11 @@
|
||||
import Image from 'next/image';
|
||||
import Link from 'next/link';
|
||||
|
||||
import {
|
||||
ArrowRightIcon,
|
||||
CreditCard,
|
||||
LayoutDashboard,
|
||||
Lock,
|
||||
Sparkle,
|
||||
} from 'lucide-react';
|
||||
import { ArrowRightIcon, LayoutDashboard } from 'lucide-react';
|
||||
|
||||
import { PricingTable } from '@kit/billing-gateway/marketing';
|
||||
import { Button } from '@kit/ui/button';
|
||||
import {
|
||||
Card,
|
||||
CardContent,
|
||||
CardDescription,
|
||||
CardHeader,
|
||||
@@ -306,7 +299,9 @@ function MainCallToActionButton() {
|
||||
return (
|
||||
<div className={'flex space-x-4'}>
|
||||
<Button
|
||||
className={'h-12 rounded-xl px-4 text-base font-semibold hover:shadow-2xl transition-all dark:shadow-primary/30'}
|
||||
className={
|
||||
'h-12 rounded-xl px-4 text-base font-semibold transition-all hover:shadow-2xl dark:shadow-primary/30'
|
||||
}
|
||||
asChild
|
||||
>
|
||||
<Link href={'/auth/sign-up'}>
|
||||
|
||||
Reference in New Issue
Block a user