diff --git a/src/app/blogs/how_the_blog_feature_works/page.mdx b/src/app/blogs/how_the_blog_feature_works/page.mdx new file mode 100644 index 0000000..2e6248b --- /dev/null +++ b/src/app/blogs/how_the_blog_feature_works/page.mdx @@ -0,0 +1,27 @@ +export const metadata = { + title: "How the Blog Feature Work...", + description: + "Learn how to use MDX and NextJS to add static blogs in your website", + isPublished: true, + slug: "welcome_to_logsfolio", + publishDate: "2nd Jul, 2024", +}; + +
+ +# How the Blog Feature Work... + +
+
+ +
+
diff --git a/src/app/globals.css b/src/app/globals.css index 03a3300..5dfac51 100644 --- a/src/app/globals.css +++ b/src/app/globals.css @@ -2,6 +2,10 @@ @tailwind components; @tailwind utilities; +html { + scroll-behavior: smooth; +} + @layer base { :root { --background: 0 0% 100%; diff --git a/src/app/page.tsx b/src/app/page.tsx index 47b3abe..918d9df 100644 --- a/src/app/page.tsx +++ b/src/app/page.tsx @@ -256,7 +256,7 @@ export default async function Home() { >

Blogs

-
+
{posts.map((post) => (