Skip to content

Commit 35f2cf8

Browse files
chore: run prettier
1 parent f5cbe48 commit 35f2cf8

30 files changed

+507
-510
lines changed

apps/web/README.md

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -26,23 +26,18 @@ These are just some of the base routes and will advance over time.
2626
### Routes
2727

2828
1. **Dashboard**
29-
3029
- `/admin/${teamId}`: Route for the admin dashboard of the selected team, providing an overview of key metrics and recent activities.
3130

3231
2. **Workouts**
33-
3432
- `/admin/${teamId}/workouts`: Route for managing workouts specific to the selected team, enabling coaches to create, edit, and schedule training sessions.
3533

3634
3. **Athletes**
37-
3835
- `/admin/${teamId}/athletes`: Route for managing athlete profiles and performance metrics for the selected team, facilitating athlete tracking and attendance monitoring.
3936

4037
4. **Events**
41-
4238
- `/admin/${teamId}/events`: Route for managing events (e.g., competitions, meets) for the selected team, allowing coaches to create, view, and manage event details.
4339

4440
5. **Analytics**
45-
4641
- `/admin/${teamId}/analytics`: Route for accessing analytics and performance insights related to the selected team, offering trend analysis and training effectiveness evaluation.
4742

4843
6. **Settings**

packages/ui/src/components/avatar.tsx

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
1-
"use client"
1+
"use client";
22

3-
import * as React from "react"
4-
import * as AvatarPrimitive from "@radix-ui/react-avatar"
3+
import * as React from "react";
4+
import * as AvatarPrimitive from "@radix-ui/react-avatar";
55

6-
import { cn } from "@project-aqua/ui/lib/utils"
6+
import { cn } from "@project-aqua/ui/lib/utils";
77

88
function Avatar({
99
className,
@@ -14,11 +14,11 @@ function Avatar({
1414
data-slot="avatar"
1515
className={cn(
1616
"relative flex size-8 shrink-0 overflow-hidden rounded-full",
17-
className
17+
className,
1818
)}
1919
{...props}
2020
/>
21-
)
21+
);
2222
}
2323

2424
function AvatarImage({
@@ -31,7 +31,7 @@ function AvatarImage({
3131
className={cn("aspect-square size-full", className)}
3232
{...props}
3333
/>
34-
)
34+
);
3535
}
3636

3737
function AvatarFallback({
@@ -43,11 +43,11 @@ function AvatarFallback({
4343
data-slot="avatar-fallback"
4444
className={cn(
4545
"bg-muted flex size-full items-center justify-center rounded-full",
46-
className
46+
className,
4747
)}
4848
{...props}
4949
/>
50-
)
50+
);
5151
}
5252

53-
export { Avatar, AvatarImage, AvatarFallback }
53+
export { Avatar, AvatarImage, AvatarFallback };

packages/ui/src/components/badge.tsx

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
1-
import * as React from "react"
2-
import { Slot } from "@radix-ui/react-slot"
3-
import { cva, type VariantProps } from "class-variance-authority"
1+
import * as React from "react";
2+
import { Slot } from "@radix-ui/react-slot";
3+
import { cva, type VariantProps } from "class-variance-authority";
44

5-
import { cn } from "@project-aqua/ui/lib/utils"
5+
import { cn } from "@project-aqua/ui/lib/utils";
66

77
const badgeVariants = cva(
88
"inline-flex items-center justify-center rounded-md border px-2 py-0.5 text-xs font-medium w-fit whitespace-nowrap shrink-0 [&>svg]:size-3 gap-1 [&>svg]:pointer-events-none focus-visible:border-ring focus-visible:ring-ring/50 focus-visible:ring-[3px] aria-invalid:ring-destructive/20 dark:aria-invalid:ring-destructive/40 aria-invalid:border-destructive transition-[color,box-shadow] overflow-hidden",
@@ -22,8 +22,8 @@ const badgeVariants = cva(
2222
defaultVariants: {
2323
variant: "default",
2424
},
25-
}
26-
)
25+
},
26+
);
2727

2828
function Badge({
2929
className,
@@ -32,15 +32,15 @@ function Badge({
3232
...props
3333
}: React.ComponentProps<"span"> &
3434
VariantProps<typeof badgeVariants> & { asChild?: boolean }) {
35-
const Comp = asChild ? Slot : "span"
35+
const Comp = asChild ? Slot : "span";
3636

3737
return (
3838
<Comp
3939
data-slot="badge"
4040
className={cn(badgeVariants({ variant }), className)}
4141
{...props}
4242
/>
43-
)
43+
);
4444
}
4545

46-
export { Badge, badgeVariants }
46+
export { Badge, badgeVariants };

packages/ui/src/components/breadcrumb.tsx

Lines changed: 15 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,11 @@
1-
import * as React from "react"
2-
import { Slot } from "@radix-ui/react-slot"
3-
import { ChevronRight, MoreHorizontal } from "lucide-react"
1+
import * as React from "react";
2+
import { Slot } from "@radix-ui/react-slot";
3+
import { ChevronRight, MoreHorizontal } from "lucide-react";
44

5-
import { cn } from "@project-aqua/ui/lib/utils"
5+
import { cn } from "@project-aqua/ui/lib/utils";
66

77
function Breadcrumb({ ...props }: React.ComponentProps<"nav">) {
8-
return <nav aria-label="breadcrumb" data-slot="breadcrumb" {...props} />
8+
return <nav aria-label="breadcrumb" data-slot="breadcrumb" {...props} />;
99
}
1010

1111
function BreadcrumbList({ className, ...props }: React.ComponentProps<"ol">) {
@@ -14,11 +14,11 @@ function BreadcrumbList({ className, ...props }: React.ComponentProps<"ol">) {
1414
data-slot="breadcrumb-list"
1515
className={cn(
1616
"text-muted-foreground flex flex-wrap items-center gap-1.5 text-sm break-words sm:gap-2.5",
17-
className
17+
className,
1818
)}
1919
{...props}
2020
/>
21-
)
21+
);
2222
}
2323

2424
function BreadcrumbItem({ className, ...props }: React.ComponentProps<"li">) {
@@ -28,25 +28,25 @@ function BreadcrumbItem({ className, ...props }: React.ComponentProps<"li">) {
2828
className={cn("inline-flex items-center gap-1.5", className)}
2929
{...props}
3030
/>
31-
)
31+
);
3232
}
3333

