diff --git a/web/src/components/postList/postCard.astro b/web/src/components/postList/postCard.astro new file mode 100644 index 0000000..a502e93 --- /dev/null +++ b/web/src/components/postList/postCard.astro @@ -0,0 +1,18 @@ +--- +import { getFormattedDate } from "@utils/date" +import { authPB } from "@utils/pocketbase" + +const pb = await authPB() +const { p } = Astro.props +--- + +
{p['description']}+
Tags
+{ + tags.length && ( +Tags
- { - uniqueTags.length && ( -{p['description']}-