Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
31 commits
Select commit Hold shift + click to select a range
7c06855
Update dependency posthog-js to v1.280.1 (#407)
renovate[bot] Oct 25, 2025
cf6e5ba
Update dependency @posthog/nextjs-config to v1.3.7 (#422)
renovate[bot] Oct 27, 2025
7898a73
Update dependency posthog-node to v5.10.4 (#426)
renovate[bot] Oct 28, 2025
d085735
Update dependency posthog-js to v1.281.0 (#427)
renovate[bot] Oct 28, 2025
7a857b7
Update dependency @posthog/nextjs-config to v1.3.8 (#428)
renovate[bot] Oct 28, 2025
91a1872
Update dependency @types/node to v24.9.2 (#423)
renovate[bot] Oct 29, 2025
dec89ce
Update dependency knip to v5.66.4 (#424)
renovate[bot] Oct 29, 2025
a185971
Update nextjs monorepo to v16.0.1 (#429)
renovate[bot] Oct 29, 2025
8dfb003
Update dependency posthog-js to v1.282.0 (#430)
renovate[bot] Oct 30, 2025
be6bd25
Update dependency firebase to v12.5.0 (#431)
renovate[bot] Oct 30, 2025
e58c63c
Update dependency lucide-react to ^0.552.0 (#432)
renovate[bot] Oct 31, 2025
094ada5
Update dependency @posthog/nextjs-config to v1.3.9 (#433)
renovate[bot] Oct 31, 2025
ab65b19
Update dependency posthog-js to v1.283.0 (#434)
renovate[bot] Oct 31, 2025
ca03e86
Update dependency eslint to v9.39.0 (#436)
renovate[bot] Nov 1, 2025
0a54da3
Update dependency posthog-node to v5.11.0 (#435)
renovate[bot] Nov 1, 2025
c1a55fc
Update dependency react-hook-form to v7.66.0 (#437)
renovate[bot] Nov 1, 2025
20768e8
Update dependency @tanstack/react-query to v5.90.6 (#438)
renovate[bot] Nov 1, 2025
8645d4a
Update dependency posthog-js to v1.284.0 (#439)
renovate[bot] Nov 2, 2025
e82e025
Update dependency knip to v5.67.0 (#440)
renovate[bot] Nov 3, 2025
3c08899
Update dependency @types/node to v24.10.0 (#441)
renovate[bot] Nov 3, 2025
fb3bcf5
Update dependency knip to v5.67.1 (#442)
renovate[bot] Nov 3, 2025
a38e572
Update dependency posthog-js to v1.285.0 (#443)
renovate[bot] Nov 3, 2025
fb7e269
Update dependency eslint to v9.39.1 (#444)
renovate[bot] Nov 4, 2025
192f2a7
Update dependency posthog-js to v1.285.1 (#445)
renovate[bot] Nov 4, 2025
0c64a93
Update radix-ui-primitives monorepo (#446)
renovate[bot] Nov 5, 2025
d94ca31
Update dependency @posthog/nextjs-config to v1.3.10 (#447)
renovate[bot] Nov 5, 2025
3d1105e
Update dependency @tanstack/react-query to v5.90.7 (#450)
renovate[bot] Nov 5, 2025
4bac9c2
Update dependency posthog-node to v5.11.1 (#448)
renovate[bot] Nov 6, 2025
fc17d6b
Update dependency posthog-js to v1.288.0 (#449)
renovate[bot] Nov 6, 2025
c9cce34
Update dependency posthog-node to v5.11.2 (#452)
renovate[bot] Nov 7, 2025
6eb8816
changed photos link to new website
joeboppell Nov 7, 2025
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 5 additions & 5 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@
"@heroicons/react": "^2.0.18",
"@mui/icons-material": "^6.0.0",
"@mui/material": "^6.4.4",
"@next/third-parties": "^15.3.1",
"@next/third-parties": "^16.0.0",
"@posthog/nextjs-config": "^1.0.2",
"@radix-ui/react-avatar": "^1.1.10",
"@radix-ui/react-checkbox": "^1.3.2",
Expand All @@ -45,17 +45,17 @@
"class-variance-authority": "^0.7.1",
"clsx": "^2.1.1",
"cmdk": "^1.1.1",
"eslint": "9.38.0",
"eslint-config-next": "15.5.6",
"eslint": "9.39.1",
"eslint-config-next": "16.0.1",
"firebase": "^12.0.0",
"form-data": "^4.0.0",
"framer-motion": "^12.0.0",
"ics": "^3.8.1",
"jwt-decode": "^4.0.0",
"lint-staged": "^16.0.0",
"lucide-react": "^0.546.0",
"lucide-react": "^0.552.0",
"luxon": "^3.4.2",
"next": "15.5.6",
"next": "16.0.1",
"posthog-js": "^1.257.0",
"posthog-node": "^5.5.1",
"prettier": "^3.3.3",
Expand Down
11 changes: 6 additions & 5 deletions src/app/(protected)/reimbursements/page.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ import {
Status,
SubmitterType,
useCreateFinance,
Category,
UsersCategory
} from "@/lib/api/finance";
import { useFlagState } from "@/lib/api/flag/hook";

Expand Down Expand Up @@ -64,7 +64,7 @@ const reimbursementSchema = z.object({
required_error: "Description is required",
})
.min(5, "Description must be at least 5 characters"),
category: z.nativeEnum(Category, {
category: z.nativeEnum(UsersCategory, {
required_error: "Category is required",
}),
street: z
Expand Down Expand Up @@ -102,7 +102,7 @@ const BasicInfoStep = ({
}: {
control: any;
errors: any;
categories: Category[];
categories: UsersCategory[];
}) => (
<Grid container spacing={4} className="mb-6">
<Grid item xs={12} md={6}>
Expand Down Expand Up @@ -332,7 +332,8 @@ const NavigationButtons = ({

// ----- 3) Main ReimbursementPage Component -----
const steps = ["Basic Information", "Address Details", "Receipt Upload"];
const categories = Object.values(Category);
const categories = Object.values(UsersCategory
);

export default function ReimbursementPage() {
const [activeStep, setActiveStep] = useState(0);
Expand Down Expand Up @@ -371,7 +372,7 @@ export default function ReimbursementPage() {
},
defaultValues: {
amount: 0,
category: Category.Food,
category: UsersCategory.TravelTransportation,
description: "",
street: "",
city: "",
Expand Down
19 changes: 14 additions & 5 deletions src/components/Navbar/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -157,24 +157,28 @@ const Navbar: React.FC = () => {
setIsMenuOpen(false);
}, [pathname]);

const getNavItems = () => {
const baseItems = [
const getNavItems = (): NavItemProps[] => {
const baseItems: NavItemProps[] = [
{ href: isHome ? "#info" : "/#info", text: "About" },
{ href: isHome ? "#schedule" : "/#schedule", text: "Schedule" },
{ href: isHome ? "#prizes" : "/#prizes", text: "Prizes" },
{ href: isHome ? "#sponsors" : "/#sponsors", text: "Sponsors" },
{ href: isHome ? "#faq" : "/#faq", text: "FAQ" },
];

const authItem =
const authItem: NavItemProps =
!isLoading && isAuthenticated
? { href: "/profile", text: "Profile" }
: { href: "/profile", text: "Register" };

// Only show photos link for authenticated users (keeps homepage clean for guests)
const photosItem =
!isLoading && isAuthenticated
? { href: "/photos", text: "Photos" }
? {
href: "https://go.hackpsu.org/photos",
text: "Photos",
isExternal: true,
}
: null;

return photosItem
Expand Down Expand Up @@ -236,7 +240,11 @@ const Navbar: React.FC = () => {
animate={{ opacity: 1, y: 0 }}
transition={{ duration: 0.4, delay: 0.3 + index * 0.1 }}
>
<NavItem href={item.href} text={item.text} />
<NavItem
href={item.href}
text={item.text}
isExternal={item.isExternal}
/>
</motion.div>
))}
</motion.div>
Expand Down Expand Up @@ -322,6 +330,7 @@ const Navbar: React.FC = () => {
<MobileNavItem
href={item.href}
text={item.text}
isExternal={item.isExternal}
onClick={toggleMenu}
/>
</motion.div>
Expand Down
4 changes: 4 additions & 0 deletions src/lib/api/finance/entity.ts
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,10 @@ export enum SubmitterType {
ORGANIZER = "ORGANIZER",
}

export enum UsersCategory {
TravelTransportation = "Travel - Transportation"
}

export enum Category {
TelephoneRental = "Telephone Rental",
Postage = "Postage",
Expand Down
7 changes: 4 additions & 3 deletions src/styles/globals.css
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
@import url("https://fonts.googleapis.com/css?family=Lato:300,400,500,600,700");
@import url("https://fonts.googleapis.com/css2?family=Rye&display=swap");
@import url("https://fonts.googleapis.com/css2?family=Monomaniac+One&display=swap");

@tailwind base;
@tailwind components;
@tailwind utilities;
Expand Down Expand Up @@ -31,9 +35,6 @@
animation: float-up linear infinite;
}

@import url("https://fonts.googleapis.com/css?family=Lato:300,400,500,600,700");
@import url("https://fonts.googleapis.com/css2?family=Rye&display=swap");
@import url("https://fonts.googleapis.com/css2?family=Monomaniac+One&display=swap");

@layer base {
:root {
Expand Down
Loading