Skip to content

Commit ee308d6

Browse files
authored
Merge pull request #33 from gitaehee/taehee1
feat: 어워즈 페이지 수정
2 parents af0b351 + 17da8ba commit ee308d6

16 files changed

Lines changed: 2242 additions & 181 deletions

File tree

frontend/public/awardsimages/section.svg

Lines changed: 85 additions & 0 deletions
Loading

frontend/public/awardsimages/section1.svg

Lines changed: 433 additions & 43 deletions
Loading

frontend/public/awardsimages/section2.svg

Lines changed: 81 additions & 5 deletions
Loading

frontend/public/awardsimages/section3.svg

Lines changed: 434 additions & 44 deletions
Loading

frontend/public/awardsimages/section4.svg

Lines changed: 85 additions & 0 deletions
Loading

frontend/public/awardsimages/section5.svg

Lines changed: 446 additions & 0 deletions
Loading

frontend/public/awardsimages/section6.svg

Lines changed: 85 additions & 0 deletions
Loading

frontend/public/awardsimages/section7.svg

Lines changed: 446 additions & 0 deletions
Loading

frontend/src/app/awards/awards1/page.tsx

Lines changed: 2 additions & 22 deletions
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ const containerStyle = css`
1010
justify-content: center;
1111
height: 100vh;
1212
width: 100vw;
13-
background-image: url("/awardsimages/section2.svg");
13+
background-image: url("/awardsimages/section1.svg");
1414
background-size: cover;
1515
background-position: center;
1616
background-repeat: no-repeat;
@@ -24,32 +24,12 @@ const messageStyle = css`
2424
text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
2525
`;
2626

27-
const buttonStyle = css`
28-
padding: 0.75rem 1.5rem;
29-
background-color: #3b82f6;
30-
color: white;
31-
border-radius: 0.375rem;
32-
transition: background-color 0.2s ease-in-out;
33-
border: none;
34-
cursor: pointer;
35-
font-size: 1.2rem;
36-
text-align: center;
37-
box-shadow: 2px 2px 5px rgba(0, 0, 0, 0.3);
38-
39-
&:hover {
40-
background-color: #2563eb;
41-
}
42-
`;
4327

4428
export default function Awards1() {
4529
const router = useRouter(); // 페이지 이동을 위한 useRouter
4630

4731
return (
48-
<div css={containerStyle}>
49-
<h1 css={messageStyle}>111111</h1>
50-
<button css={buttonStyle} onClick={() => router.push("/awards/awards2")}>
51-
다음
52-
</button>
32+
<div css={containerStyle} onClick={() => router.push("/awards/awards2")}>
5333
</div>
5434
);
5535
}

frontend/src/app/awards/awards2/page.tsx

Lines changed: 2 additions & 22 deletions
Original file line numberDiff line numberDiff line change
@@ -24,32 +24,12 @@ const messageStyle = css`
2424
text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
2525
`;
2626

27-
const buttonStyle = css`
28-
padding: 0.75rem 1.5rem;
29-
background-color: #3b82f6;
30-
color: white;
31-
border-radius: 0.375rem;
32-
transition: background-color 0.2s ease-in-out;
33-
border: none;
34-
cursor: pointer;
35-
font-size: 1.2rem;
36-
text-align: center;
37-
box-shadow: 2px 2px 5px rgba(0, 0, 0, 0.3);
38-
39-
&:hover {
40-
background-color: #2563eb;
41-
}
42-
`;
4327

4428
export default function Awards2() {
4529
const router = useRouter(); // 페이지 이동을 위한 useRouter
4630

4731
return (
48-
<div css={containerStyle}>
49-
<h1 css={messageStyle}>222</h1>
50-
<button css={buttonStyle} onClick={() => router.push("/awards/awards3")}>
51-
다음
52-
</button>
53-
</div>
32+
<div css={containerStyle} onClick={() => router.push("/awards/awards3")}>
33+
</div>
5434
);
5535
}

0 commit comments

Comments
 (0)