From 3038fae33d6fc343498f28e75177b76b6e5e3fef Mon Sep 17 00:00:00 2001 From: Reza_ashrafi Date: Thu, 28 Apr 2022 12:46:40 +0430 Subject: [PATCH] reza added 4 layouts --- src/components/Button/index.js | 7 +- src/components/Input/index.js | 48 +-- src/components/Slider/Slider.scss | 119 +++++++ src/components/Slider/index.js | 172 +++++++++++ src/components/Textarea/index.js | 21 ++ src/redux/actions/form.js | 4 + src/redux/reducers/form.js | 14 + src/utils/customHooks.js | 87 ++++++ src/utils/location.js | 11 + src/utils/onInput.js | 292 ++++++++++++++++++ src/views/Home/index.js | 21 +- .../layouts/CrossPlatform/assets/android.svg | 8 + .../Home/layouts/CrossPlatform/assets/ios.svg | 8 + .../Home/layouts/CrossPlatform/assets/pwa.svg | 3 + src/views/Home/layouts/CrossPlatform/index.js | 57 +++- src/views/Home/layouts/Features/index.js | 3 +- src/views/Home/layouts/Form/index.js | 81 ++++- src/views/Home/layouts/Gradient/index.js | 33 +- src/views/Home/layouts/Graphic/index.js | 2 +- src/views/Home/layouts/Panel/index.js | 12 +- src/views/Home/layouts/Samples/index.js | 48 ++- tailwind.config.js | 11 +- 22 files changed, 990 insertions(+), 72 deletions(-) create mode 100644 src/components/Slider/Slider.scss create mode 100644 src/components/Slider/index.js create mode 100644 src/components/Textarea/index.js create mode 100644 src/utils/customHooks.js create mode 100644 src/utils/location.js create mode 100644 src/utils/onInput.js create mode 100644 src/views/Home/layouts/CrossPlatform/assets/android.svg create mode 100644 src/views/Home/layouts/CrossPlatform/assets/ios.svg create mode 100644 src/views/Home/layouts/CrossPlatform/assets/pwa.svg diff --git a/src/components/Button/index.js b/src/components/Button/index.js index 8b6f6d1..46cb10f 100644 --- a/src/components/Button/index.js +++ b/src/components/Button/index.js @@ -12,7 +12,7 @@ const Button = ({ }) => { return (