Skip to content

Commit

Permalink
feat(tickets/[id]): 티켓 인증 성공 페이지 작업
Browse files Browse the repository at this point in the history
ISSUES CLOSED: #134
  • Loading branch information
choi2601 committed Feb 2, 2024
1 parent 86288f9 commit e831234
Show file tree
Hide file tree
Showing 2 changed files with 32 additions and 1 deletion.
30 changes: 30 additions & 0 deletions app/tickets/[id]/page.tsx
Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@
"use client";

import Image from "next/image";
import { SpacerSkleton } from "@/components/common/spacer";
import Typography from "@/components/common/text/Typography";

function QRPage() {
return (
<SpacerSkleton
type="vertical"
justify="center"
align="center"
gap={40}
style={{
width: "100vw",
height: "100vh",
}}
>
<Image
src="/icon/plavnewniverse_black_logo.svg"
width={120}
height={50}
alt="logo"
/>
<Typography typo="subhead01">티켓 인증에 성공하였습니다!</Typography>
</SpacerSkleton>
);
}

export default QRPage;
3 changes: 2 additions & 1 deletion components/common/layout/default.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -11,11 +11,12 @@ interface Props {
}

const QR_PAGE = "/my-info/QR/";
const TICKETS_PAGE = "/tickets/";

function DefaultLayout({ children }: Props) {
const pathname = usePathname();

if (pathname.includes(QR_PAGE)) {
if (pathname.includes(QR_PAGE) || pathname.includes(TICKETS_PAGE)) {
return children;
}

Expand Down

0 comments on commit e831234

Please sign in to comment.