Skip to content

Commit 2d88140

Browse files
committed
fix(build):problem did not have output:export in nextjs config so local npm run build did not have probelm but github action did have problem in it so multiple commit to fix the issue was needed
1 parent f95d5d3 commit 2d88140

5 files changed

Lines changed: 19 additions & 5 deletions

File tree

next.config.js

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
// next.config.js
2+
const nextConfig = {
3+
// Remove or comment this if you’re not doing a full static export
4+
// output: 'export'
5+
};
6+
7+
module.exports = nextConfig;
8+

src/app/(admin)/page.tsx

Lines changed: 0 additions & 5 deletions
This file was deleted.

src/app/admin/page.tsx

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
export default function adminpage() {
2+
return (
3+
<div>
4+
<p>
5+
In this dynamic page, when you click any bus button, the UI/UX for all bus locations remains the same.
6+
We use a dynamic page system so that clicking on, for example, the "Bus 1" button redirects here,
7+
but the displayed content updates to show the respective bus's location.
8+
</p>
9+
</div>
10+
);
11+
}

0 commit comments

Comments
 (0)