3434
function BreadcrumbLink({
3535
asChild,
3636
className,
3737
...props
3838
}: React.ComponentProps<"a"> & {
39-
asChild?: boolean
39+
asChild?: boolean;
4040
}) {
41-
const Comp = asChild ? Slot : "a"
41+
const Comp = asChild ? Slot : "a";
4242

4343
return (
4444
<Comp
4545
data-slot="breadcrumb-link"
4646
className={cn("hover:text-foreground transition-colors", className)}
4747
{...props}
4848
/>
49-
)
49+
);
5050
}
5151

5252
function BreadcrumbPage({ className, ...props }: React.ComponentProps<"span">) {
@@ -59,7 +59,7 @@ function BreadcrumbPage({ className, ...props }: React.ComponentProps<"span">) {
5959
className={cn("text-foreground font-normal", className)}
6060
{...props}
6161
/>
62-
)
62+
);
6363
}
6464

6565
function BreadcrumbSeparator({
@@ -77,7 +77,7 @@ function BreadcrumbSeparator({
7777
>
7878
{children ?? <ChevronRight />}
7979
</li>
80-
)
80+
);
8181
}
8282

8383
function BreadcrumbEllipsis({
@@ -95,7 +95,7 @@ function BreadcrumbEllipsis({
9595
<MoreHorizontal className="size-4" />
9696
<span className="sr-only">More</span>
9797
</span>
98-
)
98+
);
9999
}
100100

101101
export {
@@ -106,4 +106,4 @@ export {
106106
BreadcrumbPage,
107107
BreadcrumbSeparator,
108108
BreadcrumbEllipsis,
109-
}
109+
};

packages/ui/src/components/button.tsx

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
1-
import * as React from "react"
2-
import { Slot } from "@radix-ui/react-slot"
3-
import { cva, type VariantProps } from "class-variance-authority"
1+
import * as React from "react";
2+
import { Slot } from "@radix-ui/react-slot";
3+
import { cva, type VariantProps } from "class-variance-authority";
44

5-
import { cn } from "@project-aqua/ui/lib/utils"
5+
import { cn } from "@project-aqua/ui/lib/utils";
66

77
const buttonVariants = cva(
88
"inline-flex items-center justify-center gap-2 whitespace-nowrap rounded-md text-sm font-medium transition-all disabled:pointer-events-none disabled:opacity-50 [&_svg]:pointer-events-none [&_svg:not([class*='size-'])]:size-4 shrink-0 [&_svg]:shrink-0 outline-none focus-visible:border-ring focus-visible:ring-ring/50 focus-visible:ring-[3px] aria-invalid:ring-destructive/20 dark:aria-invalid:ring-destructive/40 aria-invalid:border-destructive",
@@ -32,8 +32,8 @@ const buttonVariants = cva(
3232
variant: "default",
3333
size: "default",
3434
},
35-
}
36-
)
35+
},
36+
);
3737

3838
function Button({
3939
className,
@@ -43,17 +43,17 @@ function Button({
4343
...props
4444
}: React.ComponentProps<"button"> &
4545
VariantProps<typeof buttonVariants> & {
46-
asChild?: boolean
46+
asChild?: boolean;
4747
}) {
48-
const Comp = asChild ? Slot : "button"
48+
const Comp = asChild ? Slot : "button";
4949

5050
return (
5151
<Comp
5252
data-slot="button"
5353
className={cn(buttonVariants({ variant, size, className }))}
5454
{...props}
5555
/>
56-
)
56+
);
5757
}
5858

59-
export { Button, buttonVariants }
59+
export { Button, buttonVariants };

0 commit comments

Comments
 (0)