Commit graph

121 commits

Author SHA1 Message Date
Michał 3dda6380e5
Merge pull request #8 from Fluffy-Bean/deepsource-transform-0065c2e8
style: format code with Prettier
2024-05-05 11:12:51 +01:00
deepsource-autofix[bot] fbd604830e
style: format code with Prettier
This commit fixes the style issues introduced in 9dce923 according to the output
from Prettier.

Details: None
2024-05-05 10:12:16 +00:00
Michał 9dce9235d6 Set image value in Item to list, to support more images in the future
Set all pages to Typescript
2024-05-05 11:12:01 +01:00
Michał 7d8d19a6e9 Fix basket loading and verifying on page load
Update go mod files
2024-05-04 17:58:48 +01:00
Michał 5bcebe2011 Disable amount button (at checkout) if amount too low/high 2024-05-04 17:27:25 +01:00
Michał d9e95ebda4
Merge pull request #6 from Fluffy-Bean/deepsource-transform-bf6dd641
style: format code with Prettier
2024-05-04 17:08:19 +01:00
deepsource-autofix[bot] 9d19529b8e
style: format code with Prettier
This commit fixes the style issues introduced in 7b4cbef according to the output
from Prettier.

Details: None
2024-05-04 15:54:37 +00:00
Michał 7b4cbef983 FUCK 2024-05-04 16:54:19 +01:00
Michał 42951bab20 Manual formating and cleanups 2024-05-04 16:52:21 +01:00
Michał 31a31a43e0
Merge pull request #4 from Fluffy-Bean/deepsource-transform-5891e056
style: format code with Prettier
2024-05-04 16:28:53 +01:00
deepsource-autofix[bot] cd6fdf3b29
style: format code with Prettier
This commit fixes the style issues introduced in 6e31b44 according to the output
from Prettier.

Details: None
2024-05-04 15:26:36 +00:00
deepsource-io[bot] 6e31b44137
ci: update .deepsource.toml 2024-05-04 15:26:13 +00:00
Michał a1b7ac4dab
Create .prettierrc.yaml 2024-05-04 16:23:28 +01:00
deepsource-io[bot] d25b9accda
ci: add .deepsource.toml 2024-05-04 15:12:36 +00:00
Michał 9761e4b0aa Cache errors
Missing `;`
2024-05-03 19:43:27 +01:00
Michał 7f7fa3b3ab Fix some errors after cart refactor 2024-05-03 19:21:28 +01:00
Michał 7066cc492b Move to key-value basket, to keep track of information easier
Clean up code, add more types
Clean up error handling
2024-05-03 18:35:39 +01:00
Michał ec2ef95cca Link back to the item page 2024-05-03 17:00:34 +01:00
Michał c54c9c05a9 Optimise Cart page
Yeet the last of the % imports, as they incorrectly displayed as syntax errors
2024-05-03 14:09:48 +01:00
Michał 6f97ad9a4c Add styling to BasketItem
Move footer style to its own file
Make the contact form a bit more intuitive
General cleanup
2024-05-03 13:10:37 +01:00
Michał 764aaa48ea Improve Carts reliability
Nicer empty cart page
Check on page load if cart is valid
2024-05-03 12:31:12 +01:00
Michał 67c8794427 Kinda working cart 2024-05-03 11:34:44 +01:00
Michał f7321ed338 Improve basket count
Move leaflet css resource link to App.svelte
make cartLen a more sensible name
2024-05-02 22:56:59 +01:00
Michał 350528ca2e Noisy background 2024-05-02 19:24:33 +01:00
Michał 1486c1b70a Effort to transition to TypeScript
Remove commit warnings
2024-05-02 19:10:21 +01:00
Michał 4f0ecd33e4 Update test api to TypeScript for better type handling 2024-05-02 13:36:24 +01:00
Michał 04f7d40e52 Use array of UUIDs + Amount for cart data
This is very unstable, but works on the power of will and hope
2024-05-01 18:55:51 +01:00
Michał b7bc7da366 Basic Cart functionality
Add test-api function for contact page
2024-04-30 14:48:32 +01:00
Michał e2e68ab1fb Nicer error page for Item page 2024-04-29 19:19:28 +01:00
Michał 383f22bdf8 Improve Item page
Add 500 page and dedicated 404 page
Add fake cache to tester API
Adjust some styles for better readability and usability
2024-04-28 19:19:05 +01:00
Michał 40c19335cf
Merge pull request #1 from Fluffy-Bean/dependabot/go_modules/golang.org/x/net-0.23.0
Bump golang.org/x/net from 0.19.0 to 0.23.0
2024-04-28 10:58:45 +01:00
dependabot[bot] 1ae7c9845c
Bump golang.org/x/net from 0.19.0 to 0.23.0
Bumps [golang.org/x/net](https://github.com/golang/net) from 0.19.0 to 0.23.0.
- [Commits](https://github.com/golang/net/compare/v0.19.0...v0.23.0)

---
updated-dependencies:
- dependency-name: golang.org/x/net
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-04-28 09:57:03 +00:00
Michał 05e3adb5bb Add announcements banner loading content
Add leaflet type definitions
2024-04-28 00:27:17 +01:00
Michał 782c88d082 Add fake API to allow for testing of requests 2024-04-27 19:23:06 +01:00
Michał 2686fb904c Add phosphor pre-preprocessor, to improve readability of code 2024-04-27 18:17:37 +01:00
Michał bfbd393b46 Forgetti spaghetti some directories 2024-04-27 18:04:06 +01:00
Michał 7b5dbb1614 Add air config
Remove unused params
2024-04-27 17:53:34 +01:00
Michał 109386bf51 Clean up file structure
Speed up compile times
2024-04-27 17:37:08 +01:00
Michał 8416549858 Test out API requests from frontend to backend 2024-04-27 17:15:13 +01:00
Michał 53cbe6e26c Too early for a database 2024-04-27 15:55:51 +01:00
Michał 4318b3ed47 Add run commands 2024-04-27 15:01:54 +01:00
Michał ac0a8df205 Awooga, add background to table
Yeet title for commonly asked questions
2024-04-26 18:54:04 +01:00
Michał a53879b86f Move form element styling to SCSS
Add time timetable on index page
2024-04-26 15:30:01 +01:00
Michał 3614a2553f Make SQL file 2024-04-26 14:02:07 +01:00
Michał 04adf38b46 Add contact form
Fake API
Make Index resize to mobile better
Add error colour
2024-04-26 13:50:21 +01:00
Michał 8ab0957a85 Mobile nav bar
Self closing divs to make stuff easier to read
2024-04-25 23:32:04 +01:00
Michał 4433d7cc19 Improve touchtarget for DropDown
Improve FourOhFour page
2024-04-25 19:48:12 +01:00
Michał e8493d53f8 Create Container style
Make some styles for mobile
Create Logo for the website
Clean up styles for the millionth time
2024-04-25 19:18:28 +01:00
Michał 7b4a40c861 🦔 2024-04-24 23:25:08 +01:00
Michał e8084105eb yeet contact refresh button 2024-04-24 17:47:03 +01:00