Skip to content

Commit

Permalink
Updates to maya intro Buttion
Browse files Browse the repository at this point in the history
  • Loading branch information
JackCrawfordRobertson committed Apr 17, 2024
1 parent 063cd06 commit f739b06
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 6 deletions.
6 changes: 3 additions & 3 deletions src/pages/Home/App.js
Original file line number Diff line number Diff line change
Expand Up @@ -63,10 +63,10 @@ const App = () => {
/>
)}

<DevZoom onZoom={handleZoom} />
{/* {showZoomFrontLoadScreen && (
{/* <DevZoom onZoom={handleZoom} /> */}
{showZoomFrontLoadScreen && (
<ZoomFrontLoadScreen onZoom={handleZoom} onOtherAction={() => setShowZoomFrontLoadScreen(false)} />
)} */}
)}
</div>
);
};
Expand Down
7 changes: 4 additions & 3 deletions src/pages/StartingZoom/ComponentSections/MayaIntro.js
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ const MayaIntro = ({ onNext }) => {
opacity: 1,
y: 0,
transition: {
delay: 9000, // Adjusting button delay to match the initial delay
delay: 1.9, // Adjusted delay to follow the initial animation
duration: 0.5,
},
},
Expand All @@ -61,7 +61,8 @@ const MayaIntro = ({ onNext }) => {
onClick={onNext}
className="jump-animation"
style={{
backgroundColor: "transparent",
backgroundColor: "#3498db", // Changed to a solid, visible color
color: "white", // Ensure text/icon is visible
padding: "0",
display: "inline-block",
justifyContent: "center",
Expand All @@ -71,7 +72,7 @@ const MayaIntro = ({ onNext }) => {
marginTop: "2rem",
}}
>
<BsArrowRightSquareFill style={{ fontSize: "3rem" }} />
<BsArrowRightSquareFill style={{ fontSize: "3rem", color: "white" }} />
</Button>
</motion.div>
</motion.div>
Expand Down

0 comments on commit f739b06

Please sign in to comment.