-
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
d9bd7a8
commit 79d7a3c
Showing
6 changed files
with
81 additions
and
5 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,23 @@ | ||
.header { | ||
position: fixed; | ||
top: 5px; | ||
width: 100%; | ||
backdrop-filter: blur(5px); | ||
} | ||
|
||
.header .container { | ||
width: 95%; | ||
margin: 0 auto; | ||
padding: 5px 0; | ||
display: flex; | ||
align-items: center; | ||
justify-content: center; | ||
border-radius: 50px; | ||
box-shadow: rgba(0, 0, 0, 0.15) 1.95px 1.95px 2.6px; | ||
} | ||
|
||
.header .container span { | ||
font-size: 2rem; | ||
font-weight: 600; | ||
color: var(--color-grey); | ||
} |
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,14 @@ | ||
import React from "react"; | ||
import styles from "./header.module.css"; | ||
|
||
function Header() { | ||
return ( | ||
<header className={styles.header}> | ||
<div className={styles.container}> | ||
<span>switch</span> | ||
</div> | ||
</header> | ||
); | ||
} | ||
|
||
export default 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
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,30 @@ | ||
.main { | ||
width: 100%; | ||
height: 100vh; | ||
display: flex; | ||
align-items: center; | ||
justify-content: center; | ||
} | ||
|
||
.main .container { | ||
width: 90%; | ||
max-width: 700px; | ||
display: flex; | ||
align-items: center; | ||
justify-content: flex-start; | ||
flex-flow: column; | ||
gap: 3rem; | ||
} | ||
|
||
.main .container h1 { | ||
color: var(--color-grey); | ||
font-weight: 500; | ||
font-size: clamp(1.2rem, 2.5vw, 3rem); | ||
} | ||
|
||
.view_button a { | ||
padding: 10px 15px; | ||
background: var(--color-grey); | ||
color: #fff; | ||
border-radius: 5px; | ||
} |
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