Skip to content

Commit b53f356

Browse files
committed
added title
1 parent 89dd92d commit b53f356

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

frontend/pages/blog/[slug].tsx

+3-1
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,7 @@ export interface Content {
1010
content: string;
1111
slug: string;
1212
user: User;
13+
title:string
1314
}
1415

1516
export interface User {
@@ -23,8 +24,9 @@ const Blog = ({ content, found }: { content?: Content; found: boolean }) => {
2324
return (
2425
<figure className="md:flex flex-col bg-gray-100 rounded-xl p-8">
2526
<div className="pt-6 text-left space-y-4">
27+
<h1 className="text-2xl font-semibold text-gray-800 ">{content.title}</h1>
2628
<blockquote>
27-
<p className="text-lg font-semibold">
29+
<p className="text-lg font-normal">
2830
{content.content}
2931
</p>
3032
</blockquote>

0 commit comments

Comments
 (0)