Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Email Required Problem & Post Page Pagination & Author Image Can Not Center Issues #62

Open
joshuadesigner05 opened this issue Feb 28, 2023 · 1 comment

Comments

@joshuadesigner05
Copy link

Hi everyone. I have 3 different problem in this project.

First of all, I would like to express my sincere thanks to @adrianhajdin for this beautiful project he has prepared. Thanks Adrian. <3

Now, if I come to my problems, first of all, when someone wants to send a comment, they can send me their post for approval by simply typing "blabla" without typing "blabla**@xyz.com**" in the email field in the message they send. How can I solve this?

Secondly, after there are 10 posts on the main page, I want the 11th post to be displayed on the second page. How do I provide this?

Third and finally, author image is not centered even though I write the following codes in Author section. What could be causing this and how can I fix it?

image

In addition, although the height values are entered as "100px" in the video, when I do the same, I get the following error. For this reason, I have to write without px in curly brackets. Is this due to version differences or is there a way I can do this? Frankly, Image component of Next JS is tiring me a lot, unfortunately.

Error: Image with src ["https://media.graphassets.com/myphotoaddress"](https://media.graphassets.com/myphotoaddress) has invalid "height" property. Expected a numeric value in pixels but received "100px".

@jasonyeon110
Copy link

jasonyeon110 commented Mar 16, 2023

@joshuadesigner05
try this, className="absolute -top-2 left-1/2 transform -translate-x-1/2 -translate-y-1/2
This className for the parent of should put the author image in the center

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants