diff --git a/src/app/activities/[activity-id]/start/page.tsx b/src/app/activities/[activity-id]/start/page.tsx new file mode 100644 index 0000000..db68e51 --- /dev/null +++ b/src/app/activities/[activity-id]/start/page.tsx @@ -0,0 +1,45 @@ +import BasicLayout from "~/components/ui/BasicLayout"; +import { Textarea } from "~/components/ui/textarea"; +import { getActivity } from "~/models/activity"; + +export default function ActivitiesStartPage({ + params, +}: { + params: { "activity-id": string }; +}) { + return ( + +
+ + +
+
+ ); +} + +function Timer() { + return ( + <> + 00:00:00 +
+ + ); +} + +async function Editor({ activityId }: { activityId: string }) { + if (!activityId) { + return "존재하지 않는 활동이에요!"; + } + + const activity = await getActivity({ activityId }); + + return ( +
+
+

{activity.name}

+

{activity.description}

+
+