Loading...
+ }
+
+ if (error) {
+ return
-
ContentInfoPage
- {params.id}
-
Find me in packages/client/src/page/contentInfoPage.tsx
+
+
+
+
+
+ {data.title}
+
+
+ {classifiedTags.type[0] ?? "N/A"}
+
+
+
+
+
+
+
+
+
+ {new Date(data.created_at).toLocaleString()}
+ {new Date(data.modified_at).toLocaleString()}
+ {`${data.basepath}/${data.filename}`}
+ {JSON.stringify(data.additional)}
+
+
+
Tags
+
+ {classifiedTags.rest.map((tag) => )}
+
+
+
+
);
}
-export default ContentInfoPage;
\ No newline at end of file
+export default ContentInfoPage;
+
+function DescItem({ name, children, className }: {
+ name: string,
+ className?: string,
+ children?: React.ReactNode
+}) {
+ return