Skip to content

Commit 40f75b1

Browse files
authored
Merge pull request #148 from team-incube/fix/main-style
fix: 메인 페이지 디자인 개선
2 parents 3cb40ce + 62e33cc commit 40f75b1

24 files changed

Lines changed: 303 additions & 167 deletions

File tree

public/images/left_line.png

37 KB
Loading

public/images/left_star.png

419 KB
Loading

public/images/right_line.png

36.9 KB
Loading

public/images/right_star.png

558 KB
Loading

public/images/star.png

-99.3 KB
Binary file not shown.

public/images/starline.png

-10.6 KB
Binary file not shown.

public/images/trophy.png

-56 KB
Binary file not shown.

public/images/trophyline.png

-12.2 KB
Binary file not shown.

src/app/layout.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -153,7 +153,7 @@ export default function RootLayout({
153153
children: React.ReactNode;
154154
}>) {
155155
return (
156-
<html lang="ko">
156+
<html lang="ko" suppressHydrationWarning>
157157
<head>
158158
<meta name="naver-site-verification" content="9b809c2b47126fcb57113f690708d63c39eb9681" />
159159
</head>
Lines changed: 38 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,38 @@
1+
import { cn } from "@/shared/utils/cn";
2+
3+
export default function MainYoutubeVideo() {
4+
const youtubeId = "8iM_JB8u-Vo";
5+
return (
6+
<>
7+
<iframe
8+
className={cn(
9+
"absolute",
10+
"top-1/2",
11+
"left-1/2",
12+
"-translate-x-1/2",
13+
"-translate-y-1/2",
14+
"w-[177.78vh]",
15+
"h-[100vh]",
16+
"min-w-full",
17+
"min-h-full",
18+
"pointer-events-none",
19+
)}
20+
src={`https://www.youtube.com/embed/${youtubeId}?autoplay=1&mute=1&controls=0&playsinline=1&loop=1&playlist=${youtubeId}&modestbranding=1&rel=0`}
21+
title="Intro video"
22+
allow="autoplay; encrypted-media; picture-in-picture"
23+
referrerPolicy="strict-origin-when-cross-origin"
24+
/>
25+
26+
<div
27+
className={cn(
28+
"absolute",
29+
"inset-0",
30+
"bg-gradient-to-t",
31+
"from-black/100",
32+
"via-black/30",
33+
"to-black/10",
34+
)}
35+
/>
36+
</>
37+
);
38+
}

0 commit comments

Comments
 (0)