diff --git a/src/commons/header/header.css b/src/commons/header/header.css index 8c206a0..07c8208 100644 --- a/src/commons/header/header.css +++ b/src/commons/header/header.css @@ -12,7 +12,7 @@ position: relative; } -.text-box { +.header__text-box { position: absolute; top: 40%; left: 50%; @@ -20,13 +20,13 @@ text-align: center; } -.logo-box { +.header__logo-box { position: absolute; top: 4rem; left: 4rem; } -.logo { +.header__logo { height: 3.5rem; } @@ -38,7 +38,7 @@ margin-bottom: 6rem; } -.heading-primary-main { +.heading-primary--main { display: block; font-size: 6rem; font-weight: 400; @@ -47,7 +47,7 @@ animation: moveInLeft 1s ease-out; } -.heading-primary-sub { +.heading-primary--sub { display: block; font-size: 2rem; font-weight: 700; diff --git a/src/commons/header/header.js b/src/commons/header/header.js index b9f1f64..d5f8a33 100644 --- a/src/commons/header/header.js +++ b/src/commons/header/header.js @@ -5,15 +5,15 @@ import Button from "../../components/button/button"; function Header() { return (
-
- Logo +
+ Logo
-
+

- Outdoors - is where life happens + Outdoors + is where life happens

-
); diff --git a/src/components/button/button.css b/src/components/button/button.css index b6f0bf6..bc867f2 100644 --- a/src/components/button/button.css +++ b/src/components/button/button.css @@ -10,7 +10,7 @@ font-size: 1.6rem; } -.move-in-bottom { +.move-in--bottom { animation: moveInBottom 0.5s ease-out 0.75s; animation-fill-mode: backwards; } @@ -25,7 +25,7 @@ box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.2); } -.btn-white { +.btn--white { background-color: #fff; color: #777; } @@ -43,7 +43,7 @@ transition: all 0.4s; } -.btn-white::after { +.btn--white::after { background-color: white; } diff --git a/src/components/button/button.jsx b/src/components/button/button.jsx index f2d886c..0ebbc81 100644 --- a/src/components/button/button.jsx +++ b/src/components/button/button.jsx @@ -6,9 +6,9 @@ function Button(props) { {text}