Skip to content

Commit

Permalink
Other tweaks
Browse files Browse the repository at this point in the history
  • Loading branch information
alexzhang1618 committed Mar 31, 2024
1 parent 8e5effa commit 514d82c
Show file tree
Hide file tree
Showing 5 changed files with 22 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/components/layout/Navbar/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -131,7 +131,7 @@ const Navbar = ({ accessType }: NavbarProps) => {
Admin Settings
</Link>
) : null}
<div>
<div className={styles.mobileSwitch}>
<ThemeToggle />
</div>
<hr className={styles.wainbow} />
Expand Down
4 changes: 4 additions & 0 deletions src/components/layout/Navbar/style.module.scss
Original file line number Diff line number Diff line change
Expand Up @@ -158,6 +158,10 @@
width: 24px;
}
}

.mobileSwitch {
padding-bottom: 0.75rem;
}
}

.wainbow {
Expand Down
1 change: 1 addition & 0 deletions src/components/layout/Navbar/style.module.scss.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@ export type Styles = {
loggedOut: string;
mobileNav: string;
mobileNavItem: string;
mobileSwitch: string;
navLeft: string;
portalLinks: string;
toggleIcon: string;
Expand Down
15 changes: 15 additions & 0 deletions src/lib/constants/ranks.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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)',
Expand Down
2 changes: 1 addition & 1 deletion src/pages/store/orders.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -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));

Expand Down

0 comments on commit 514d82c

Please sign in to comment.