-
Notifications
You must be signed in to change notification settings - Fork 144
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
Project Happy Thoughts by Johanna Eriksson #94
base: main
Are you sure you want to change the base?
Commits on Oct 23, 2024
-
Configuration menu - View commit details
-
Copy full SHA for 5370e78 - Browse repository at this point
Copy the full SHA 5370e78View commit details -
Configuration menu - View commit details
-
Copy full SHA for 9eaf584 - Browse repository at this point
Copy the full SHA 9eaf584View commit details -
Add GitHubLogo in svg format. Update App.jsx with putting the Header …
…and Footer inside a div. Add color to the Footer text.
Configuration menu - View commit details
-
Copy full SHA for 938a37a - Browse repository at this point
Copy the full SHA 938a37aView commit details -
Configuration menu - View commit details
-
Copy full SHA for b6e281d - Browse repository at this point
Copy the full SHA b6e281dView commit details -
Add default styling for text. Add default styling for HappyBoard and …
…HappyWall. Add sections in the index.css file for better overview. Add HappyBoard and HappyWall components to App.jsx.
Configuration menu - View commit details
-
Copy full SHA for 2601dab - Browse repository at this point
Copy the full SHA 2601dabView commit details -
Configuration menu - View commit details
-
Copy full SHA for 33b5005 - Browse repository at this point
Copy the full SHA 33b5005View commit details -
Configuration menu - View commit details
-
Copy full SHA for 7a3bd49 - Browse repository at this point
Copy the full SHA 7a3bd49View commit details -
Add Font-family Courier, monospace to h1, h2, h3, h4 and p. Changed s…
…ize in input field and submit button.
Configuration menu - View commit details
-
Copy full SHA for c05eb5f - Browse repository at this point
Copy the full SHA c05eb5fView commit details -
Switch from input field to textarea for a multi-line text input. Add …
…BASE_URL and import useEffect and useState to the HappyWall component, but as comments to avoid errors.
Configuration menu - View commit details
-
Copy full SHA for dd4cec0 - Browse repository at this point
Copy the full SHA dd4cec0View commit details -
Remove all default styling for the button. Add font-family Courier, m…
…onospace to the button, as well as border-radius to make it oval, and background-color grey.
Configuration menu - View commit details
-
Copy full SHA for 17fcda5 - Browse repository at this point
Copy the full SHA 17fcda5View commit details -
Style the board-form by giving it a shadow, change size, center it an…
…d add a border around it
Configuration menu - View commit details
-
Copy full SHA for 6222cd6 - Browse repository at this point
Copy the full SHA 6222cd6View commit details
Commits on Oct 24, 2024
-
Configuration menu - View commit details
-
Copy full SHA for 38daf12 - Browse repository at this point
Copy the full SHA 38daf12View commit details -
Import useEffect and useState hooks. Define BASE_URL for the API. Use…
… useEffect to fetch Happy thoughts from the BASE_URL using an async/await function. Store the fetched thoughts in the 'thoughts' state using the setThoughts function. Include an empty dependency array in useEffect to ensure the fetch only runs once when the component mounts, preventing repeated API calls.
Configuration menu - View commit details
-
Copy full SHA for f2fcc81 - Browse repository at this point
Copy the full SHA f2fcc81View commit details -
Configuration menu - View commit details
-
Copy full SHA for fca5369 - Browse repository at this point
Copy the full SHA fca5369View commit details -
Add return statement to render the happyPosts. Add className posts-co…
…ntainer for the styling. Map through the happyPosts array and use post._id as a unique key for each item/post. Add className post-box to display the message and hearts (likes). Add styling to the post-boxes and post-container.
Configuration menu - View commit details
-
Copy full SHA for 0a74b4b - Browse repository at this point
Copy the full SHA 0a74b4bView commit details -
Add async/await function to fetch likes from API and POST likes. In t…
…he return, add onClick function to add likes to a unique post
Configuration menu - View commit details
-
Copy full SHA for 86a8fe0 - Browse repository at this point
Copy the full SHA 86a8fe0View commit details -
Configuration menu - View commit details
-
Copy full SHA for 8aa5138 - Browse repository at this point
Copy the full SHA 8aa5138View commit details -
Update Like button with notLikedClass and likedClass. Add styling to …
…notLinkedClass and likedClass.
Configuration menu - View commit details
-
Copy full SHA for c44a199 - Browse repository at this point
Copy the full SHA c44a199View commit details -
Add a new className for like-count to put the number of likes outside…
… of the like button.
Configuration menu - View commit details
-
Copy full SHA for 51a37b6 - Browse repository at this point
Copy the full SHA 51a37b6View commit details -
Add className heart-icon to target the heart icon for styling. Change…
… size on the heart-icon. Style the like button.
Configuration menu - View commit details
-
Copy full SHA for 23e03b9 - Browse repository at this point
Copy the full SHA 23e03b9View commit details -
Use useState to set loading on submit. Create a new component for the…
… BASE_URL that is used in the two components HappyBoard and HappyWall. Use Async/await to fetch BASE_URL and POST the body to the HappyWall. If response is ok, clear input field. Add Error handling.
Configuration menu - View commit details
-
Copy full SHA for f254b5a - Browse repository at this point
Copy the full SHA f254b5aView commit details -
Configuration menu - View commit details
-
Copy full SHA for bf65327 - Browse repository at this point
Copy the full SHA bf65327View commit details
Commits on Oct 25, 2024
-
Configuration menu - View commit details
-
Copy full SHA for 641f444 - Browse repository at this point
Copy the full SHA 641f444View commit details -
Configuration menu - View commit details
-
Copy full SHA for 203caa8 - Browse repository at this point
Copy the full SHA 203caa8View commit details -
Change size on input-field/Text area for Desktop. Also add resize non…
…e to the input field to prevent end-user from changing size of the field.
Configuration menu - View commit details
-
Copy full SHA for 12c35de - Browse repository at this point
Copy the full SHA 12c35deView commit details -
Add resize none to the input field to prevent end-user from changing …
…size of the field
Configuration menu - View commit details
-
Copy full SHA for a717177 - Browse repository at this point
Copy the full SHA a717177View commit details -
Configuration menu - View commit details
-
Copy full SHA for abbfbd7 - Browse repository at this point
Copy the full SHA abbfbd7View commit details -
Configuration menu - View commit details
-
Copy full SHA for 79c28a7 - Browse repository at this point
Copy the full SHA 79c28a7View commit details -
Configuration menu - View commit details
-
Copy full SHA for 8c4be0f - Browse repository at this point
Copy the full SHA 8c4be0fView commit details -
Update useful sources in README. Change color on heart icon when uncl…
…icked to a darker grey for a higher contrast ratio.
Configuration menu - View commit details
-
Copy full SHA for f39d471 - Browse repository at this point
Copy the full SHA f39d471View commit details -
Configuration menu - View commit details
-
Copy full SHA for 21db403 - Browse repository at this point
Copy the full SHA 21db403View commit details -
Add time stamp to HappyWall posts. Set the format and how the date/ti…
…me should be shown to the user based on the end user location. Add a new container, like-container, to fix the styling.
Configuration menu - View commit details
-
Copy full SHA for ece414e - Browse repository at this point
Copy the full SHA ece414eView commit details -
Configuration menu - View commit details
-
Copy full SHA for b253987 - Browse repository at this point
Copy the full SHA b253987View commit details -
Configuration menu - View commit details
-
Copy full SHA for 898d301 - Browse repository at this point
Copy the full SHA 898d301View commit details -
Configuration menu - View commit details
-
Copy full SHA for e124798 - Browse repository at this point
Copy the full SHA e124798View commit details -
Configuration menu - View commit details
-
Copy full SHA for 1dfc8c4 - Browse repository at this point
Copy the full SHA 1dfc8c4View commit details -
Configuration menu - View commit details
-
Copy full SHA for 43d9893 - Browse repository at this point
Copy the full SHA 43d9893View commit details -
Configuration menu - View commit details
-
Copy full SHA for 0836ec2 - Browse repository at this point
Copy the full SHA 0836ec2View commit details