diff --git a/src/components/BottomNavigation/index.js b/src/components/BottomNavigation/index.js index b9b9808..541e9f7 100644 --- a/src/components/BottomNavigation/index.js +++ b/src/components/BottomNavigation/index.js @@ -82,15 +82,15 @@ BottomNavigation.defaultProps = { }, { id: 3, - name: "آزمون", - link: "/test", + name: "سبد خرید", + link: "/cart", activeIcon: activeTestIcon, deactiveIcon: deactiveTestIcon, }, { id: 4, name: "حساب کاربری", - link: "/profile", + link: "/dashboard", activeIcon: activeProfileIcon, deactiveIcon: deactiveProfileIcon, }, diff --git a/src/components/FloatingButton/index.js b/src/components/FloatingButton/index.js new file mode 100644 index 0000000..86469d1 --- /dev/null +++ b/src/components/FloatingButton/index.js @@ -0,0 +1,27 @@ +import React from "react"; +import { connect } from "react-redux"; + +//assets +import plusIcon from "./plus.svg"; + +export const FloatingButton = ({ action, position, icon }) => { + return ( + + ); +}; + +const mapStateToProps = (state) => ({}); + +const mapDispatchToProps = {}; + +export default connect(mapStateToProps, mapDispatchToProps)(FloatingButton); + +FloatingButton.defaultProps = { + icon: plusIcon, +}; diff --git a/src/components/FloatingButton/plus.svg b/src/components/FloatingButton/plus.svg new file mode 100644 index 0000000..c22ef09 --- /dev/null +++ b/src/components/FloatingButton/plus.svg @@ -0,0 +1,3 @@ + + + + diff --git a/src/components/Footer/index.js b/src/components/Footer/index.js index 560b347..0e27123 100644 --- a/src/components/Footer/index.js +++ b/src/components/Footer/index.js @@ -14,7 +14,7 @@ const FooterDesign1 = ({ color, bg, items, hasHeader }) => { return ( <> {hasHeader ? ( -
+
@@ -50,7 +50,7 @@ const FooterDesign1 = ({ color, bg, items, hasHeader }) => {
) : null}