-
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
github
committed
Mar 14, 2023
1 parent
038b14b
commit 62a2b80
Showing
9 changed files
with
374 additions
and
484 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,29 @@ | ||
import styles from '/components/contents/contents.module.css' | ||
|
||
export default function Content() { | ||
return ( | ||
<main> | ||
<div className={styles.content}> | ||
Lorem ipsum dolor sit amet consectetur adipisicing elit. Porro voluptates esse expedita. Illum eaque | ||
assumenda, possimus laudantium sunt illo incidunt repellendus cumque iusto vel! Cupiditate, ea | ||
blanditiis | ||
natus praesentium, alias doloremque eius quo sequi vero, quam ipsa rerum laudantium officia nisi! | ||
Laudantium, recusandae magni dolores et rem deserunt, error facere est quaerat ea enim, debitis animi. | ||
Quaerat ratione eius, fuga vitae modi voluptate fugit ea aperiam iste impedit commodi, consequatur | ||
voluptatem, tempora sint rerum harum? Molestias consequuntur fugit maxime odit. Fuga similique minus sit | ||
dolores, necessitatibus adipisci rerum obcaecati? Unde nesciunt tenetur soluta, doloribus iste aliquid | ||
rem | ||
debitis at ex! | ||
</div> | ||
<div className={styles.content}> | ||
Lorem ipsum dolor sit amet consectetur adipisicing elit. Porro voluptates esse expedita. Illum eaque | ||
assumenda, possimus laudantium sunt illo incidunt repellendus cumque iusto vel! Cupiditate, ea | ||
blanditiis | ||
natus praesentium, alias doloremque eius quo sequi vero, quam ipsa rerum laudantium officia nisi! | ||
Laudantium, recusandae magni dolores et rem deserunt, error facere est quaerat ea enim, debitis animi. | ||
Quaerat ratione eius! | ||
</div> | ||
|
||
</main> | ||
) | ||
} |
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,17 @@ | ||
.content { | ||
padding: 70px 30px 0 30px; | ||
height: 100vh; | ||
width: 100vw; | ||
background-color: #e4b1ac81; | ||
font-size: 1.5rem; | ||
} | ||
|
||
@media screen and (max-width: 767px) { | ||
|
||
.content { | ||
padding: 90px 20px 0 30px; | ||
font-size: 14px; | ||
} | ||
|
||
|
||
} |
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,37 @@ | ||
import styles from '/components/footer/footer.module.css' | ||
|
||
export default function Footer() { | ||
return ( | ||
<footer className={styles.footer}> | ||
<div className={styles.social}> | ||
<a href="#"><i className="fab fa-instagram"></i></a> | ||
<a href="#"><i className="fab fa-twitter"></i></a> | ||
<a href="https://github.com/suzusou"><i className="fab fa-github"></i></a> | ||
<a href="#"><i className="fab fa-facebook"></i></a> | ||
</div> | ||
|
||
<ul className={styles.list}> | ||
<li> | ||
<a href="#">Section1</a> | ||
</li> | ||
<li> | ||
<a href="#">Section2</a> | ||
</li> | ||
<li> | ||
<a href="#">Section3</a> | ||
</li> | ||
<li> | ||
<a href="#">Section4</a> | ||
</li> | ||
<li> | ||
<a href="#">Section5</a> | ||
</li> | ||
<p className={styles.copyright}> | ||
S.S-20220219 @ 2023 | ||
</p> | ||
</ul> | ||
|
||
</footer> | ||
|
||
) | ||
} |
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,106 @@ | ||
.footer { | ||
padding: 40px 0; | ||
background-color: #df9c9681; | ||
} | ||
|
||
.social { | ||
text-align: center; | ||
padding-bottom: 25px; | ||
color: #4b4c4d; | ||
} | ||
|
||
.social a { | ||
font-size: 24px; | ||
color: inherit; | ||
border: 1px solid #aeaeae; | ||
width: 40px; | ||
height: 40px; | ||
line-height: 38px; | ||
display: inline-block; | ||
text-align: center; | ||
border-radius: 50%; | ||
margin: 0 8px; | ||
opacity: 0.75; | ||
} | ||
|
||
.social a:hover { | ||
opacity: 0.9; | ||
} | ||
|
||
.footer ul { | ||
margin-top: 0; | ||
padding: 0; | ||
font-size: 18px; | ||
line-height: 1.6; | ||
margin-bottom: 0; | ||
text-align: center; | ||
} | ||
|
||
.footer ul li a { | ||
color: inherit; | ||
opacity: 0.8; | ||
} | ||
|
||
.footer ul li a:hover{ | ||
opacity: 1; | ||
} | ||
|
||
.footer ul li { | ||
display: inline-block; | ||
padding: 0 15px; | ||
} | ||
|
||
.copyright{ | ||
margin-top: 20px; | ||
text-align: center; | ||
font-size: 13px; | ||
color: #828282; | ||
} | ||
|
||
@media screen and (max-width: 767px) { | ||
.footer { | ||
padding: 35px 0; | ||
} | ||
|
||
.footer ul { | ||
font-size: 16px; | ||
} | ||
|
||
.social a { | ||
font-size: 21px; | ||
width: 35px; | ||
height: 35px; | ||
line-height: 34px; | ||
margin: 0 7px; | ||
} | ||
.copyright{ | ||
margin-top: 18px; | ||
font-size: 12px; | ||
} | ||
|
||
|
||
} | ||
|
||
@media screen and (max-width: 540px) { | ||
|
||
.footer { | ||
padding: 30px 0; | ||
} | ||
|
||
.footer ul { | ||
font-size: 14px; | ||
} | ||
|
||
.social a { | ||
font-size: 18px; | ||
width: 30px; | ||
height: 30px; | ||
line-height: 30px; | ||
margin: 0 6px; | ||
} | ||
|
||
.copyright{ | ||
margin-top: 16px; | ||
font-size: 11px; | ||
} | ||
} |
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,33 @@ | ||
import styles from '/components/header/header.module.css' | ||
|
||
export default function Header() { | ||
return ( | ||
<header className={styles.header}> | ||
<div className={styles.container}> | ||
<div className={styles.area_logo_header}> | ||
<a className={styles.logo}href="https://github.com/suzusou"> | ||
<div className={styles.logo_name}>Sample Site</div> | ||
</a> | ||
</div> | ||
|
||
<nav className={styles.area_nav_header}> | ||
<ul className={styles.list_nav_header}> | ||
<li className={styles.lists}> | ||
<a href="" className={styles.list1}>Section1</a> | ||
</li> | ||
<li className={styles.lists}> | ||
<a href="" className={styles.list2}>Section2</a> | ||
</li> | ||
<li className={styles.lists}> | ||
<a href="" className={styles.list3}>Section3</a> | ||
</li> | ||
<li className={styles.lists}> | ||
<a href="" className={styles.list4}>Section4</a> | ||
</li> | ||
|
||
</ul> | ||
</nav> | ||
</div> | ||
</header> | ||
) | ||
} |
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,140 @@ | ||
.header { | ||
color: #000; | ||
background: #c0d7dbf3; | ||
width: 100vw; | ||
position: fixed; | ||
} | ||
|
||
.header>.container { | ||
height: 60px; | ||
display: flex; | ||
align-items: center; | ||
margin: 0 40px; | ||
} | ||
|
||
.area_logo_header .logo { | ||
display: block; | ||
font-size: 24px; | ||
color: #000; | ||
font-weight: 500; | ||
} | ||
|
||
.area_nav_header { | ||
margin: 0 40px 0 auto; | ||
} | ||
|
||
.list_nav_header { | ||
display: flex; | ||
align-items: center; | ||
} | ||
|
||
.list_nav_header>li+li { | ||
margin-left: 40px | ||
} | ||
|
||
.list_nav_header a { | ||
color: #000; | ||
} | ||
|
||
.lists { | ||
position: relative; | ||
} | ||
|
||
.list1, | ||
.list2, | ||
.list3, | ||
.list4 { | ||
display: inline-block; | ||
color: #111; | ||
} | ||
|
||
.list1::after, | ||
.list2::after, | ||
.list3::after, | ||
.list4::after { | ||
position: absolute; | ||
bottom: -4px; | ||
left: 0; | ||
content: ''; | ||
width: 100%; | ||
height: 2px; | ||
background: #f1afa9; | ||
transform: scale(0, 1); | ||
transform-origin: left top; | ||
transition: transform .3s; | ||
} | ||
|
||
.list1:hover::after, | ||
.list2:hover::after, | ||
.list3:hover::after, | ||
.list4:hover::after { | ||
transform: scale(1, 1); | ||
} | ||
|
||
@media screen and (max-width: 767px) { | ||
.header>.container { | ||
height: 70px; | ||
display: block; | ||
} | ||
|
||
.list1, | ||
.list2, | ||
.list3, | ||
.list4 { | ||
font-size: 14px; | ||
} | ||
|
||
.area_logo_header .logo { | ||
text-align: center; | ||
margin-top: 5px; | ||
font-size: 22px; | ||
} | ||
|
||
.list_nav_header { | ||
justify-content: space-around; | ||
margin-top: 5px; | ||
} | ||
|
||
.area_nav_header { | ||
margin: 0 0 0 1vw; | ||
} | ||
|
||
.list1::after, | ||
.list2::after, | ||
.list3::after, | ||
.list4::after { | ||
bottom: -2px; | ||
height: 1.5px; | ||
} | ||
|
||
} | ||
|
||
@media screen and (max-width: 540px) { | ||
|
||
|
||
.header>.container { | ||
height: 65px; | ||
} | ||
|
||
.list1, | ||
.list2, | ||
.list3, | ||
.list4 { | ||
font-size: 11px; | ||
} | ||
|
||
.list1::after, | ||
.list2::after, | ||
.list3::after, | ||
.list4::after { | ||
bottom: 0px; | ||
height: 1px; | ||
} | ||
|
||
|
||
.area_logo_header .logo { | ||
font-size: 20px; | ||
} | ||
|
||
|
||
} |
Oops, something went wrong.
62a2b80
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Successfully deployed to the following URLs:
react-site – ./
react-site-weld.vercel.app
react-site-git-main-suzusou.vercel.app
react-site-suzusou.vercel.app