diff --git a/public/serviceworker.js b/public/serviceworker.js index 4b62e81..fe51607 100644 --- a/public/serviceworker.js +++ b/public/serviceworker.js @@ -1,4 +1,4 @@ -const CACHE_NAME = "version-26-6-19aaaii"; +const CACHE_NAME = "version-26-6-19aimmi"; const urlsToCache = ["index.html", "offline.html"]; const self = this; diff --git a/src/AppRouter.js b/src/AppRouter.js index 4833e7a..da6fe0c 100644 --- a/src/AppRouter.js +++ b/src/AppRouter.js @@ -12,6 +12,7 @@ import { userProduct } from "~/Redux/actions"; import proxy from "./Redux/proxy"; import Home from "./views/Home/index"; import Faq from "./views/Faq/index"; +import Arabickar from "./views/Arabickar/index"; import Contact from "./views/Contact/index"; import About from "./views/About/index"; import Products from "./views/Products/index"; @@ -90,7 +91,7 @@ class AppRouter extends Component { )} ); - + const pathname = window.location.pathname; return (
{home} + + + @@ -292,6 +296,7 @@ class AppRouter extends Component { /> )} + {/* {status ? ( @@ -380,6 +385,9 @@ class AppRouter extends Component { )} + {/* {pathname.split("/").slice(-1)[0] == "origami" ? ( + + ) : ( */} + {/* )} */} diff --git a/src/assets/images/origami.jpg b/src/assets/images/origami.jpg new file mode 100644 index 0000000..4c551bd Binary files /dev/null and b/src/assets/images/origami.jpg differ diff --git a/src/views/Arabickar/index.js b/src/views/Arabickar/index.js new file mode 100644 index 0000000..e56c3ab --- /dev/null +++ b/src/views/Arabickar/index.js @@ -0,0 +1,48 @@ +import React, { Component } from "react"; +import ArabickarImg from "../../assets/images/origami.jpg"; + +class Arabickar extends Component { + render() { + return ( +
+ {"حرفة + + حرفة ورقية + +
+ ); + } +} + +export default Arabickar; diff --git a/src/views/Arabickar/index.scss b/src/views/Arabickar/index.scss new file mode 100644 index 0000000..0212ed5 --- /dev/null +++ b/src/views/Arabickar/index.scss @@ -0,0 +1,114 @@ +.faq { + width: 100vw; + max-width: 1250px; + margin: 0px auto; + padding: 0px 10px; + direction: rtl; + min-height: calc(100vh - 288px); + padding-top: 70px; + &__header { + margin-top: 30px; + width: 600px; + h1 { + letter-spacing: -2px; + font-family: numeralMedium; + font-size: calc(100vw / 25); + color: #424246; + } + &--search { + margin-top: 20px; + width: 100%; + border: 2px solid rgb(197, 197, 197); + border-radius: 10px; + padding: 5px; + justify-content: space-between; + input { + border: 0px; + flex: 1; + border: 0px; + font-size: calc(100vw / 90); + color: green; + padding: 0px 10px 0px; + font-size: 16px; + font-family: numeralMedium; + &::placeholder { + color: #d8dce5; + font-size: 16px; + } + &:focus { + outline: 0px !important; + } + } + + button { + font-family: numeralMedium; + border: 0px; + background-color: #7dc241; + color: white; + border-radius: 10px; + padding: 7px 50px; + } + } + } + &__list { + width: 100%; + max-width: 1000px; + margin: 30px 0px; + } +} + +.mobile-faq { + width: 100vw; + max-width: 650px; + margin: 0px auto; + padding: 0px 10px; + direction: rtl; + overflow-x: hidden; + padding-top: 70px; + &__header { + margin-top: 30px; + width: 100%; + h1 { + letter-spacing: -2px; + font-family: numeralMedium; + color: #424246; + } + + input { + border: 0px; + flex: 1; + border: 0px; + color: green; + padding: 0px 10px 0px; + font-size: 16px; + font-family: numeralMedium; + border: 1px solid #afafaf; + border-radius: 10px; + width: 100%; + padding: 8px 5px; + margin: 15px 0px; + max-width: 400px; + &::placeholder { + color: #d8dce5; + font-size: 16px; + } + &:focus { + outline: 0px !important; + } + } + + button { + font-family: numeralMedium; + border: 0px; + background-color: #7dc241; + color: white; + border-radius: 10px; + padding: 7px 50px; + } + } + &__list { + width: 100%; + max-width: 1000px; + margin: 30px 0px; + } +}