Skip to content

Commit 5d40d5a

Browse files
committed
size
1 parent be2952d commit 5d40d5a

File tree

159 files changed

+552
-568
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

159 files changed

+552
-568
lines changed

apps/dashboard/app/(auth)/layout.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -60,7 +60,7 @@ export default async function AuthLayout({
6060
<Suspense
6161
fallback={
6262
<div className="flex h-40 items-center justify-center">
63-
<SpinnerIcon className="h-8 w-8 animate-spin text-primary" />
63+
<SpinnerIcon className="size-8 animate-spin text-primary" />
6464
</div>
6565
}
6666
>

apps/dashboard/app/(auth)/login/forgot/page.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -71,7 +71,7 @@ export default function ForgotPasswordPage() {
7171
>
7272
{isLoading ? (
7373
<>
74-
<Loader2 className="h-4 w-4 animate-spin" />
74+
<Loader2 className="size-4 animate-spin" />
7575
Sending reset link...
7676
</>
7777
) : (
@@ -80,7 +80,7 @@ export default function ForgotPasswordPage() {
8080
</Button>
8181
<Link className="mt-4 block" href="/login">
8282
<Button className="w-full" type="button" variant="outline">
83-
<ChevronLeft className="mr-2 h-4 w-4" />
83+
<ChevronLeft className="mr-2 size-4" />
8484
Back to login
8585
</Button>
8686
</Link>

apps/dashboard/app/(auth)/login/magic-sent/page.tsx

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@ export default function MagicSentPage() {
4646
<div className="absolute inset-0 animate-pulse rounded-full bg-info/5" />
4747
<div className="-inset-1 absolute rounded-full bg-gradient-to-tr from-info/20 to-info/10 opacity-70 blur-md" />
4848
<div className="relative rounded-full bg-gradient-to-tr from-info to-info/80 p-2.5">
49-
<MailCheck className="h-8 w-8 text-info-foreground" />
49+
<MailCheck className="size-8 text-info-foreground" />
5050
</div>
5151
</div>
5252
<h1 className="font-bold text-2xl text-foreground">Check your email</h1>
@@ -70,7 +70,7 @@ export default function MagicSentPage() {
7070
>
7171
{isLoading ? (
7272
<>
73-
<Loader2 className="mr-2 h-4 w-4 animate-spin" />
73+
<Loader2 className="mr-2 size-4 animate-spin" />
7474
Sending...
7575
</>
7676
) : (
@@ -83,7 +83,7 @@ export default function MagicSentPage() {
8383
type="button"
8484
variant="outline"
8585
>
86-
<ChevronLeft className="mr-2 h-4 w-4" />
86+
<ChevronLeft className="mr-2 size-4" />
8787
Back to login
8888
</Button>
8989
</Link>

apps/dashboard/app/(auth)/login/magic/page.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@ export default function MagicLinkPage() {
4848
<div className="relative mb-10 inline-flex h-16 w-16 items-center justify-center">
4949
<div className="-inset-1 absolute animate-pulse rounded-full bg-radial from-accent-foreground to-transparent opacity-20 blur-md" />
5050
<div className="relative">
51-
<Sparkles className="h-8 w-8 animate-pulse text-foreground" />
51+
<Sparkles className="size-8 animate-pulse text-foreground" />
5252
</div>
5353
</div>
5454
<h1 className="font-medium text-2xl text-foreground">

apps/dashboard/app/(auth)/login/page.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -250,7 +250,7 @@ function LoginPage() {
250250
<Button className="w-full" disabled={isLoading} type="submit">
251251
{isLoading ? (
252252
<>
253-
<SpinnerIcon className="mr-2 h-4 w-4 animate-spin" />
253+
<SpinnerIcon className="mr-2 size-4 animate-spin" />
254254
Signing in...
255255
</>
256256
) : (
@@ -289,7 +289,7 @@ export default function Page() {
289289
<div className="flex h-screen items-center justify-center bg-background">
290290
<div className="relative">
291291
<div className="absolute inset-0 animate-ping rounded-full bg-primary/20 blur-xl" />
292-
<SpinnerIcon className="relative h-8 w-8 animate-spin text-primary" />
292+
<SpinnerIcon className="relative size-8 animate-spin text-primary" />
293293
</div>
294294
</div>
295295
}

apps/dashboard/app/(auth)/login/verification-needed/page.tsx

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@ export default function VerificationNeededPage() {
4343
<div className="absolute inset-0 animate-pulse rounded-full bg-warning/5" />
4444
<div className="-inset-1 absolute rounded-full bg-gradient-to-tr from-warning/20 to-warning/10 opacity-70 blur-md" />
4545
<div className="relative rounded-full bg-gradient-to-tr from-warning to-warning/80 p-2.5">
46-
<AlertCircle className="h-8 w-8 text-warning-foreground" />
46+
<AlertCircle className="size-8 text-warning-foreground" />
4747
</div>
4848
</div>
4949
<h1 className="font-bold text-2xl text-foreground">
@@ -68,7 +68,7 @@ export default function VerificationNeededPage() {
6868
>
6969
{isLoading ? (
7070
<>
71-
<Loader2 className="mr-2 h-4 w-4 animate-spin" />
71+
<Loader2 className="mr-2 size-4 animate-spin" />
7272
Sending...
7373
</>
7474
) : (
@@ -81,7 +81,7 @@ export default function VerificationNeededPage() {
8181
type="button"
8282
variant="outline"
8383
>
84-
<ChevronLeft className="mr-2 h-4 w-4" />
84+
<ChevronLeft className="mr-2 size-4" />
8585
Back to login
8686
</Button>
8787
</Link>

apps/dashboard/app/(auth)/register/page.tsx

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -231,7 +231,7 @@ function RegisterPageContent() {
231231
>
232232
{isLoading ? (
233233
<>
234-
<SpinnerIcon className="mr-2 h-4 w-4 animate-spin" />
234+
<SpinnerIcon className="mr-2 size-4 animate-spin" />
235235
Sending...
236236
</>
237237
) : (
@@ -350,7 +350,7 @@ function RegisterPageContent() {
350350
<TooltipProvider>
351351
<Tooltip>
352352
<TooltipTrigger asChild>
353-
<InfoIcon className="h-4 w-4 text-muted-foreground" />
353+
<InfoIcon className="size-4 text-muted-foreground" />
354354
</TooltipTrigger>
355355
<TooltipContent>
356356
<p>Password must be at</p>
@@ -381,9 +381,9 @@ function RegisterPageContent() {
381381
variant="ghost"
382382
>
383383
{showPassword ? (
384-
<EyeSlashIcon className="h-4 w-4" />
384+
<EyeSlashIcon className="size-4" />
385385
) : (
386-
<EyeIcon className="h-4 w-4" />
386+
<EyeIcon className="size-4" />
387387
)}
388388
</Button>
389389
</div>
@@ -420,9 +420,9 @@ function RegisterPageContent() {
420420
variant="ghost"
421421
>
422422
{showConfirmPassword ? (
423-
<EyeSlashIcon className="h-4 w-4" />
423+
<EyeSlashIcon className="size-4" />
424424
) : (
425-
<EyeIcon className="h-4 w-4" />
425+
<EyeIcon className="size-4" />
426426
)}
427427
</Button>
428428
</div>
@@ -501,7 +501,7 @@ function RegisterPageContent() {
501501
>
502502
{isLoading ? (
503503
<>
504-
<SpinnerIcon className="mr-2 h-4 w-4 animate-spin" />
504+
<SpinnerIcon className="mr-2 size-4 animate-spin" />
505505
<span className="hidden sm:inline">Creating account...</span>
506506
<span className="sm:hidden">Creating...</span>
507507
</>
@@ -562,7 +562,7 @@ export default function RegisterPage() {
562562
<div className="flex h-screen items-center justify-center bg-background">
563563
<div className="relative">
564564
<div className="absolute inset-0 animate-ping rounded-full bg-primary/20 blur-xl" />
565-
<SpinnerIcon className="relative h-8 w-8 animate-spin text-primary" />
565+
<SpinnerIcon className="relative size-8 animate-spin text-primary" />
566566
</div>
567567
</div>
568568
}

apps/dashboard/app/(main)/billing/components/cancel-subscription-dialog.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,7 @@ export function CancelSubscriptionDialog({
5353
type="button"
5454
>
5555
<div className="mb-2 flex items-center gap-3">
56-
<div className="flex h-8 w-8 items-center justify-center rounded-full bg-blue-100">
56+
<div className="flex size-8 items-center justify-center rounded-full bg-blue-100">
5757
<CalendarIcon className="text-foreground" size={16} />
5858
</div>
5959
<div>
@@ -78,7 +78,7 @@ export function CancelSubscriptionDialog({
7878
type="button"
7979
>
8080
<div className="mb-2 flex items-center gap-3">
81-
<div className="flex h-8 w-8 items-center justify-center rounded-full bg-orange-100">
81+
<div className="flex size-8 items-center justify-center rounded-full bg-orange-100">
8282
<LightningIcon className="text-orange-600" size={16} />
8383
</div>
8484
<div>

apps/dashboard/app/(main)/billing/components/credit-card-display.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -180,8 +180,8 @@ function CardBrandLogo({ brand }: { brand: string }) {
180180
return (
181181
<div className="flex h-6 w-10 items-center justify-center">
182182
<div className="relative flex">
183-
<div className="h-5 w-5 rounded-full bg-[#eb001b]" />
184-
<div className="-ml-2.5 h-5 w-5 rounded-full bg-[#f79e1b] mix-blend-hard-light" />
183+
<div className="size-5 rounded-full bg-[#eb001b]" />
184+
<div className="-ml-2.5 size-5 rounded-full bg-[#f79e1b] mix-blend-hard-light" />
185185
</div>
186186
</div>
187187
);

apps/dashboard/app/(main)/billing/components/empty-states.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,9 +14,9 @@ import { Button } from "@/components/ui/button";
1414
export function EmptyUsageState() {
1515
return (
1616
<div className="flex flex-col items-center justify-center py-16 text-center">
17-
<div className="mb-4 flex h-14 w-14 items-center justify-center rounded-full bg-muted">
17+
<div className="mb-4 flex h-14 w-14 items-center justify-center rounded-full bg-secondary">
1818
<TrendUpIcon
19-
className="text-muted-foreground"
19+
className="text-secondary-foreground"
2020
size={24}
2121
weight="duotone"
2222
/>

0 commit comments

Comments
 (0)