From 2e28e428e69fc80a712fd7a7dd1f5662b255e1df Mon Sep 17 00:00:00 2001 From: majazimnoch <120421674+majazimnoch@users.noreply.github.com> Date: Sun, 19 Mar 2023 22:52:16 +0100 Subject: [PATCH] web is done --- code/src/components/Dates.js | 2 +- code/src/components/Summary.js | 12 ++++++++- code/src/components/Zipper.js | 2 +- code/src/index.css | 49 +++++++++++++++++++++++++++++++--- 4 files changed, 59 insertions(+), 6 deletions(-) diff --git a/code/src/components/Dates.js b/code/src/components/Dates.js index 69f6dbdf5..34af82430 100644 --- a/code/src/components/Dates.js +++ b/code/src/components/Dates.js @@ -7,7 +7,7 @@ const Dates = ({ monthType, onMonthTypeChange, onClickNext }) => { return (

- Which year would you like to book? + When do you wish to travel?

{monthTypes.map((type) => ( diff --git a/code/src/components/Summary.js b/code/src/components/Summary.js index a444d7ed0..47ede2108 100644 --- a/code/src/components/Summary.js +++ b/code/src/components/Summary.js @@ -5,7 +5,13 @@ const Summary = ({ name, monthType, place, range, onClickNext }) => { return (
-

+

+ Houston, we had a problem. +

+

+ But after 30h of practising React it got solved! +

+

Thank you {name}! You will travel in {monthType}, you will experience {place} and you will meet {range} aliens 👽.

@@ -13,6 +19,10 @@ const Summary = ({ name, monthType, place, range, onClickNext }) => {
+
+

Made By Maja Zimnoch | Image by Freepik | Video by Mixkit +

+
); diff --git a/code/src/components/Zipper.js b/code/src/components/Zipper.js index cc0a1aecf..d88fe2508 100644 --- a/code/src/components/Zipper.js +++ b/code/src/components/Zipper.js @@ -5,7 +5,7 @@ const Zipper = ({ range, onRangeChange, onClickNext }) => { return (

- How many alients would you like to meet? + How many aliens would you like to meet?

diff --git a/code/src/index.css b/code/src/index.css index f3f6390dd..cf0e49bad 100644 --- a/code/src/index.css +++ b/code/src/index.css @@ -37,11 +37,33 @@ code { font-size: 3rem; } +.header-copy2 { + font-family: 'Rubik Iso', cursive; + font-size: 2rem; + color:rgb(58, 16, 248); +} + .header-paragraph { font-family: "Lucida Console", "Courier New", monospace; letter-spacing: 2px; text-align: center; font-size: 1rem; + padding: 0 30px; +} + +.summary-paragraph { + font-family: "Lucida Console", "Courier New", monospace; + letter-spacing: 2px; + text-align: center; + font-size: 2rem; +} + +.footer-paragraph { + padding-top: 40px; + font-family: "Lucida Console", "Courier New", monospace; + letter-spacing: 2px; + text-align: center; + font-size: 1rem; } .question-wrapper { @@ -85,7 +107,7 @@ code { object-fit: cover; max-width: 50%; padding-bottom: 40px; - -webkit-filter: brightness(80%); + -webkit-filter: brightness(60%); -webkit-transition: all 1s ease; -moz-transition: all 1s ease; -o-transition: all 1s ease; @@ -104,7 +126,7 @@ code { .button-start { font-family: 'Rubik Iso', cursive; padding: 10px 20px; - margin-top: 20px; + margin-top: 50px; font-size: 2rem; background-color: transparent; border: solid 2px rgb(255, 255, 255); @@ -122,7 +144,28 @@ code { transition: 1s ease; } - +.content-container { + display: flex; + flex-direction: column; + align-content: center; + align-items: center; + justify-content: center; + text-align: center; + padding-top: 30px; + padding-left: 20px; + padding-right: 20px; +} + + a { + color: rgb(58, 16, 248); + text-decoration: none; + } + a:link{ + color: rgb(58, 16, 248); + } + a:hover{ + color: rgb(116, 10, 158); + } @media (min-width: 667px) and (max-width: 1024px) {