Commit Graph

18 Commits

Author SHA1 Message Date
Aaron William Po
843497323a dev: add beers by beer style 2023-10-30 00:49:35 -04:00
Aaron William Po
aef588c993 style: Update dark theming and fonts 2023-10-23 23:16:31 -04:00
Aaron William Po
90a7cf8d56 Format and style
Format SQL query in clean database, run npm run format
2023-05-08 00:04:01 -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
2dfb080d0c Implement theming 2023-04-21 23:31:09 -04:00
Aaron William Po
b1a403e4f2 Slightly alter colours in themes, change cards to compact 2023-04-16 20:32:12 -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
Aaron William Po
90f2cc2c0c Begin work on tab components for beer by id page 2023-04-11 22:18:29 -04:00
Aaron William Po
6c8a510d80 Update seed
Create new users updated to create a longer random value to prevent duplication when seeding db. Beer images now use a generated caption and alt text.
2023-04-11 20:22:21 -04:00
Aaron William Po
0d3785ad1a Add environment variable validation and parsing
Adds a validation schema for the application's environment variables using the Zod library. The parsed environment variables are then exported as constants that can be imported throughout the application, replacing the direct use of process.env.
2023-04-07 11:37:30 -04:00
Aaron William Po
796a5fce3f Styling changes and refactor
Switch google fonts to use Next.js font optimization, animate comment fade in, and refactor beer like handler and comment submit handler.
2023-04-04 20:51:29 -04:00
Aaron William Po
6f604b9768 Change font, add meta title/desc to 404 page 2023-02-20 22:57:00 -05:00
Aaron William Po
5cf2087cd1 Refactored api services into sep files. Client fix
Fixed hydration errors in beers/[id] by implementing timeDistanceState
2023-01-31 23:16:43 -05:00
Aaron William Po
0b96c8f1f5 Did more work to beer post page, seed
Worked on comments and beer recs features. Fine tuning database seed amounts.
2023-01-29 21:53:05 -05:00
Aaron William Po
972846f5a8 scaffold create/edit beer form, scaffold beer page 2023-01-23 20:13:25 -05:00
Aaron William Po
0065525f5c Add beer post, brewery post GET service and page
Add prettier, eslint config
2023-01-22 20:56:33 -05:00
Aaron William Po
a434e1bb98 Add necessary packages, start prisma schema 2023-01-18 20:51:41 -05:00