diff --git a/src/components/ContactUsInfoCard/images/logo-rectangle.svg b/public/images/ContactUsInfoCardlogo-rectangle.svg similarity index 100% rename from src/components/ContactUsInfoCard/images/logo-rectangle.svg rename to public/images/ContactUsInfoCardlogo-rectangle.svg diff --git a/src/components/ContactUsInfoCard/images/map.svg b/public/images/ContactUsInfoCardmap.svg similarity index 100% rename from src/components/ContactUsInfoCard/images/map.svg rename to public/images/ContactUsInfoCardmap.svg diff --git a/src/components/ContactUsInfoCard/images/marker.svg b/public/images/ContactUsInfoCardmarker.svg similarity index 100% rename from src/components/ContactUsInfoCard/images/marker.svg rename to public/images/ContactUsInfoCardmarker.svg diff --git a/src/components/ContactUsInfoCard/images/phone.svg b/public/images/ContactUsInfoCardphone.svg similarity index 100% rename from src/components/ContactUsInfoCard/images/phone.svg rename to public/images/ContactUsInfoCardphone.svg diff --git a/src/assets/icons/black-delivery-icon.svg b/public/images/black-delivery-icon.svg similarity index 100% rename from src/assets/icons/black-delivery-icon.svg rename to public/images/black-delivery-icon.svg diff --git a/src/assets/icons/black-downward-arrow.png b/public/images/black-downward-arrow.png similarity index 100% rename from src/assets/icons/black-downward-arrow.png rename to public/images/black-downward-arrow.png diff --git a/src/assets/icons/black-downward-arrow.svg b/public/images/black-downward-arrow.svg similarity index 100% rename from src/assets/icons/black-downward-arrow.svg rename to public/images/black-downward-arrow.svg diff --git a/src/assets/icons/black-left-arrow.svg b/public/images/black-left-arrow.svg similarity index 100% rename from src/assets/icons/black-left-arrow.svg rename to public/images/black-left-arrow.svg diff --git a/src/assets/icons/black-right-arrow.svg b/public/images/black-right-arrow.svg similarity index 100% rename from src/assets/icons/black-right-arrow.svg rename to public/images/black-right-arrow.svg diff --git a/src/assets/icons/black-right-icon.svg b/public/images/black-right-icon.svg similarity index 100% rename from src/assets/icons/black-right-icon.svg rename to public/images/black-right-icon.svg diff --git a/src/assets/icons/black-settings-icon.svg b/public/images/black-settings-icon.svg similarity index 100% rename from src/assets/icons/black-settings-icon.svg rename to public/images/black-settings-icon.svg diff --git a/src/assets/icons/black-upward-arrow.png b/public/images/black-upward-arrow.png similarity index 100% rename from src/assets/icons/black-upward-arrow.png rename to public/images/black-upward-arrow.png diff --git a/src/assets/images/book-white-cover.svg b/public/images/book-white-cover.svg similarity index 100% rename from src/assets/images/book-white-cover.svg rename to public/images/book-white-cover.svg diff --git a/src/assets/images/book.svg b/public/images/book.svg similarity index 100% rename from src/assets/images/book.svg rename to public/images/book.svg diff --git a/src/assets/icons/customer-support.png b/public/images/customer-support.png similarity index 100% rename from src/assets/icons/customer-support.png rename to public/images/customer-support.png diff --git a/src/assets/icons/dark-blue-cancle-icon.svg b/public/images/dark-blue-cancle-icon.svg similarity index 100% rename from src/assets/icons/dark-blue-cancle-icon.svg rename to public/images/dark-blue-cancle-icon.svg diff --git a/src/assets/icons/dark-blue-newspaper-icon.svg b/public/images/dark-blue-newspaper-icon.svg similarity index 100% rename from src/assets/icons/dark-blue-newspaper-icon.svg rename to public/images/dark-blue-newspaper-icon.svg diff --git a/src/assets/icons/dark-crimson-vertical-line.svg b/public/images/dark-crimson-vertical-line.svg similarity index 100% rename from src/assets/icons/dark-crimson-vertical-line.svg rename to public/images/dark-crimson-vertical-line.svg diff --git a/src/assets/icons/dark-play-button-icon.svg b/public/images/dark-play-button-icon.svg similarity index 100% rename from src/assets/icons/dark-play-button-icon.svg rename to public/images/dark-play-button-icon.svg diff --git a/src/assets/icons/decrement-counter-icon.svg b/public/images/decrement-counter-icon.svg similarity index 100% rename from src/assets/icons/decrement-counter-icon.svg rename to public/images/decrement-counter-icon.svg diff --git a/src/assets/icons/discount.png b/public/images/discount.png similarity index 100% rename from src/assets/icons/discount.png rename to public/images/discount.png diff --git a/src/assets/images/goldon.png b/public/images/goldon.png similarity index 100% rename from src/assets/images/goldon.png rename to public/images/goldon.png diff --git a/src/assets/icons/green-left-arrow.svg b/public/images/green-left-arrow.svg similarity index 100% rename from src/assets/icons/green-left-arrow.svg rename to public/images/green-left-arrow.svg diff --git a/src/assets/images/grid.png b/public/images/grid.png similarity index 100% rename from src/assets/images/grid.png rename to public/images/grid.png diff --git a/src/assets/icons/increment-counter-icon.svg b/public/images/increment-counter-icon.svg similarity index 100% rename from src/assets/icons/increment-counter-icon.svg rename to public/images/increment-counter-icon.svg diff --git a/src/assets/icons/light-blue-cancle-icon.svg b/public/images/light-blue-cancle-icon.svg similarity index 100% rename from src/assets/icons/light-blue-cancle-icon.svg rename to public/images/light-blue-cancle-icon.svg diff --git a/src/assets/icons/light-blue-delivery-icon.svg b/public/images/light-blue-delivery-icon.svg similarity index 100% rename from src/assets/icons/light-blue-delivery-icon.svg rename to public/images/light-blue-delivery-icon.svg diff --git a/src/assets/icons/light-blue-icon.svg b/public/images/light-blue-icon.svg similarity index 100% rename from src/assets/icons/light-blue-icon.svg rename to public/images/light-blue-icon.svg diff --git a/src/assets/icons/light-green-cancle-icon.svg b/public/images/light-green-cancle-icon.svg similarity index 100% rename from src/assets/icons/light-green-cancle-icon.svg rename to public/images/light-green-cancle-icon.svg diff --git a/src/assets/icons/light-green-gift-icon.svg b/public/images/light-green-gift-icon.svg similarity index 100% rename from src/assets/icons/light-green-gift-icon.svg rename to public/images/light-green-gift-icon.svg diff --git a/src/assets/icons/light-green-line.svg b/public/images/light-green-line.svg similarity index 100% rename from src/assets/icons/light-green-line.svg rename to public/images/light-green-line.svg diff --git a/src/assets/icons/light-orange-cancle-icon.svg b/public/images/light-orange-cancle-icon.svg similarity index 100% rename from src/assets/icons/light-orange-cancle-icon.svg rename to public/images/light-orange-cancle-icon.svg diff --git a/src/assets/icons/light-orange-right-icon.svg b/public/images/light-orange-right-icon.svg similarity index 100% rename from src/assets/icons/light-orange-right-icon.svg rename to public/images/light-orange-right-icon.svg diff --git a/src/assets/icons/light-purple-cancle-icon.svg b/public/images/light-purple-cancle-icon.svg similarity index 100% rename from src/assets/icons/light-purple-cancle-icon.svg rename to public/images/light-purple-cancle-icon.svg diff --git a/src/assets/icons/light-purple-double-right-icon.svg b/public/images/light-purple-double-right-icon.svg similarity index 100% rename from src/assets/icons/light-purple-double-right-icon.svg rename to public/images/light-purple-double-right-icon.svg diff --git a/src/assets/icons/light-yellow-cancle-icon.svg b/public/images/light-yellow-cancle-icon.svg similarity index 100% rename from src/assets/icons/light-yellow-cancle-icon.svg rename to public/images/light-yellow-cancle-icon.svg diff --git a/src/assets/icons/lightBlueDotIcon.svg b/public/images/lightBlueDotIcon.svg similarity index 100% rename from src/assets/icons/lightBlueDotIcon.svg rename to public/images/lightBlueDotIcon.svg diff --git a/src/assets/icons/purpleDotIcon.svg b/public/images/purpleDotIcon.svg similarity index 100% rename from src/assets/icons/purpleDotIcon.svg rename to public/images/purpleDotIcon.svg diff --git a/src/assets/icons/redDotIcon.svg b/public/images/redDotIcon.svg similarity index 100% rename from src/assets/icons/redDotIcon.svg rename to public/images/redDotIcon.svg diff --git a/src/assets/icons/vuesax-linear-heart.svg b/public/images/vuesax-linear-heart.svg similarity index 100% rename from src/assets/icons/vuesax-linear-heart.svg rename to public/images/vuesax-linear-heart.svg diff --git a/src/assets/images/watermelon.png b/public/images/watermelon.png similarity index 100% rename from src/assets/images/watermelon.png rename to public/images/watermelon.png diff --git a/src/assets/icons/white-downward-arrow.svg b/public/images/white-downward-arrow.svg similarity index 100% rename from src/assets/icons/white-downward-arrow.svg rename to public/images/white-downward-arrow.svg diff --git a/src/assets/icons/white-left-arrow.svg b/public/images/white-left-arrow.svg similarity index 100% rename from src/assets/icons/white-left-arrow.svg rename to public/images/white-left-arrow.svg diff --git a/src/assets/icons/white-play-button-icon.svg b/public/images/white-play-button-icon.svg similarity index 100% rename from src/assets/icons/white-play-button-icon.svg rename to public/images/white-play-button-icon.svg diff --git a/src/assets/icons/white-right-arrow.svg b/public/images/white-right-arrow.svg similarity index 100% rename from src/assets/icons/white-right-arrow.svg rename to public/images/white-right-arrow.svg diff --git a/src/assets/icons/white-upward-arrow.svg b/public/images/white-upward-arrow.svg similarity index 100% rename from src/assets/icons/white-upward-arrow.svg rename to public/images/white-upward-arrow.svg diff --git a/src/assets/icons/yellowDotIcon.svg b/public/images/yellowDotIcon.svg similarity index 100% rename from src/assets/icons/yellowDotIcon.svg rename to public/images/yellowDotIcon.svg diff --git a/src/assets/icons/black-cancle-icon.svg b/src/assets/icons/black-cancle-icon.svg deleted file mode 100644 index a6539d7..0000000 --- a/src/assets/icons/black-cancle-icon.svg +++ /dev/null @@ -1,8 +0,0 @@ - - - - - - - - diff --git a/src/assets/icons/black-dislike-icon.svg b/src/assets/icons/black-dislike-icon.svg deleted file mode 100644 index a9e211e..0000000 --- a/src/assets/icons/black-dislike-icon.svg +++ /dev/null @@ -1,7 +0,0 @@ - - - - - - - diff --git a/src/assets/icons/black-like-icon.svg b/src/assets/icons/black-like-icon.svg deleted file mode 100644 index 9d7e89c..0000000 --- a/src/assets/icons/black-like-icon.svg +++ /dev/null @@ -1,7 +0,0 @@ - - - - - - - diff --git a/src/assets/icons/card-remove.svg b/src/assets/icons/card-remove.svg deleted file mode 100644 index e9f5387..0000000 --- a/src/assets/icons/card-remove.svg +++ /dev/null @@ -1,6 +0,0 @@ - - - - - - diff --git a/src/assets/icons/dark-crimson-cart-icon.svg b/src/assets/icons/dark-crimson-cart-icon.svg deleted file mode 100644 index 151d5e0..0000000 --- a/src/assets/icons/dark-crimson-cart-icon.svg +++ /dev/null @@ -1,7 +0,0 @@ - - - - - - - diff --git a/src/assets/icons/dark-crimson-hamburger-menu.svg b/src/assets/icons/dark-crimson-hamburger-menu.svg deleted file mode 100644 index 8d6c858..0000000 --- a/src/assets/icons/dark-crimson-hamburger-menu.svg +++ /dev/null @@ -1,10 +0,0 @@ - - - - - - - - - - diff --git a/src/assets/icons/dark-crimson-profile-icon.svg b/src/assets/icons/dark-crimson-profile-icon.svg deleted file mode 100644 index 3879312..0000000 --- a/src/assets/icons/dark-crimson-profile-icon.svg +++ /dev/null @@ -1,8 +0,0 @@ - - - - - - - - diff --git a/src/assets/icons/dark-crimson-search-box.svg b/src/assets/icons/dark-crimson-search-box.svg deleted file mode 100644 index ab021fe..0000000 --- a/src/assets/icons/dark-crimson-search-box.svg +++ /dev/null @@ -1,5 +0,0 @@ - - - - - diff --git a/src/assets/icons/gray-upward-icon.svg b/src/assets/icons/gray-upward-icon.svg deleted file mode 100644 index 21586c0..0000000 --- a/src/assets/icons/gray-upward-icon.svg +++ /dev/null @@ -1,3 +0,0 @@ - - - diff --git a/src/assets/icons/heart-emoji.svg b/src/assets/icons/heart-emoji.svg deleted file mode 100644 index 40bd551..0000000 --- a/src/assets/icons/heart-emoji.svg +++ /dev/null @@ -1,8 +0,0 @@ - - - - - - - - diff --git a/src/assets/icons/light-blue-line.svg b/src/assets/icons/light-blue-line.svg deleted file mode 100644 index 562f85a..0000000 --- a/src/assets/icons/light-blue-line.svg +++ /dev/null @@ -1,3 +0,0 @@ - - - diff --git a/src/assets/icons/light-gray-comment-icon.svg b/src/assets/icons/light-gray-comment-icon.svg deleted file mode 100644 index 7cd4bda..0000000 --- a/src/assets/icons/light-gray-comment-icon.svg +++ /dev/null @@ -1,11 +0,0 @@ - - - - - - - - - - - diff --git a/src/assets/icons/light-gray-search-box.svg b/src/assets/icons/light-gray-search-box.svg deleted file mode 100644 index 85194ac..0000000 --- a/src/assets/icons/light-gray-search-box.svg +++ /dev/null @@ -1,7 +0,0 @@ - - - - - - - diff --git a/src/assets/icons/sad-emoji.svg b/src/assets/icons/sad-emoji.svg deleted file mode 100644 index c7d9965..0000000 --- a/src/assets/icons/sad-emoji.svg +++ /dev/null @@ -1,3 +0,0 @@ - - - diff --git a/src/assets/icons/smile-emoji.svg b/src/assets/icons/smile-emoji.svg deleted file mode 100644 index 850df22..0000000 --- a/src/assets/icons/smile-emoji.svg +++ /dev/null @@ -1,8 +0,0 @@ - - - - - - - - diff --git a/src/assets/icons/speechless-emoji.svg b/src/assets/icons/speechless-emoji.svg deleted file mode 100644 index f316b85..0000000 --- a/src/assets/icons/speechless-emoji.svg +++ /dev/null @@ -1,3 +0,0 @@ - - - diff --git a/src/assets/icons/suspicious-emoji.svg b/src/assets/icons/suspicious-emoji.svg deleted file mode 100644 index c82a164..0000000 --- a/src/assets/icons/suspicious-emoji.svg +++ /dev/null @@ -1,8 +0,0 @@ - - - - - - - - diff --git a/src/assets/icons/white-cart-icon.svg b/src/assets/icons/white-cart-icon.svg deleted file mode 100644 index 4e94683..0000000 --- a/src/assets/icons/white-cart-icon.svg +++ /dev/null @@ -1,7 +0,0 @@ - - - - - - - diff --git a/src/assets/icons/white-comment-icon.svg b/src/assets/icons/white-comment-icon.svg deleted file mode 100644 index d67df87..0000000 --- a/src/assets/icons/white-comment-icon.svg +++ /dev/null @@ -1,11 +0,0 @@ - - - - - - - - - - - diff --git a/src/assets/icons/white-hamburger-menu-icon.svg b/src/assets/icons/white-hamburger-menu-icon.svg deleted file mode 100644 index 9206922..0000000 --- a/src/assets/icons/white-hamburger-menu-icon.svg +++ /dev/null @@ -1,9 +0,0 @@ - - - - - - - - - diff --git a/src/assets/images/article-featured-image.svg b/src/assets/images/article-featured-image.svg deleted file mode 100644 index 627c77b..0000000 --- a/src/assets/images/article-featured-image.svg +++ /dev/null @@ -1,8 +0,0 @@ - - - - - - - - diff --git a/src/assets/images/blog-author.png b/src/assets/images/blog-author.png deleted file mode 100644 index f72fba7..0000000 Binary files a/src/assets/images/blog-author.png and /dev/null differ diff --git a/src/assets/images/blog-featured-image.jpg b/src/assets/images/blog-featured-image.jpg deleted file mode 100644 index 7ef425d..0000000 Binary files a/src/assets/images/blog-featured-image.jpg and /dev/null differ diff --git a/src/assets/images/blog-featured-image2.jpg b/src/assets/images/blog-featured-image2.jpg deleted file mode 100644 index f55e145..0000000 Binary files a/src/assets/images/blog-featured-image2.jpg and /dev/null differ diff --git a/src/assets/images/enamad-pic.svg b/src/assets/images/enamad-pic.svg deleted file mode 100644 index 71a2999..0000000 --- a/src/assets/images/enamad-pic.svg +++ /dev/null @@ -1,3 +0,0 @@ - - - diff --git a/src/assets/images/samandehi-pic.svg b/src/assets/images/samandehi-pic.svg deleted file mode 100644 index fc47b54..0000000 --- a/src/assets/images/samandehi-pic.svg +++ /dev/null @@ -1,3 +0,0 @@ - - - diff --git a/src/components/contactInfoSection/ContactInfoSection.js b/src/components/ContactUs/ContactInfoSectioin/index.js similarity index 81% rename from src/components/contactInfoSection/ContactInfoSection.js rename to src/components/ContactUs/ContactInfoSectioin/index.js index 8cbbd88..b405b2c 100644 --- a/src/components/contactInfoSection/ContactInfoSection.js +++ b/src/components/ContactUs/ContactInfoSectioin/index.js @@ -2,13 +2,10 @@ import React from "react"; -import "./ContactInfoSection.scss"; +import customerSupport from "images/customer-support.png"; +import lightGreenLine from "images/light-green-line.svg"; -import customerSupport from "../../assets/icons/customer-support.png"; -import lightGreenLine from "../../assets/icons/light-green-line.svg"; -import lightBlueLine from "../../assets/icons/light-blue-line.svg"; - -const ContactInfoSection = ({ +const ContactInfoSectioin = ({ contactInfoSectionBgColor, dayNumTextColor, contentTextColor, @@ -19,7 +16,7 @@ const ContactInfoSection = ({ > {/* line */} @@ -60,9 +57,9 @@ const ContactInfoSection = ({ ); }; -export default ContactInfoSection; +export default ContactInfoSectioin; -ContactInfoSection.defaultProps = { +ContactInfoSectioin.defaultProps = { contactInfoSectionBgColor: "bg-midGrayBgColor", dayNumTextColor: "text-lightBlueTextColor2", contentTextColor: "text-darkCrimsonTextColor", diff --git a/src/components/ContactUsInfoCard/index.js b/src/components/ContactUs/ContactUsInfoCard/index.js similarity index 81% rename from src/components/ContactUsInfoCard/index.js rename to src/components/ContactUs/ContactUsInfoCard/index.js index 93686fe..d397d6b 100644 --- a/src/components/ContactUsInfoCard/index.js +++ b/src/components/ContactUs/ContactUsInfoCard/index.js @@ -1,17 +1,20 @@ import React from "react"; -import logoRectangle from "./images/logo-rectangle.svg"; -import map from "./images/map.svg"; -import marker from "./images/marker.svg"; -import phone from "./images/phone.svg"; - const ContactUsInfoCard = ({ items }) => { return (
{/* logo && map */}
- map - map + map + map
{/* contact info */}‍ {items.map((item, index) => ( @@ -38,12 +41,12 @@ export default ContactUsInfoCard; ContactUsInfoCard.defaultProps = { items: [ { - icon: marker, + icon: "images/ContactUsInfoCardmarker.svg", title: "نشانی:", content: "شارع دوم شارع حسینی عمود موکب ۲۲", }, { - icon: phone, + icon: "images/ContactUsInfoCardphone.svg", title: "شماره تلفنی ضروری موکب:", content: "۰۸۶۲۵۴۶۴۸۲۳", }, diff --git a/src/components/ContactUs/index.js b/src/components/ContactUs/index.js new file mode 100644 index 0000000..fefab67 --- /dev/null +++ b/src/components/ContactUs/index.js @@ -0,0 +1,27 @@ +import React, { useState } from "react"; + +import ContactInfoSectioin from "./ContactInfoSectioin"; +import ContactUsInfoCard from "./ContactUsInfoCard"; + +function ContactUs() { + const list = { + 1: , + 2: , + }; + const [type, setType] = useState(1); + return ( +
+ + {list[type]} +
+ ); +} + +export default ContactUs; diff --git a/src/redux/data.js b/src/redux/data.js index f3bf04a..437e669 100644 --- a/src/redux/data.js +++ b/src/redux/data.js @@ -38,6 +38,7 @@ import Stepper from "../components/Stepper"; import UploadFile from "../components/UploadFile"; import AnimatedInput from "../components/AnimatedInput/Input"; import BoxNextToEachOther from "../components/BoxNextToEachOther"; +import ContactUs from "../components/ContactUs"; // mini components import MiniComponents from "../components/MiniComponents"; @@ -731,6 +732,16 @@ const components = [ code: null, }, }, + { + name: "Contact Us", + author: "Andalib", + props: [], + content: { + name: "Contact Us", + component: , + code: null, + }, + }, // mini components { name: "Mini Components",