master
mahdi andalib 3 years ago
parent 42830bd355
commit 46551c93ad
  1. 30
      package-lock.json
  2. 21
      src/components/Digikala/SliderData.js
  3. 8
      src/components/Digikala/black-left-arrow.svg
  4. 8
      src/components/Digikala/black-right-arrow.svg
  5. BIN
      src/components/Digikala/green.jpg
  6. 9
      src/components/Digikala/index.js
  7. BIN
      src/components/Digikala/pic1.jpg
  8. BIN
      src/components/Digikala/pic2.jpg
  9. BIN
      src/components/Digikala/pic3.jpg
  10. BIN
      src/components/Digikala/pic4.jpg
  11. BIN
      src/components/Digikala/pic5.jpg
  12. BIN
      src/components/Digikala/pic6.jpg
  13. 1
      src/components/ReactTable4/index.js
  14. 7
      tailwind.config.js
  15. 15412
      yarn.lock

30
package-lock.json generated

@ -30,6 +30,7 @@
"sass": "^1.45.0", "sass": "^1.45.0",
"sweetalert2": "^11.3.4", "sweetalert2": "^11.3.4",
"tw-elements": "^1.0.0-alpha8", "tw-elements": "^1.0.0-alpha8",
"use-draggable-scroll": "^0.1.0",
"web-vitals": "^2.1.2" "web-vitals": "^2.1.2"
}, },
"devDependencies": { "devDependencies": {
@ -15678,9 +15679,9 @@
"integrity": "sha512-Xni35NKzjgMrwevysHTCArtLDpPvye8zV/0E4EyYn43P7/7qvQwPh9BGkHewbMulVntbigmcT7rdX3BNo9wRJg==" "integrity": "sha512-Xni35NKzjgMrwevysHTCArtLDpPvye8zV/0E4EyYn43P7/7qvQwPh9BGkHewbMulVntbigmcT7rdX3BNo9wRJg=="
}, },
"node_modules/tw-elements": { "node_modules/tw-elements": {
"version": "1.0.0-alpha8", "version": "1.0.0-alpha9",
"resolved": "https://registry.npmjs.org/tw-elements/-/tw-elements-1.0.0-alpha8.tgz", "resolved": "https://registry.npmjs.org/tw-elements/-/tw-elements-1.0.0-alpha9.tgz",
"integrity": "sha512-feqb4XmHWH8KUOT7KEC3lc258VmypcI6ettdR9adN/dEfk9wXcp/G+XPOhnAAQiXeyTDOCuDF/GNo6kMN++YXw==", "integrity": "sha512-Qw88PhQQQzQ6Ohsaze8FBy3ijMJnvMe0BeD5f31tfi5KAi39y6QvmgRBxnSnLNmpvq5ItxNOxlVKMPfUCgDwfw==",
"dependencies": { "dependencies": {
"@popperjs/core": "^2.6.0", "@popperjs/core": "^2.6.0",
"bootstrap": "^5.1.3", "bootstrap": "^5.1.3",
@ -15869,6 +15870,17 @@
"resolved": "https://registry.npmjs.org/punycode/-/punycode-1.3.2.tgz", "resolved": "https://registry.npmjs.org/punycode/-/punycode-1.3.2.tgz",
"integrity": "sha1-llOgNvt8HuQjQvIyXM7v6jkmxI0=" "integrity": "sha1-llOgNvt8HuQjQvIyXM7v6jkmxI0="
}, },
"node_modules/use-draggable-scroll": {
"version": "0.1.0",
"resolved": "https://registry.npmjs.org/use-draggable-scroll/-/use-draggable-scroll-0.1.0.tgz",
"integrity": "sha512-mX6nT3cUqOTtA+8QUH9HfdKtzI6Oquj9QIB0wALWZYmWogNQ746MaUcmqKOKCIlt2UH6egxhSKNPiSlfEqmKhA==",
"engines": {
"node": ">=10"
},
"peerDependencies": {
"react": ">=16"
}
},
"node_modules/util-deprecate": { "node_modules/util-deprecate": {
"version": "1.0.2", "version": "1.0.2",
"resolved": "https://registry.npmjs.org/util-deprecate/-/util-deprecate-1.0.2.tgz", "resolved": "https://registry.npmjs.org/util-deprecate/-/util-deprecate-1.0.2.tgz",
@ -28136,9 +28148,9 @@
} }
}, },
"tw-elements": { "tw-elements": {
"version": "1.0.0-alpha8", "version": "1.0.0-alpha9",
"resolved": "https://registry.npmjs.org/tw-elements/-/tw-elements-1.0.0-alpha8.tgz", "resolved": "https://registry.npmjs.org/tw-elements/-/tw-elements-1.0.0-alpha9.tgz",
"integrity": "sha512-feqb4XmHWH8KUOT7KEC3lc258VmypcI6ettdR9adN/dEfk9wXcp/G+XPOhnAAQiXeyTDOCuDF/GNo6kMN++YXw==", "integrity": "sha512-Qw88PhQQQzQ6Ohsaze8FBy3ijMJnvMe0BeD5f31tfi5KAi39y6QvmgRBxnSnLNmpvq5ItxNOxlVKMPfUCgDwfw==",
"requires": { "requires": {
"@popperjs/core": "^2.6.0", "@popperjs/core": "^2.6.0",
"bootstrap": "^5.1.3", "bootstrap": "^5.1.3",
@ -28279,6 +28291,12 @@
} }
} }
}, },
"use-draggable-scroll": {
"version": "0.1.0",
"resolved": "https://registry.npmjs.org/use-draggable-scroll/-/use-draggable-scroll-0.1.0.tgz",
"integrity": "sha512-mX6nT3cUqOTtA+8QUH9HfdKtzI6Oquj9QIB0wALWZYmWogNQ746MaUcmqKOKCIlt2UH6egxhSKNPiSlfEqmKhA==",
"requires": {}
},
"util-deprecate": { "util-deprecate": {
"version": "1.0.2", "version": "1.0.2",
"resolved": "https://registry.npmjs.org/util-deprecate/-/util-deprecate-1.0.2.tgz", "resolved": "https://registry.npmjs.org/util-deprecate/-/util-deprecate-1.0.2.tgz",

@ -0,0 +1,21 @@
import pic1 from "./pic1.jpg";
import pic2 from "./pic2.jpg";
import pic3 from "./pic3.jpg";
import pic4 from "./pic4.jpg";
import pic5 from "./pic5.jpg";
import pic6 from "./pic6.jpg";
export const SliderData = [
{
image: pic6,
},
{
image: pic5,
},
{
image: pic4,
},
{
image: pic3,
},
];

@ -0,0 +1,8 @@
<svg xmlns="http://www.w3.org/2000/svg" width="37.14" height="37.14" viewBox="0 0 37.14 37.14">
<g id="vuesax_linear_arrow-left" data-name="vuesax/linear/arrow-left" transform="translate(-364 -252)">
<g id="arrow-left" transform="translate(364 252)">
<path id="Vector" d="M10.983,24.512.894,14.423a3.073,3.073,0,0,1,0-4.333L10.983,0" transform="translate(12.229 6.314)" fill="none" stroke="#646464" stroke-linecap="round" stroke-linejoin="round" stroke-width="3"/>
<path id="Vector-2" data-name="Vector" d="M0,0H37.14V37.14H0Z" transform="translate(37.14 37.14) rotate(180)" fill="none" opacity="0"/>
</g>
</g>
</svg>

After

Width:  |  Height:  |  Size: 642 B

@ -0,0 +1,8 @@
<svg xmlns="http://www.w3.org/2000/svg" width="37.14" height="37.14" viewBox="0 0 37.14 37.14">
<g id="vuesax_linear_arrow-left" data-name="vuesax/linear/arrow-left" transform="translate(401.14 289.14) rotate(180)">
<g id="arrow-left" transform="translate(364 252)">
<path id="Vector" d="M10.983,24.512.894,14.423a3.073,3.073,0,0,1,0-4.333L10.983,0" transform="translate(12.229 6.314)" fill="none" stroke="#646464" stroke-linecap="round" stroke-linejoin="round" stroke-width="3"/>
<path id="Vector-2" data-name="Vector" d="M0,0H37.14V37.14H0Z" transform="translate(37.14 37.14) rotate(180)" fill="none" opacity="0"/>
</g>
</g>
</svg>

After

Width:  |  Height:  |  Size: 658 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 4.2 MiB

@ -0,0 +1,9 @@
import React from "react";
import ImageSlider from "./ImageSlider";
import { SliderData } from "./SliderData";
const Digikala = () => {
return <ImageSlider slides={SliderData} />;
};
export default Digikala;

Binary file not shown.

After

Width:  |  Height:  |  Size: 39 MiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 85 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 235 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.3 MiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 315 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 732 KiB

@ -49,6 +49,7 @@ const ReactTable3 = ({ breadCrumbs, subTitle, title }) => {
}; };
window.isDown = false; window.isDown = false;
export default ReactTable3; export default ReactTable3;
function Tabbar({}) { function Tabbar({}) {
const ref = useRef(null); const ref = useRef(null);

@ -2,6 +2,8 @@ module.exports = {
content: [ content: [
"./src/**/*.{js,jsx,ts,tsx}", "./src/**/*.{js,jsx,ts,tsx}",
"./node_modules/@themesberg/flowbite/**/*.js", "./node_modules/@themesberg/flowbite/**/*.js",
"./src/**/*.{html,js}",
"./node_modules/tw-elements/dist/js/**/*.js",
], ],
theme: { theme: {
extend: {}, extend: {},
@ -78,5 +80,8 @@ module.exports = {
darkCrimsonBorderColor: "#132F52", darkCrimsonBorderColor: "#132F52",
}), }),
}, },
plugins: [require("@themesberg/flowbite/plugin")], plugins: [
require("@themesberg/flowbite/plugin"),
require("tw-elements/dist/plugin"),
],
}; };

15412
yarn.lock

File diff suppressed because it is too large Load Diff
Loading…
Cancel
Save