mirror of
https://github.com/marcusDenslow/terminalShop.git
synced 2026-10-25 02:52:20 +02:00
replaced ViewingCart/ViewingAccount booleans and CheckoutStep int with a single 'page' type and a SwitchPage() method, this is just almost copying the reference implementation (terminalDotShop)'s routing pattern. Adds inCartFlow(), chechoutStep(), and buildPageContent() helpers to clean up those huge if/else chains in views, footer, header, and breadcrumds. code is looking a lot better now!
19 MiB
Executable File
19 MiB
Executable File
The file is too large to be shown.
View Raw