Popo
Popo
KPCKevin Powell - Community
Created by Popo on 9/7/2024 in #front-end
Unable to render the Post page in NextJS
Have a great day!!
31 replies
KPCKevin Powell - Community
Created by Popo on 9/7/2024 in #front-end
Unable to render the Post page in NextJS
Thanks a lot!!!
31 replies
KPCKevin Powell - Community
Created by Popo on 9/7/2024 in #front-end
Unable to render the Post page in NextJS
How do i fix this. where am i doing wrong?
31 replies
KPCKevin Powell - Community
Created by Popo on 9/7/2024 in #front-end
Unable to render the Post page in NextJS
It says undefined in the 11 line that is where i console.log id
31 replies
KPCKevin Powell - Community
Created by Popo on 9/7/2024 in #front-end
Unable to render the Post page in NextJS
No description
31 replies
KPCKevin Powell - Community
Created by Popo on 9/7/2024 in #front-end
Unable to render the Post page in NextJS
I am sorry it is for the lifelist only
31 replies
KPCKevin Powell - Community
Created by Popo on 9/7/2024 in #front-end
Unable to render the Post page in NextJS
it is there.
31 replies
KPCKevin Powell - Community
Created by Popo on 9/7/2024 in #front-end
Unable to render the Post page in NextJS
No description
31 replies
KPCKevin Powell - Community
Created by Popo on 9/7/2024 in #front-end
Unable to render the Post page in NextJS
Why would not if find it
31 replies
KPCKevin Powell - Community
Created by Popo on 9/7/2024 in #front-end
Unable to render the Post page in NextJS
{ id: 2, image: "/happyee.webp", title: "What the is dfdfd dfdf dfdf dfd going here", description: "lorem ipsd dfjdk s ffjdkfj s.lf lsjf slf sf s fjslfosjf sf s sfjs ffslfj sfls fs", }, This is an example of the array.
31 replies
KPCKevin Powell - Community
Created by Popo on 9/7/2024 in #front-end
Unable to render the Post page in NextJS
Improved but not working still. It says post not found..
31 replies
KPCKevin Powell - Community
Created by Popo on 9/7/2024 in #front-end
Unable to render the Post page in NextJS
It says the image is undefined.
31 replies
KPCKevin Powell - Community
Created by Popo on 9/7/2024 in #front-end
Unable to render the Post page in NextJS
same error in the pic i shared above.
31 replies
KPCKevin Powell - Community
Created by Popo on 9/7/2024 in #front-end
Unable to render the Post page in NextJS
I do.
31 replies
KPCKevin Powell - Community
Created by Popo on 9/7/2024 in #front-end
Unable to render the Post page in NextJS
"use client" import React from 'react'; import { useParams } from "next/navigation"; import Lifelist from "./lifelist"; import styles from "./page.module.css" import Image from 'next/image'; const LifePost = () => { const { id } = useParams(); const post = Lifelist.find((post) => post.id === parseInt(id)); return ( <>
<div> <h1>what is this</h1> <img className={styles.picture} src={post.image} alt={post.title} /> <h1 className={styles.posttitle}>{post.title}</h1> <div className={styles.blogpost}>
<p className={styles.bodyText}>{post.description}</p> {/* Assuming 'content' is the detailed post */} </div> </div> </> ); }; export default LifePost;
31 replies
KPCKevin Powell - Community
Created by Popo on 9/7/2024 in #front-end
Unable to render the Post page in NextJS
I just removed the "s" let me paste it here.
31 replies
KPCKevin Powell - Community
Created by Popo on 9/7/2024 in #front-end
Unable to render the Post page in NextJS
I did that with post and since it was not working i was adding s to all of them and trying... ...
31 replies
KPCKevin Powell - Community
Created by Popo on 8/23/2024 in #front-end
Unable to apply Display Flex in ReactJs.
Got it Jochem. Solved!! Thanks man....
6 replies
KPCKevin Powell - Community
Created by Popo on 8/23/2024 in #front-end
Unable to apply Display Flex in ReactJs.
Thanks for you help Jochem:thumbup: . could you please share with an example if possible. I can see the problem with your explanation but unable to put it with the code.
6 replies