Skip to content

Commit 73b2410

Browse files
authored
Merge pull request #99 from ParachuteTeam/louis/mobile-view-port
feat(eventDetail)!: force desktop viewport
2 parents a7031d6 + 72dd585 commit 73b2410

File tree

1 file changed

+12
-6
lines changed

1 file changed

+12
-6
lines changed

src/pages/event/[id].tsx

+12-6
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,7 @@ import { OperationCard } from "../../components/section/OperationCard";
88
import Footer from "../../components/section/Footer";
99
import { ScreenLoading } from "../../components/ui/ScreenLoading";
1010
import { PrismaClient } from "@prisma/client";
11+
import Head from "next/head";
1112

1213
export const getStaticPaths: GetStaticPaths = () => {
1314
return {
@@ -55,12 +56,17 @@ const EventPage: NextPage = () => {
5556
}
5657

5758
return (
58-
<div className="flex min-h-screen w-screen flex-col bg-gray-100">
59-
<Navbar />
60-
<EventInfoHeader />
61-
<OperationCard />
62-
<Footer />
63-
</div>
59+
<>
60+
<Head>
61+
<meta name="viewport" content="width=1024" />
62+
</Head>
63+
<div className="flex min-h-screen w-screen flex-col bg-gray-100">
64+
<Navbar />
65+
<EventInfoHeader />
66+
<OperationCard />
67+
<Footer />
68+
</div>
69+
</>
6470
);
6571
};
6672

0 commit comments

Comments
 (0)