forked from codestates-seb/seb40_main_019
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
eb35350
commit 94ecd9b
Showing
10 changed files
with
158 additions
and
3 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,114 @@ | ||
|
||
.videoWrap{ | ||
display: flex; | ||
margin-top: 120px; | ||
@media (max-width: 640px) { | ||
margin-top: 60px; | ||
} | ||
} | ||
|
||
.videoCenterWrap{ | ||
margin: 0px 128px; | ||
.video1{ | ||
height: 25vw; | ||
position: relative; | ||
right: 20px; | ||
@media (max-width: 640px) { | ||
height: 70vw; | ||
margin: 0px 60px; | ||
right: 0px; | ||
} | ||
} | ||
@media (max-width: 980px) { | ||
margin: 0px 60px; | ||
|
||
} | ||
} | ||
|
||
|
||
.video2{ | ||
max-height: 12vw; | ||
position: relative; | ||
top: 7vw; | ||
left: 3vw; | ||
@media (max-width: 980px) { | ||
top: 4vw; | ||
} | ||
@media (max-width: 640px) { | ||
left: 3vw; | ||
display: none; | ||
} | ||
} | ||
|
||
.video3{ | ||
max-height: 13vw; | ||
position: relative; | ||
top: 10px; | ||
right: 50px; | ||
@media (max-width: 640px) { | ||
display: none; | ||
} | ||
} | ||
|
||
.video4{ | ||
max-height: 18vw; | ||
position: relative; | ||
bottom: 50px; | ||
@media (max-width: 640px) { | ||
display: none; | ||
} | ||
} | ||
|
||
.video5{ | ||
max-height: 13vw; | ||
position: relative; | ||
top: 10vw; | ||
right: 3vw; | ||
@media (max-width: 640px) { | ||
display: none; | ||
} | ||
} | ||
|
||
.mainText{ | ||
position: relative; | ||
left: 50%; | ||
bottom: 70px; | ||
transform: translate(-50%, 0%); | ||
font-family: 'Work Sans', sans-serif; | ||
text-align: center; | ||
|
||
.mainTextTop{ | ||
background-color: var(--color-yellow); | ||
max-width: 40vw; | ||
position: relative; | ||
left: 50%; | ||
transform: translate(-50%, 0%); | ||
margin-bottom: 10px; | ||
h2{ | ||
font-size: 2vw; | ||
font-weight: 600; | ||
color: var(--color-white); | ||
transform: scaleY(0.7); | ||
@media (max-width: 640px) { | ||
font-size: 5vw; | ||
} | ||
} | ||
|
||
} | ||
|
||
.mainTextBottom{ | ||
h1{ | ||
color: var(--color-blue); | ||
font-size: 7vw; | ||
font-weight: 800; | ||
white-space: nowrap; | ||
transform: scaleY(1.5); | ||
@media (max-width: 640px) { | ||
font-size: 9vw; | ||
} | ||
} | ||
} | ||
@media (max-width: 640px) { | ||
bottom: 40px; | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,9 +1,46 @@ | ||
import '../css/home.scss'; | ||
import video1 from '../../../assets/video/main2.webm'; | ||
import video2 from '../../../assets/video/main3.webm'; | ||
import video3 from '../../../assets/video/main4.webm'; | ||
import video4 from '../../../assets/video/main5.webm'; | ||
import video5 from '../../../assets/video/main6.webm'; | ||
|
||
export default function Home() { | ||
return ( | ||
<> | ||
<div>Home</div> | ||
<div className="mainWrap"> | ||
<div className="videoWrap"> | ||
<div className="videoLeftWrap"> | ||
<video className="video2" autoPlay={true} muted loop="true"> | ||
<source src={video2} type="video/webm" /> | ||
</video> | ||
<video className="video4" autoPlay={true} muted loop="true"> | ||
<source src={video4} type="video/webm" /> | ||
</video> | ||
</div> | ||
<div className="videoCenterWrap"> | ||
<video className="video1" autoPlay={true} muted loop="true"> | ||
<source src={video1} type="video/webm" /> | ||
</video> | ||
</div> | ||
<div className="videoRightWrap"> | ||
<video className="video5" autoPlay={true} muted loop="true"> | ||
<source src={video5} type="video/webm" /> | ||
</video> | ||
<video className="video3" autoPlay={true} muted loop="true"> | ||
<source src={video3} type="video/webm" /> | ||
</video> | ||
</div> | ||
</div> | ||
<div className="mainText"> | ||
<div className="mainTextTop"> | ||
<h2>LUXURY, FRESH, ORGANIC ON!</h2> | ||
</div> | ||
<div className="mainTextBottom"> | ||
<h1>GO LOVE YOURDOG</h1> | ||
</div> | ||
</div> | ||
</div> | ||
</> | ||
); | ||
} |