- I fixed the layout on mobile devices: The navbar, the admin page, …
- I edited the API endpoints for quotes: Now there are 2 Endpoints for quotes: get and list
- I also added the code for quote editing, but the API endpoint is not implemented yet
- In the client I added a detail page for quotes, where you can see the users, who liked the quote and in the future the comments would also be displayed here
- A new get user endpoint exists, so the quote posters and the likes can display the real username and not only the user-id
- I fixed the logout, that was not working, because the client side navigation couldn’t load the /logout because it loads pages from /pages/… so /pages/logout was a 404. Now the logout is in the pages directory, so it works with client side navigation
The most time for this devlog was invested on the layout of users who liked a post. I just wanted the users to be displayed in collumns and rows. They should be exactly underneath each other, so the like-icon aligns perfectly. Also the names shouldn’t break, because then one row is larger then the others. It was such a pain getting that “simple” thing to work. I asked multiple AIs, after I had no idea anymore and all gave me trash. The Claude used JS and not only CSS and it finally worked!! It was such a pain but in the end I am very happy with the result.
Comments 0
No comments yet. Be the first!
Sign in to join the conversation.