Small fixes.

This commit is contained in:
Mike Cao 2025-03-15 20:34:42 -07:00
parent 5536e0b7e7
commit efd4f4ca00
31 changed files with 621 additions and 586 deletions

View file

@ -1,5 +1,13 @@
import { Board } from './Board';
import { Column, Heading } from '@umami/react-zen';
import Link from 'next/link';
export function BoardsPage() {
return <Board />;
return (
<Column>
<Heading>My Boards</Heading>
<Link href="/teams/3a97e34a-7f9d-4de2-8754-ed81714b528d/boards/86d4095c-a2a8-4fc8-9521-103e858e2b41">
Board 1
</Link>
</Column>
);
}

View file

@ -1,9 +1,10 @@
import { Column, Heading } from '@umami/react-zen';
export function Board() {
export function Board({ boardId }: { boardId: string }) {
return (
<Column>
<Heading>Board title</Heading>
<div>{boardId}</div>
</Column>
);
}

View file

@ -0,0 +1,12 @@
import { Metadata } from 'next';
import { Board } from './Board';
export default async function ({ params }: { params: Promise<{ boardId: string }> }) {
const { boardId } = await params;
return <Board boardId={boardId} />;
}
export const metadata: Metadata = {
title: 'Board',
};

View file

@ -1,5 +1,5 @@
import { BoardsPage } from './BoardsPage';
import { Metadata } from 'next';
import { BoardsPage } from './BoardsPage';
export default function () {
return <BoardsPage />;