Formatted some files

This commit is contained in:
gbuomprisco
2024-12-09 13:27:19 +08:00
parent f667f2c7b5
commit be16bf70d5
6 changed files with 12 additions and 13 deletions

View File

@@ -402,7 +402,7 @@ function PlanIntervalSwitcher(
'border-r-transparent': index === 0, 'border-r-transparent': index === 0,
['hover:text-primary text-muted-foreground']: !selected, ['hover:text-primary text-muted-foreground']: !selected,
['cursor-default font-semibold']: selected, ['cursor-default font-semibold']: selected,
['hover:bg-initial']: !selected ['hover:bg-initial']: !selected,
}, },
); );

View File

@@ -148,7 +148,7 @@ export function PersonalAccountDropdown({
<DropdownMenuItem asChild> <DropdownMenuItem asChild>
<Link <Link
className={'s-full flex items-center space-x-2 cursor-pointer'} className={'s-full flex cursor-pointer items-center space-x-2'}
href={paths.home} href={paths.home}
> >
<Home className={'h-5'} /> <Home className={'h-5'} />
@@ -162,7 +162,10 @@ export function PersonalAccountDropdown({
<DropdownMenuSeparator /> <DropdownMenuSeparator />
<DropdownMenuItem asChild> <DropdownMenuItem asChild>
<Link className={'s-full flex items-center space-x-2 cursor-pointer'} href={'/docs'}> <Link
className={'s-full flex cursor-pointer items-center space-x-2'}
href={'/docs'}
>
<MessageCircleQuestion className={'h-5'} /> <MessageCircleQuestion className={'h-5'} />
<span> <span>
@@ -176,7 +179,7 @@ export function PersonalAccountDropdown({
<DropdownMenuItem asChild> <DropdownMenuItem asChild>
<Link <Link
className={'s-full flex items-center space-x-2 cursor-pointer'} className={'s-full flex cursor-pointer items-center space-x-2'}
href={'/admin'} href={'/admin'}
> >
<Shield className={'h-5'} /> <Shield className={'h-5'} />

View File

@@ -52,9 +52,7 @@ export function Hero({
{subtitle && ( {subtitle && (
<div className="flex max-w-2xl flex-col space-y-1"> <div className="flex max-w-2xl flex-col space-y-1">
<h3 <h3 className="p-0 text-center font-sans text-xl font-normal tracking-tight text-muted-foreground">
className="p-0 text-center text-xl font-sans font-normal text-muted-foreground tracking-tight"
>
{subtitle} {subtitle}
</h3> </h3>
</div> </div>
@@ -79,7 +77,7 @@ export function Hero({
style={{ style={{
MozAnimationDuration: '100ms', MozAnimationDuration: '100ms',
}} }}
className={cn('mx-auto container flex justify-center py-8', { className={cn('container mx-auto flex justify-center py-8', {
['delay-1000 duration-1000 animate-in fade-in zoom-in-95 slide-in-from-top-32 fill-mode-both']: ['delay-1000 duration-1000 animate-in fade-in zoom-in-95 slide-in-from-top-32 fill-mode-both']:
animate, animate,
})} })}

View File

@@ -12,4 +12,4 @@ export * from './feature-grid';
export * from './feature-card'; export * from './feature-card';
export * from './newsletter-signup'; export * from './newsletter-signup';
export * from './newsletter-signup-container'; export * from './newsletter-signup-container';
export * from './coming-soon'; export * from './coming-soon';

View File

@@ -30,9 +30,7 @@ export const SecondaryHero = forwardRef<HTMLDivElement, SecondaryHeroProps>(
{heading} {heading}
</Heading> </Heading>
<h3 <h3 className="font-sans text-xl font-normal tracking-tight text-muted-foreground">
className="font-sans font-normal text-xl tracking-tight text-muted-foreground"
>
{subheading} {subheading}
</h3> </h3>
</div> </div>

View File

@@ -74,7 +74,7 @@ export function SubMenuModeToggle() {
return ( return (
<DropdownMenuItem <DropdownMenuItem
className={cn('flex items-center space-x-2 cursor-pointer', { className={cn('flex cursor-pointer items-center space-x-2', {
'bg-muted': isSelected, 'bg-muted': isSelected,
})} })}
key={mode} key={mode}