diff --git a/src/app/blogs/[blogid]/page.jsx b/src/app/blogs/[blogid]/page.jsx index 59a9de6..913691b 100644 --- a/src/app/blogs/[blogid]/page.jsx +++ b/src/app/blogs/[blogid]/page.jsx @@ -7,7 +7,7 @@ const page = async ({ params }) => { const blogDetails = await getBlogById(blogid); return

{blogDetails.title}

-

{parse(blogDetails.content)}

+

{parse(blogDetails.content)}

Author: {blogDetails.author} Club: {blogDetails.club} diff --git a/src/app/globals.css b/src/app/globals.css index c258320..c271737 100644 --- a/src/app/globals.css +++ b/src/app/globals.css @@ -21,3 +21,27 @@ body { font-weight: 400; font-style: normal; } +.blogcontent>h1{ + font-size: 26px; + font-weight: 800; +} +.blogcontent>h2{ + font-size: 19px; + font-weight: 600; +} +.blogcontent>h3{ + font-size: 16px; + font-weight: 400; +} +.blogcontent>h4{ + font-size: 13px; + font-weight: 200; +} +.blogcontent>h5{ + font-size: 10px; + font-weight: 150; +} +.blogcontent>p{ + font-size: 13px; + font-weight: 100; +} diff --git a/src/components/editor.jsx b/src/components/editor.jsx index 48f1869..88b0f49 100644 --- a/src/components/editor.jsx +++ b/src/components/editor.jsx @@ -5,7 +5,6 @@ import "react-quill/dist/quill.snow.css"; import parse from "html-react-parser"; export default function Editor({value,setValue}) { // const [value, setValue] = useState(""); - console.log(value) // Customize the toolbar options const modules = { toolbar: [ @@ -32,7 +31,7 @@ export default function Editor({value,setValue}) { return (
-
+