diff --git a/src/commons/about-section/about.jsx b/src/commons/about-section/about.jsx index a02c6e2..3dfdb12 100644 --- a/src/commons/about-section/about.jsx +++ b/src/commons/about-section/about.jsx @@ -1,4 +1,3 @@ -import ButtonSecondary from "../../components/button/button-secondary"; import nat1Large from "../../commons/images/nat-1-large.jpg"; import nat2Large from "../../commons/images/nat-2-large.jpg"; import nat3Large from "../../commons/images/nat-3-large.jpg"; @@ -31,8 +30,9 @@ function About() { Lorem ipsum dolor sit amet consectetur adipisicing elit. Quisquam perferendis esse minima provident neque

- - + + Learn More ➯ +
diff --git a/src/commons/booking-section/booking.jsx b/src/commons/booking-section/booking.jsx index 0d3b821..44dd841 100644 --- a/src/commons/booking-section/booking.jsx +++ b/src/commons/booking-section/booking.jsx @@ -1,4 +1,4 @@ -import Form from "../../components/form/form"; +import Form from "../form/form"; function Booking() { return ( diff --git a/src/commons/form/form.jsx b/src/commons/form/form.jsx new file mode 100644 index 0000000..519eef6 --- /dev/null +++ b/src/commons/form/form.jsx @@ -0,0 +1,65 @@ +function Form() { + return ( +
+
+ + +
+ +
+ + +
+ +
+
+ + +
+ +
+ + +
+
+ +
+ +
+
+ ); +} + +export default Form; diff --git a/src/commons/header/header.jsx b/src/commons/header/header.jsx index 10aa12e..734df8a 100644 --- a/src/commons/header/header.jsx +++ b/src/commons/header/header.jsx @@ -1,5 +1,4 @@ import logoWhite from "../../commons/images/logo-white.png"; -import ButtonMain from "../../components/button/button-main"; function Header() { return ( @@ -12,10 +11,7 @@ function Header() { Outdoors is where life happens - + Discover our tours
); diff --git a/src/commons/stories-section/stories.jsx b/src/commons/stories-section/stories.jsx index 59d73b0..e5c1d5c 100644 --- a/src/commons/stories-section/stories.jsx +++ b/src/commons/stories-section/stories.jsx @@ -1,4 +1,3 @@ -import ButtonSecondary from "../../components/button/button-secondary"; import nat8 from "../images/nat-8.jpg"; import nat9 from "../images/nat-9.jpg"; import bgmp4 from "../images/video.mp4"; @@ -58,7 +57,9 @@ function Stories() {
- + + Read all stories ➯ +
); diff --git a/src/commons/tours-section/tours.jsx b/src/commons/tours-section/tours.jsx index dc0b140..f06d581 100644 --- a/src/commons/tours-section/tours.jsx +++ b/src/commons/tours-section/tours.jsx @@ -1,5 +1,3 @@ -import ButtonMain from "../../components/button/button-main"; - function Tours() { return (
@@ -33,7 +31,9 @@ function Tours() {

Only

$297

- + + Book now! + @@ -63,7 +63,9 @@ function Tours() {

Only

$497

- + + Book now! + @@ -93,7 +95,9 @@ function Tours() {

Only

$897

- + + Book now! + @@ -101,7 +105,9 @@ function Tours() {
); diff --git a/src/components/button/button-main.jsx b/src/components/button/button-main.jsx deleted file mode 100644 index 5f66e4f..0000000 --- a/src/components/button/button-main.jsx +++ /dev/null @@ -1,10 +0,0 @@ -function ButtonMain(props) { - const { text, link, feature } = props; - return ( - - {text} - - ); -} - -export default ButtonMain; diff --git a/src/components/button/button-secondary.jsx b/src/components/button/button-secondary.jsx deleted file mode 100644 index 4010fe9..0000000 --- a/src/components/button/button-secondary.jsx +++ /dev/null @@ -1,5 +0,0 @@ -function ButtonSecondary(props) { - return ; -} - -export default ButtonSecondary; diff --git a/src/components/form/form.jsx b/src/components/form/form.jsx deleted file mode 100644 index 2b68755..0000000 --- a/src/components/form/form.jsx +++ /dev/null @@ -1,33 +0,0 @@ -function Form() { - return ( -
-
- - -
- -
- - -
-
- ); -} - -export default Form; diff --git a/src/sass/abstracts/_variables.scss b/src/sass/abstracts/_variables.scss index 495b8b7..ddbddc6 100644 --- a/src/sass/abstracts/_variables.scss +++ b/src/sass/abstracts/_variables.scss @@ -34,4 +34,5 @@ $shadow-light: 0.5rem 1rem 2rem rgba($color-black, 0.2); $border-radius-small: 0.2rem; $border-radius-default: 0.3rem; $bottom-border-green: 3px solid $color-primary; +$bottom-border-green-thick: 5px solid $color-primary; $bottom-border-orange: 3px solid $color-secondary-dark; diff --git a/src/sass/base/_utilities.scss b/src/sass/base/_utilities.scss index d6720d7..dc1bebd 100644 --- a/src/sass/base/_utilities.scss +++ b/src/sass/base/_utilities.scss @@ -1,21 +1,21 @@ .u-center-text { - text-align: center; + text-align: center !important; } .u-margin-bottom-big { - margin-bottom: 8rem; + margin-bottom: 8rem !important; } .u-margin-bottom-medium { - margin-bottom: 4rem; + margin-bottom: 4rem !important; } .u-margin-bottom-small { - margin-bottom: 1.5rem; + margin-bottom: 1.5rem !important; } .u-margin-top-big { - margin-top: 8rem; + margin-top: 8rem !important; } .u-margin-top-huge { - margin-top: 10rem; + margin-top: 10rem !important; } diff --git a/src/sass/components/_button.scss b/src/sass/components/_button.scss index abf5a0a..439bca3 100644 --- a/src/sass/components/_button.scss +++ b/src/sass/components/_button.scss @@ -1,4 +1,5 @@ .btn { + &, &:link, &:visited { text-transform: uppercase; @@ -9,6 +10,9 @@ transition: all 0.2s; position: relative; font-size: $default-font-size; + + border: none; + cursor: pointer; } &:hover { @@ -67,6 +71,7 @@ display: inline-block; border: none; cursor: pointer; + text-decoration: none; border-bottom: 1px solid $color-primary; padding: 0.3rem; transition: all 0.2s; @@ -79,7 +84,9 @@ transform: translateY(-0.2rem); } - &:active { + &:active, + &:focus { + outline: none; box-shadow: 0 1rem 2rem rgba($color-black, 0.2); transform: translateY(0); } diff --git a/src/sass/components/_form.scss b/src/sass/components/_form.scss index 89b8345..0439ffe 100644 --- a/src/sass/components/_form.scss +++ b/src/sass/components/_form.scss @@ -14,6 +14,7 @@ border-bottom: 3px solid transparent; width: 90%; display: block; + transition: all 0.3s; &:focus { outline: none; @@ -44,4 +45,50 @@ visibility: hidden; transform: translateY(-4rem); } + + &__radio-group { + width: 50%; + display: inline-block; + } + + &__radio-input { + display: none; + } + + &__radio-label { + font-size: $default-font-size; + cursor: pointer; + position: relative; + padding-left: 3.4rem; + } + + &__radio-button { + height: 3rem; + width: 3rem; + border: $bottom-border-green-thick; + border-radius: 50%; + display: inline-block; + position: absolute; + left: 0; + top: -0.5rem; + + &::after { + content: ""; + display: block; + height: 1.4rem; + width: 1.4rem; + border-radius: 50%; + position: absolute; + top: 50%; + left: 50%; + transform: translate(-50%, -50%); + background-color: $color-primary; + opacity: 0; + transition: opacity 0.2s; + } + } + + &__radio-input:checked ~ &__radio-label &__radio-button::after { + opacity: 1; + } }