diff --git a/src/sections/Kanvas/Kanvas-collaborate/collaboration-feature-team.js b/src/sections/Kanvas/Kanvas-collaborate/collaboration-feature-team.js index 1441dd5cd069b..c302596a1c5e5 100644 --- a/src/sections/Kanvas/Kanvas-collaborate/collaboration-feature-team.js +++ b/src/sections/Kanvas/Kanvas-collaborate/collaboration-feature-team.js @@ -4,38 +4,26 @@ import { ReactComponent as CollaborationImg } from "./../FeaturesSection/Collabo import { useInView } from "react-intersection-observer"; import { useState } from "react"; +import ConversationImg from "./images/conversation.png"; +import ComponentsGif from "./images/components.gif"; +import ActivityLogsImg from "./images/activity-logs.png"; +import UndoRedoImg from "./images/undo-redo.png"; + const CollaborationFeatureWrapper = styled.div` display: flex; - flex-direction: row; + flex-direction: column; /* background-color: ${props => props.theme.grey121212ToWhite};; max-width: 90%; */ + width: 100%; justify-content: center; - /* align-items: center; */ + align-items: center; padding: 5% 5% 8%; /* @media only screen and (max-width: 767px) { text-align: center; flex-direction: column-reverse; } */ - .hero-div { - position: relative; - transition: 0.5s; - display: flex; - flex-direction: row-reverse; - background-color: ${props => props.theme.grey121212ToWhite};; - max-width: 90%; - height: fit-content; - justify-content: space-between; - align-items: center; - padding: 2% 5% 8%; - transition: 0.8s cubic-bezier(0.2, 0.8, 0.2, 1); - @media only screen and (max-width: 767px) { - text-align: center; - flex-direction: column-reverse; - } - } - .hero-text { display: flex; flex-direction: column; @@ -58,8 +46,21 @@ const CollaborationFeatureWrapper = styled.div` } img { - opacity: 0; - transition: opacity ease-out 0.5s; + width: 600px; + height: 300px; + object-fit: cover; + opacity: 0; + transform: translateY(30px); + transition: opacity 0.6s ease, transform 0.6s ease; + + &.img-animate { + opacity: 1; + transform: translateY(0); + } + + @media only screen and (max-width: 767px) { + width: 100%; + } } svg { @@ -90,6 +91,36 @@ const CollaborationFeatureWrapper = styled.div` `; +const StyledDiv = styled.div` + position: relative; + display: flex; + flex-direction: ${({ reverse }) => (reverse ? "row-reverse" : "row")}; + background-color: ${(props) => props.theme.grey121212ToWhite}; + max-width: 90%; + height: fit-content; + justify-content: space-between; + align-items: center; + padding: 2% 5% 8%; + transition: 0.8s cubic-bezier(0.2, 0.8, 0.2, 1); + + @media only screen and (max-width: 767px) { + flex-direction: column; + text-align: center; + } +`; + +const ImageWithAnimation = ({ src, alt }) => { + const [ref, inView] = useInView({ threshold: 0.4 }); + return ( + {alt} + ); +}; + const CollaborationFeatureTeam = () => { const [locatorRef, inView] = useInView({ threshold: 0.5 }); // const [sectionRef, sectionView] = useInView({ threshold: 1.0 }); @@ -106,17 +137,65 @@ const CollaborationFeatureTeam = () => { return ( -
+
- +

Collaborate with your Team

Build an iterative design flow with live collaboration that keeps you in the loop whether you are working in the office or remotely.

-
+ + +
+ +
+
+

Integrated Comments

+

Add comments directly to give feedback or ask questions. Great for discussing changes without leaving the canvas.

+
+
+ +
+ +
+
+

Shared Component Library

+

Access to a library of reusable components and designs. Save time by using or modifying shared designs.

+
+
+ +
+ +
+
+

Live Activity Log

+

See real-time updates of edits, comments, and actions by you and your team.

+
+
+ +
+ +
+
+

Undo & Revert Changes

+

Made a mistake? No worries — you can easily undo recent actions. Go back to a previous state without losing your progress.

+
+
); }; -export default CollaborationFeatureTeam; \ No newline at end of file +export default CollaborationFeatureTeam; diff --git a/src/sections/Kanvas/Kanvas-collaborate/images/activity-logs.png b/src/sections/Kanvas/Kanvas-collaborate/images/activity-logs.png new file mode 100644 index 0000000000000..17022734cee92 Binary files /dev/null and b/src/sections/Kanvas/Kanvas-collaborate/images/activity-logs.png differ diff --git a/src/sections/Kanvas/Kanvas-collaborate/images/components.gif b/src/sections/Kanvas/Kanvas-collaborate/images/components.gif new file mode 100644 index 0000000000000..c61efb44dc349 Binary files /dev/null and b/src/sections/Kanvas/Kanvas-collaborate/images/components.gif differ diff --git a/src/sections/Kanvas/Kanvas-collaborate/images/conversation.png b/src/sections/Kanvas/Kanvas-collaborate/images/conversation.png new file mode 100644 index 0000000000000..f01d0f9c96d5f Binary files /dev/null and b/src/sections/Kanvas/Kanvas-collaborate/images/conversation.png differ diff --git a/src/sections/Kanvas/Kanvas-collaborate/images/undo-redo.png b/src/sections/Kanvas/Kanvas-collaborate/images/undo-redo.png new file mode 100644 index 0000000000000..554f77514eeec Binary files /dev/null and b/src/sections/Kanvas/Kanvas-collaborate/images/undo-redo.png differ