Commit Graph

43 Commits

Author SHA1 Message Date
Aaron William Po
b97228cfa1 Fix: update deprecated button group (daisy ui) to join 2023-06-02 19:51:26 -04:00
Aaron William Po
02d753fb41 update: implement account page reducer to manage account page state 2023-06-02 00:08:50 -04:00
Aaron William Po
81cb95391a fix: fix toast style by shifting close icon, fix installation issues 2023-06-01 21:30:30 -04:00
Aaron William Po
b644e7eeee Update: Implement delete account feature + package updates 2023-06-01 20:20:45 -04:00
Aaron William Po
49565d0533 Update: update confirm user, user account page 2023-05-31 21:00:01 -04:00
Aaron William Po
bc298bce0e Update: change identifiers to cuid 2023-05-28 21:24:59 -04:00
Aaron William Po
2b026b7e5f format: format codebase to prettier schema 2023-05-28 20:12:41 -04:00
Aaron William Po
f4e6a307f2 feat: implement change password 2023-05-28 20:05:00 -04:00
Aaron William Po
4c30af27b6 Update: add more toast notifications, update position
Also set Account page to use UserContext. Refactored api requests out of components.
2023-05-22 22:41:37 -04:00
Aaron William Po
27e72d3dcf Refactor: Organize api requests by type and remove toastContext 2023-05-22 12:18:31 -04:00
Aaron William Po
56af72a471 feat: add react-hot-toast for toast notifs 2023-05-19 23:27:49 -04:00
Aaron William Po
0b0c0e6821 Feat: Add edit user functionality 2023-05-15 23:07:33 -04:00
Aaron William Po
50c3e1a82b Feat: Update beer recs to be loaded on the client side 2023-05-14 14:56:34 -04:00
Aaron William Po
99c57d88c7 Update: beer post form now connected to a specific brewery.
This commit eliminates the brewery selector in the create beer post form, and reroutes the form page to /breweries/[id]/beers/create.

This commit also introduces the use of turbopack for `next dev`.
2023-05-12 20:21:52 -04:00
Aaron William Po
9574bbaeb9 Feat: Update user validation schema to include username/email check
The validation schema will throw an error if the username or email is already found in the database.
2023-05-12 08:34:06 -04:00
Aaron William Po
3e1172e440 Refactor: switch data fetching from server side to client 2023-05-09 00:53:15 -04:00
Aaron William Po
ab393ee49e Refactor: only load like count span when no longer loading 2023-05-08 21:10:26 -04:00
Aaron William Po
f21dc905fe feat: client app can now upload images for beer posts
Updated seed to incorporate cloudinary images, downgraded multer to recent LTS, update tsconfig to allow spread operator usage on FileList.
2023-05-07 21:05:21 -04:00
Aaron William Po
79e6ab8ba7 Update: Refactor comments section to prop drill edit and delete handlers 2023-05-06 00:09:02 -04:00
Aaron William Po
196d09161a Update: fix pluralization for beer and brewery header like count 2023-05-02 23:49:01 -04:00
Aaron William Po
b7b239a4a1 Refactor: force style consistency for pagination queries
All pagination queries now use an underscore for page_num, and page_size
2023-05-02 23:45:32 -04:00
Aaron William Po
c5b546dcf6 Refactor: create separate directory for beer/brewery comments 2023-05-02 23:27:12 -04:00
Aaron William Po
283b944c6b Refactor: change directory structure of hooks to organize by task 2023-05-02 21:54:49 -04:00
Aaron William Po
23baa68a25 Fix bug where comments would not update when edited 2023-05-02 19:50:36 -04:00
Aaron William Po
d20ab0fd1f Add user location marker to brewery map, Add beer sec. for brewery posts 2023-05-01 23:10:39 -04:00
Aaron William Po
1a806e7aff Update tooltip location 2023-04-30 23:42:06 -04:00
Aaron William Po
adf1b55d10 Feat: Add create brewery comments and brewery cluster map 2023-04-30 23:09:03 -04:00
Aaron William Po
b3b1d5b6d1 Feat: Implement infinite scrolling brewery comment section
Refactor beer comment schemas to work on brewery comments as well. Add robots.txt to block crawling for now.
2023-04-30 14:00:38 -04:00
Aaron William Po
c19cddceb7 Create location table for brewery post locations 2023-04-26 08:37:59 -04:00
Aaron William Po
4aeafc0de8 Feat: Implement mapbox for geocoding and location data for brewery posts 2023-04-24 21:45:25 -04:00
Aaron William Po
eec082e73a Add date established to brewery page 2023-04-23 20:31:09 -04:00
Aaron William Po
58d30b605f Continue work on brewery page, implement like system 2023-04-23 17:26:21 -04:00
Aaron William Po
53c147eecc Remove Layout in page components, used in _app
This fixes a glitch where the theme change button would stop working on client route change.
2023-04-22 22:16:46 -04:00
Aaron William Po
603588ca54 Update docs for useTheme hook, move meta viewport to _app 2023-04-21 23:42:14 -04:00
Aaron William Po
6a00532f75 Style updates 2023-04-21 23:32:18 -04:00
Aaron William Po
2dfb080d0c Implement theming 2023-04-21 23:31:09 -04:00
Aaron William Po
070d537a6a Get basic editing functionality for beer comments 2023-04-19 23:14:43 -04:00
Aaron William Po
dffbc5cdfb Update styles to be more mobile friendly, add favicon 2023-04-18 21:40:34 -04:00
Aaron William Po
ac90f89dc9 Remove height for comment form card, update page size for index page 2023-04-17 21:57:06 -04:00
Aaron William Po
ed4a60c6b8 Updated styles to better fit mobile layout 2023-04-17 21:46:11 -04:00
Aaron William Po
60fe48b7c1 Begin work on infinite beer scroll 2023-04-16 20:32:42 -04:00
Aaron William Po
07330beb9c Update navbar, implement useNavbar hook, style updates
- Created a custom hook that returns an object with pages depending on user auth. This is a refactor of the logic found in the navbar component.
- Updated styles for card components
- Fix font size issues for mobile.
- Update theming to include a new pastel theme.
2023-04-13 23:04:25 -04:00
Aaron William Po
08422fe24e Restructure codebase to use src directory 2023-04-11 23:32:06 -04:00