* feat: add type and sourceId columns to board schema * chore: update _journal and add snapshot * feat: scaffold templates page * feat: add template pages * feat: add template card page * feat: add template view indicator * fix: ensure checklists default to empty array in board view * feat: create template from board * feat: show custom templates in new board form * feat: create card activity from snapshot creation * chore: update readme and features * chore: add translations
19 lines
463 B
TypeScript
19 lines
463 B
TypeScript
import type { NextPageWithLayout } from "~/pages/_app";
|
|
import { getDashboardLayout } from "~/components/Dashboard";
|
|
import Popup from "~/components/Popup";
|
|
import CardView, { CardRightPanel } from "~/views/card";
|
|
|
|
const CardPage: NextPageWithLayout = () => {
|
|
return (
|
|
<>
|
|
<CardView isTemplate />
|
|
<Popup />
|
|
</>
|
|
);
|
|
};
|
|
|
|
CardPage.getLayout = (page) =>
|
|
getDashboardLayout(page, <CardRightPanel isTemplate />, true);
|
|
|
|
export default CardPage;
|