Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
navigate after edit, delete, refactor and clean up (laurpe#29)
* get all codes back * add nav border, comment out createEvent in main.js * change footer * add free text to card * change to className in Footer, fetch data for eventShow * show event image, description, start and end time * add footer * make image in EventShow responsive, display flex for top section of eventShow * eventShow responsive * working version with axios.get to single event * get location to work * change to className in footer.js * show organizer * fetch and show location * delete 2 files * tried to fix desc paragraph * fetch data from local api * uncomment createEvent in Main.js * add async await to fix fetching issue * add Link to in Header.js * create fetchLocalEvent function and call inside useEffect, delete commented out useEffect inside EventShow.js * import links for fontawesome, bootstrap in base.html.twig * get social icons to show and show jumbotron bg image * add import statements and comment them out in app.css * fail to add time icon to EventShow * expand jumbotron bg image to full width * install dayjs * change date time format * move dateTimeFormat function to Main.js and pass as props to eventShow and EventList * eventShow * Update package.json * fixed burger icon and social icons * add datetime, location and share with friends icons * change jumbotron text to light * add login state to Login.js * fetch data in eventShow * remove fetch helsinki event block from EventList, add search state in main.js * remove event description from event card * move state and functions back to EventList * made search function in EventList * add trim() to search state in EventList * move fetchLocalEvents function inside useEffect * setLoading(true) inside fetchLocalEvents * redid search function * filter by price free and all * remove console.log inside handlePriceFilter * add filter by category and show location in EventShow * add filter by category and show more info in EventShow * got to show today/tomorrow/event date * move dateTimeFormat function to EventShow * add filter event today * fix handleFreeFilter * add style to eventShow * render clearIcon based on search.length instead * add margin top to Footer * made changes in Main.js * customzize popup content * add venue to map popup * format date and time * filter out past events * fix error in Map.js adding ? * sort events asc * add go back to hompage button * finish scroll to top function * remove go back button from EventShow * Update EventShow.js * fixed scroll to top button * change link in footer * add defaultValue to Edit.js * add today + datetime for card in EventList * delete extra block from Main.js * delete EventsOnMap * fetch from backend for login * update edit.js * fix date bug * navigate after edit, delete, changed some styles Co-authored-by: Laura <[email protected]> Co-authored-by: Laura <[email protected]>
- Loading branch information