Skip to content

Commit b46820c

Browse files
committed
Fix CSS and asset loading for GitHub Pages
- Configure basePath and assetPrefix for repository subdirectory - Add .nojekyll file to prevent Jekyll processing interference - Ensure proper asset paths for GitHub Pages deployment
1 parent fd8a867 commit b46820c

3 files changed

Lines changed: 4 additions & 1 deletion

File tree

.claude/settings.local.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,8 @@
66
"Bash(git commit:*)",
77
"Bash(git push:*)",
88
"Bash(mkdir:*)",
9-
"Bash(npm run build:*)"
9+
"Bash(npm run build:*)",
10+
"Bash(gh repo view:*)"
1011
],
1112
"deny": []
1213
}

unccd-dashboard/next.config.ts

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,8 @@ const nextConfig: NextConfig = {
55
reactStrictMode: true,
66
output: 'export',
77
trailingSlash: true,
8+
basePath: '/STARTHack25-G20-UNCCD-Case',
9+
assetPrefix: '/STARTHack25-G20-UNCCD-Case/',
810
images: {
911
unoptimized: true,
1012
},

unccd-dashboard/public/.nojekyll

Whitespace-only changes.

0 commit comments

Comments
 (0)