Skip to content

Commit c86218c

Browse files
committed
Match font styles for the title 'Add New' to the other headings on the Dashboard page. Rename create-entity to add-entities.
1 parent 030292e commit c86218c

File tree

2 files changed

+6
-4
lines changed

2 files changed

+6
-4
lines changed

src/app/dashboard/page.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ import type * as React from "react";
33
import { cn } from "@/components/lib/utils";
44
import SelectCoachingRelationship from "@/components/ui/dashboard/select-coaching-relationship";
55
import CoachingSessionList from "@/components/ui/dashboard/coaching-session-list";
6-
import CreateEntity from "@/components/ui/dashboard/create-entity";
6+
import AddEntities from "@/components/ui/dashboard/add-entities";
77

88
export const metadata: Metadata = {
99
title: "Dashboard",
@@ -39,7 +39,7 @@ export default function DashboardPage() {
3939
<>
4040
<div className="p-4 max-w-screen-2xl">
4141
<div className="mb-8 w-full">
42-
<CreateEntity />
42+
<AddEntities />
4343
</div>
4444
</div>
4545
<DashboardContainer>

src/components/ui/dashboard/create-entity.tsx renamed to src/components/ui/dashboard/add-entities.tsx

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ import { AddMemberButton } from "./add-member-button";
77
import { useRouter } from "next/navigation";
88
import { useOrganizationStateStore } from "@/lib/providers/organization-state-store-provider";
99

10-
export default function CreateEntity() {
10+
export default function AddEntities() {
1111
const router = useRouter();
1212
const [open, setOpen] = useState(false);
1313
const { currentOrganizationId } = useOrganizationStateStore((state) => state);
@@ -22,7 +22,9 @@ export default function CreateEntity() {
2222

2323
return (
2424
<div className="space-y-4">
25-
<h2 className="text-2xl font-bold tracking-tight">Create</h2>
25+
<h3 className="text-xl sm:text-2xl font-semibold tracking-tight">
26+
Add New
27+
</h3>
2628
<div className="grid grid-cols-1 gap-4 md:grid-cols-2">
2729
<AddCoachingSessionDialog
2830
open={open}

0 commit comments

Comments
 (0)