1export { theme } from "../tags/question-layout.marko";
2export interface Input {
3 admin?: boolean;
4}
5export const meta: Metadata = {
6 title: "paper clover q+a",
7 description: "ask clover a question",
8};
9
10<const/inboxSize=questions.getAllPending().length>
11<if=(inboxSize > 0)>
12 <p>
13 <strong style={ color: "#ff4b4b" }>
14 notice: ${inboxSize} items in <a href="/admin/q+a/inbox">inbox</a>!
15 </strong>
16 </p>
17</if>
18
19<MainPage admin/>
20
21import MainPage from "./q+a.marko";
22import * as questions from "#src/q+a/models/questions.ts";