From 308f94526122b351065e55f3253efecf76c62859 Mon Sep 17 00:00:00 2001 From: Reza Date: Wed, 10 Nov 2021 13:21:41 +0330 Subject: [PATCH] reza added search root --- src/assets/icons/searchBlack.png | Bin 619 -> 0 bytes src/assets/icons/searchBlack.svg | 7 ++ src/components/HomeSearchBox/index.scss | 20 +++-- src/components/HomeSearchBox/index.tsx | 6 +- src/components/Navbar/index.scss | 12 ++- src/components/Navbar/index.tsx | 11 +++ src/custom.scss | 95 ++++++++++++------------ src/router.js | 5 +- src/views/Courses/Course/index.scss | 77 +++++++++++-------- src/views/Courses/Course/index.tsx | 19 ++++- src/views/Courses/index.scss | 28 +++++++ src/views/Courses/index.tsx | 83 ++++++++++++++++----- src/views/Home/Header/index.scss | 2 +- src/views/Home/index.tsx | 29 +------- 14 files changed, 252 insertions(+), 142 deletions(-) delete mode 100644 src/assets/icons/searchBlack.png create mode 100644 src/assets/icons/searchBlack.svg diff --git a/src/assets/icons/searchBlack.png b/src/assets/icons/searchBlack.png deleted file mode 100644 index 8601f9f8e94844081c5f64b88f4b0f10a65a89ac..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 619 zcmV-x0+juUP)ybUe*upT0W;C3U?sj!|T4}j|9-1ota=CoNdIj^v_kCT{G#$1J+lB2G z3Wa&SUiVZn5&<@wjea~HzZh8M44@r=K3c8TIBnk*z+$oJV)F=&CH!tNCzuY{dSts^ zuZ`2`WMG}(9TAx8y`mP5G=<5KJdo?a|m?W4-F9Y>4+FnW&$HjPyBfIq9nx$0ocz) z6svse;;2Azf={gX5$nC#Y|@TuaCNkM*^63Ur8+FKiw%{0K3{D#8nho8NYM=JU*T+` z4m0@#6MS^;>Hj1KNYNG1-~?fd!JGoQ`v`rZUq6Xmq`D|s!K4nlAQ|!2P(ZM&>QK|I_Z^jTHI|$|^^#lYG z>d1cXOKEY$D@N%yFm>@uS>Gct#gXp^^~{By)k2WeCsWpXMgFG + + + + + + diff --git a/src/components/HomeSearchBox/index.scss b/src/components/HomeSearchBox/index.scss index 6d1f554..8c563cc 100644 --- a/src/components/HomeSearchBox/index.scss +++ b/src/components/HomeSearchBox/index.scss @@ -63,6 +63,7 @@ } } footer{ + padding: 15px 10px; ul{ li{ cursor: pointer; @@ -70,7 +71,7 @@ } strong{ color: $green; - font-weight: 300; + font-weight: 600; margin-left: 20px; } } @@ -104,7 +105,6 @@ } footer { width: 900px; - padding: 10px 0px !important; strong{ font-size: 14px; } @@ -143,13 +143,17 @@ } } } - ul { + footer { width: 850px; - padding: 10px 0px !important; - li { - color: $blue; - margin-left: 25px; - font-size: calc(100vw / 110); + strong{ + font-size: 14px; + } + ul{ + li { + color: $blue; + margin-left: 25px; + font-size: calc(100vw / 110); + } } } } diff --git a/src/components/HomeSearchBox/index.tsx b/src/components/HomeSearchBox/index.tsx index 66ddfb3..f0129f6 100644 --- a/src/components/HomeSearchBox/index.tsx +++ b/src/components/HomeSearchBox/index.tsx @@ -3,7 +3,7 @@ import { connect } from "react-redux"; import _ from "lodash"; import { book } from "../../redux/actions"; import search from "../../assets/icons/search.png"; -import searchBlack from "../../assets/icons/searchBlack.png"; +import searchBlack from "../../assets/icons/searchBlack.svg"; import voice from "../../assets/icons/voice.png"; import voiceBlack from "../../assets/icons/voice-black.png"; @@ -76,8 +76,8 @@ function HomeSearchBox({ {light ? : } -