From 514d82c6080965d7257351f4fbd2b20a4a86037d Mon Sep 17 00:00:00 2001 From: Alex Zhang Date: Sun, 31 Mar 2024 14:37:07 -0700 Subject: [PATCH] Other tweaks --- src/components/layout/Navbar/index.tsx | 2 +- src/components/layout/Navbar/style.module.scss | 4 ++++ .../layout/Navbar/style.module.scss.d.ts | 1 + src/lib/constants/ranks.ts | 15 +++++++++++++++ src/pages/store/orders.tsx | 2 +- 5 files changed, 22 insertions(+), 2 deletions(-) diff --git a/src/components/layout/Navbar/index.tsx b/src/components/layout/Navbar/index.tsx index ef5a7563..91420943 100644 --- a/src/components/layout/Navbar/index.tsx +++ b/src/components/layout/Navbar/index.tsx @@ -131,7 +131,7 @@ const Navbar = ({ accessType }: NavbarProps) => { Admin Settings ) : null} -
+

diff --git a/src/components/layout/Navbar/style.module.scss b/src/components/layout/Navbar/style.module.scss index 0d252e55..8f4d73e8 100644 --- a/src/components/layout/Navbar/style.module.scss +++ b/src/components/layout/Navbar/style.module.scss @@ -158,6 +158,10 @@ width: 24px; } } + + .mobileSwitch { + padding-bottom: 0.75rem; + } } .wainbow { diff --git a/src/components/layout/Navbar/style.module.scss.d.ts b/src/components/layout/Navbar/style.module.scss.d.ts index c8e0ebd4..6fd6516c 100644 --- a/src/components/layout/Navbar/style.module.scss.d.ts +++ b/src/components/layout/Navbar/style.module.scss.d.ts @@ -10,6 +10,7 @@ export type Styles = { loggedOut: string; mobileNav: string; mobileNavItem: string; + mobileSwitch: string; navLeft: string; portalLinks: string; toggleIcon: string; diff --git a/src/lib/constants/ranks.ts b/src/lib/constants/ranks.ts index f2afc976..ae2bfa65 100644 --- a/src/lib/constants/ranks.ts +++ b/src/lib/constants/ranks.ts @@ -8,6 +8,21 @@ const ranks = [ 'nlog Naan', 'Constant Cornbread', 'Binary Baguette', + 'Boolean Biscuit', + 'Byte-sized Bagel', + 'Gigabit Gingerbread', + 'Hashed Hashbrown', + 'Recursed Ravioli', + 'Algorithmic Apple Pie', + 'Kernel Krispie', + 'Virtual Viennoiserie', + 'Cybernetic Scone', + 'Quantum Quiche', + 'Firewall Flan', + 'Turing Tart', + 'Syntax Soufflé', + 'Debugging Danish', + 'Neural Network Nougat', 'Blessed Boba', 'Super Snu', 'Soon(TM)', diff --git a/src/pages/store/orders.tsx b/src/pages/store/orders.tsx index 0204f586..9b07d017 100644 --- a/src/pages/store/orders.tsx +++ b/src/pages/store/orders.tsx @@ -33,7 +33,7 @@ const orderInFilter = (order: PublicOrder, filter: string): boolean => { }; const StoreOrderPage = ({ user: { credits }, orders, futurePickupEvents }: OrderPageProps) => { - const [filter, setFilter] = useState('past-6-months'); + const [filter, setFilter] = useState('all-time'); const filteredOrders = orders.filter(o => orderInFilter(o, filter));