From 847cf6415b530ad026d90a5213a54e8eabb75262 Mon Sep 17 00:00:00 2001 From: Reza_ashrafi Date: Thu, 2 Jun 2022 16:14:11 +0430 Subject: [PATCH] update public/index.html, src/views/Home/Navbar/Laptop/index.js and src/views/Home/Navbar/Laptop/index.scss --- public/index.html | 139 +++++++++++++----------- src/views/Home/Navbar/Laptop/index.js | 9 +- src/views/Home/Navbar/Laptop/index.scss | 12 ++ 3 files changed, 94 insertions(+), 66 deletions(-) diff --git a/public/index.html b/public/index.html index f4c9810..7ff380d 100644 --- a/public/index.html +++ b/public/index.html @@ -1,69 +1,80 @@ + + + + + + + + + + + - - - - - - - - - - - + دانوین + + + + - (function (w, d, s, l, i) { - w[l] = w[l] || []; - w[l].push({ - "gtm.start": new Date().getTime(), - event: "gtm.js", - }); - var f = d.getElementsByTagName(s)[0], - j = d.createElement(s), - dl = l != "dataLayer" ? "&l=" + l : ""; - j.async = true; - j.src = "https://www.googletagmanager.com/gtm.js?id=" + i + dl; - f.parentNode.insertBefore(j, f); - })(window, document, "script", "dataLayer", "GTM-WVV8H9L"); - - - - - - - - -
- - - - \ No newline at end of file + + + + +
+ + + diff --git a/src/views/Home/Navbar/Laptop/index.js b/src/views/Home/Navbar/Laptop/index.js index 17664e5..65c963a 100644 --- a/src/views/Home/Navbar/Laptop/index.js +++ b/src/views/Home/Navbar/Laptop/index.js @@ -156,7 +156,12 @@ class LaptopNavbar extends Component { ) : ( - <> +
+ {window.t("ورود یا ثبت‌نام")} - +
)} diff --git a/src/views/Home/Navbar/Laptop/index.scss b/src/views/Home/Navbar/Laptop/index.scss index 033cf98..7630fcc 100644 --- a/src/views/Home/Navbar/Laptop/index.scss +++ b/src/views/Home/Navbar/Laptop/index.scss @@ -2,6 +2,18 @@ max-width: 1250px; margin: 0px auto; + .language-select { + border: none; + outline: none; + width: 50px; + background-color: #6cbe44; + color: white; + font-weight: 500; + margin-left: 10px; + border-radius: 5px; + padding: 0px 4px; + } + &__header { &--right { cursor: pointer;