diff --git a/src/components/main-card/MainCard.jsx b/src/components/main-card/MainCard.jsx
index d3df7c1..2099d83 100644
--- a/src/components/main-card/MainCard.jsx
+++ b/src/components/main-card/MainCard.jsx
@@ -20,52 +20,48 @@ const MainCard = ({ imageURL, title, description, url }) => {
const options = {
reverse: true,
speed: 1200,
- reset: false,
+ easing: 'cubic-bezier(.09,.67,.54,.76)'
+ // reset: false,
};
return (
-
- handleClick(e)}
- options={options}
- children={
-
-
-
-
-
- {title}
-
-
- {{ description } !== '' && (
- {description}
- )}
-
-
-
- }
- style={{ padding: 0, margin: 0 }}
- />
-
+
+
+
+ window.open(url, '_blank')}>
+
+ {title}
+
+
+ {{ description } !== '' && (
+ {description}
+ )}
+
+
+
+ }
+ />
);
};
diff --git a/src/layouts/landing/components/footer/Footer.jsx b/src/layouts/common/backToTop/BackToTop.jsx
similarity index 59%
rename from src/layouts/landing/components/footer/Footer.jsx
rename to src/layouts/common/backToTop/BackToTop.jsx
index a0f7b8c..0d10748 100644
--- a/src/layouts/landing/components/footer/Footer.jsx
+++ b/src/layouts/common/backToTop/BackToTop.jsx
@@ -1,14 +1,15 @@
import React from 'react';
-import useScrollTrigger from '@mui/material/useScrollTrigger';
+import { Grid, Grow, useScrollTrigger } from '@mui/material';
import KeyboardArrowUpIcon from '@mui/icons-material/KeyboardArrowUp';
-import { Grid, Grow, Box } from '@mui/material';
import { useTheme } from '@mui/material/styles';
-
function ScrollTop(props) {
const { children, window } = props;
+ // Note that you normally won't need to set the window ref as useScrollTrigger
+ // will default to window.
+ // This is only being set here because the demo is in an iframe.
const trigger = useScrollTrigger({
target: window ? window() : undefined,
disableHysteresis: true,
@@ -26,22 +27,28 @@ function ScrollTop(props) {
};
return (
-
-
+
+
{children}
-
+
);
}
-const Footer = (props) => {
+const BackToTop = (props) => {
const theme = useTheme();
return (
-