diff --git a/app/page.tsx b/app/page.tsx index 4ea27d4..f156029 100644 --- a/app/page.tsx +++ b/app/page.tsx @@ -7,7 +7,7 @@ export default async function Page() { const posts = await getPosts(); return ( -
+
); diff --git a/app/posts.tsx b/app/posts.tsx index 8ba0d65..6192675 100644 --- a/app/posts.tsx +++ b/app/posts.tsx @@ -12,14 +12,15 @@ const Posts: FC = ({ posts }) => { return ( <> {posts.map((p) => ( -
-

{p.author.name}

-

{p.title}

-
+
+

@{p.author.name}

+

{p.title}

+
{p.message && ( )}
+ {new Date(p.time * 1000).toLocaleString()}
))} diff --git a/posts b/posts index 727169a..83679c8 160000 --- a/posts +++ b/posts @@ -1 +1 @@ -Subproject commit 727169ae31de82eaafae68844b7e8189a602205d +Subproject commit 83679c8770185b01ad187d0ba673f0989455eaeb diff --git a/styles/globals.css b/styles/globals.css index b5c61c9..681926f 100755 --- a/styles/globals.css +++ b/styles/globals.css @@ -1,3 +1,15 @@ @tailwind base; @tailwind components; @tailwind utilities; + +.markdown { + @apply space-y-2; +} + +.markdown ul { + @apply pl-4; +} + +.markdown li { + @apply list-disc; +}