diff --git a/components/Post.tsx b/components/Post.tsx index 381f2b3..3272b17 100644 --- a/components/Post.tsx +++ b/components/Post.tsx @@ -98,7 +98,7 @@ const Post = ({ src, title, layout, content, id, mode }: Props) => { > {title} -

{content.substring(0, 100)}...

+

{content.substring(0, 75).trimEnd()}...

diff --git a/pages/dashboard.tsx b/pages/dashboard.tsx index d6f534f..9d75cba 100644 --- a/pages/dashboard.tsx +++ b/pages/dashboard.tsx @@ -32,15 +32,15 @@ export default function Login() {
-
-

+
+

Dashboard

{session && (