From 5e6a2f0d640d6f284eeb7bb87a4dc0cdccd85da4 Mon Sep 17 00:00:00 2001 From: Neeraj Rekwar <88387699+neerajrekwar@users.noreply.github.com> Date: Wed, 4 Sep 2024 06:05:10 +0000 Subject: [PATCH] gfdhgf --- app/blog/first-post/page.tsx | 171 +++++++++++++++++----------------- app/blog/second-post/page.tsx | 168 ++++++++++++++++----------------- app/blog/third-post/page.tsx | 8 +- 3 files changed, 175 insertions(+), 172 deletions(-) diff --git a/app/blog/first-post/page.tsx b/app/blog/first-post/page.tsx index 030069cee..e5ff34a87 100644 --- a/app/blog/first-post/page.tsx +++ b/app/blog/first-post/page.tsx @@ -7,105 +7,106 @@ const post = posts.find(p => p.slug === 'first-post'); export default function FirstPostPage() { return ( + +
+
+

think it

+
+

{post?.title}

+
+ + by + + {post?.author} + + / + {new Date(post?.date as string).toLocaleString("en-US", { + day: 'numeric', + month: 'long', + year: 'numeric' + + })} + / + + {post?.duration} + +
+

+ {post?.description} -

-
-

think it

-
-

{post?.title}

-
- - by - - {post?.author} - - / - {new Date(post?.date as string).toLocaleString("en-US", { - day: 'numeric', - month: 'long', - year: 'numeric' +

+ {post && ( +
- })} - / - - {post?.duration} - -
-

- {post?.description} + {post?.title} +

+ {/* Check if post.content is an object and has the "data-ctn" property */} + {typeof post.content === 'object' && 'data-ctn' in post.content && post.content["data-ctn"].map((contentItem) => ( +
+ {contentItem.heading3 && ( +

{contentItem.heading3}

+ )} + {contentItem.paraChildPara && ( +

{contentItem.paraChildPara}

+ )} +
+ ))} +
+
+ )} -

- {post && ( -
+ {/* Additional post content */} +
- {post?.title} -
- {/* Check if post.content is an object and has the "data-ctn" property */} - {typeof post.content === 'object' && 'data-ctn' in post.content && post.content["data-ctn"].map((contentItem) => ( -
- {contentItem.heading3 && ( -

{contentItem.heading3}

- )} - {contentItem.paraChildPara && ( -

{contentItem.paraChildPara}

- )} -
- ))} -
+ +
- )} - - {/* Additional post content */} -
+
- - +
+
+
+ like this
-
+
-
-
-
- like this -
-
- - Himanshu and12 -

others love this

-
-
-
-
-
-
-
- neel -
-
neeraj rekwar
-

Artist way show realism

-
- suggest an idea + Himanshu and12 +

others love this

+
+
+
+
+
+
+
+ neel +
+
neeraj rekwar
+

Artist way show realism

+
-
-
+
-
-
-
+ + + + ); } diff --git a/app/blog/second-post/page.tsx b/app/blog/second-post/page.tsx index 6ff8776d8..b8645a9b0 100644 --- a/app/blog/second-post/page.tsx +++ b/app/blog/second-post/page.tsx @@ -6,104 +6,106 @@ const post = posts.find(p => p.slug === 'second-post'); export default function SecondPostPage() { return ( -
-
-

think it

-
-

{post?.title}

-
+ +
+
+

think it

+
+

{post?.title}

+
- by - - {post?.author} - - / - {new Date(post?.date as string).toLocaleString("en-US", { - day: 'numeric', - month: 'long', - year: 'numeric' + by + + {post?.author} + + / + {new Date(post?.date as string).toLocaleString("en-US", { + day: 'numeric', + month: 'long', + year: 'numeric' - })} - / - - {post?.duration} - -
-

- {post?.description} - -

- {post && ( -
+ })} + / + + {post?.duration} + +
+

+ {post?.description} - {post?.title} +

+ {post && (
- {/* Check if post.content is an object and has the "data-ctn" property */} - {typeof post.content === 'object' && 'data-ctn' in post.content && post.content["data-ctn"].map((contentItem) => ( -
- {contentItem.heading3 && ( -

{contentItem.heading3}

- )} - {contentItem.paraChildPara && ( -

{contentItem.paraChildPara}

- )} -
- ))} + + {post?.title} +
+ {/* Check if post.content is an object and has the "data-ctn" property */} + {typeof post.content === 'object' && 'data-ctn' in post.content && post.content["data-ctn"].map((contentItem) => ( +
+ {contentItem.heading3 && ( +

{contentItem.heading3}

+ )} + {contentItem.paraChildPara && ( +

{contentItem.paraChildPara}

+ )} +
+ ))} +
-
- )} + )} - {/* Additional post content */} - {/*
+ {/* Additional post content */} +
- - -
*/} -
+ + + + -
-
-
- like this -
-
+
+
+
+ like this +
+
- Himanshu and12 -

others love this

-
-
-
-
-
-
-
- neel -
-
neeraj rekwar
-

Artist way show realism

-
- suggest an idea + Himanshu and12 +

others love this

+
+
+
+
+
+
+
+ neel +
+
neeraj rekwar
+

Artist way show realism

+
-
-
+
-
-
-
+ + + + ); } diff --git a/app/blog/third-post/page.tsx b/app/blog/third-post/page.tsx index 2d959ad11..8d294ac08 100644 --- a/app/blog/third-post/page.tsx +++ b/app/blog/third-post/page.tsx @@ -7,12 +7,12 @@ const post = posts.find(p => p.slug === 'third-post'); export default function ThirdPostPage() { return ( -
+

think it

{post?.title}

-
+
by @@ -47,7 +47,7 @@ export default function ThirdPostPage() { {typeof post.content === 'object' && 'data-ctn' in post.content && post.content["data-ctn"].map((contentItem) => (
{contentItem.heading3 && ( -

{contentItem.heading3}

+

{contentItem.heading3}

)} {contentItem.paraChildPara && (

{contentItem.paraChildPara}

@@ -106,6 +106,6 @@ export default function ThirdPostPage() {
- + ); }