Move all code to old/ to prepare for Nuxt rewrite
This commit is contained in:
parent
6007f4caeb
commit
51ff27c569
33 changed files with 0 additions and 1 deletions
12
old/ui/locations.tsx
Normal file
12
old/ui/locations.tsx
Normal file
|
@ -0,0 +1,12 @@
|
|||
"use client";
|
||||
import { useSchedule } from "@/app/schedule/context";
|
||||
|
||||
export function Locations() {
|
||||
const schedule = useSchedule();
|
||||
return <ul>
|
||||
{schedule!.locations.map(location => <li key={location.id}>
|
||||
<h3>{location.name}</h3>
|
||||
{location.description ?? "No description provided"}
|
||||
</li>)}
|
||||
</ul>;
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue