Skip to content

Commit

Permalink
Added animation Changes
Browse files Browse the repository at this point in the history
  • Loading branch information
sayshark75 committed Feb 16, 2024
1 parent 1cd0d10 commit 9d792c7
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 20 deletions.
19 changes: 1 addition & 18 deletions src/components/TechnicalSkillPage/SkillsMapper.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -9,27 +9,10 @@ const SkillsMapper = () => {
w={"100%"}
pos={"relative"}
key={`skill-data-${index}`}
minH={"200px"}
minH={["140px", "200px"]}
p={["8px", "10px", "12px", "14px", "16px"]}
gap={"24px"}
direction={"column"}
_hover={{
_after: {
top: "0px",
},
}}
_after={{
content: '"."',
w: "100%",
minH: "100%",
color: "transparent",
transition: "500ms",
bgColor: "primaryLight",
pos: "absolute",
top: "-100%",
left: "0px",
zIndex: -1,
}}
>
<SmHeading title1={data.title1} title2={data.title2} />
<Text mt={["10px", "10px", "12px", "14px", "16px"]}>
Expand Down
2 changes: 1 addition & 1 deletion src/pages/Contact/Contact.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -75,7 +75,7 @@ const Contact = () => {
alignItems={"center"}
minH={"100vh"}
gap={["3", "4", "6", "8", "10"]}
pt={"12"}
pt={[0, 12]}
fontFamily={"Poppins"}
>
<MdHeading title1="Get In" title2="Touch" />
Expand Down
10 changes: 9 additions & 1 deletion src/pages/TechnicalSkills/TechnicalSkills.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,15 @@ const TechnicalSkills = () => {
}
const { SkillsRef } = context;
return (
<Flex ref={SkillsRef} transition={"500ms"} direction={"column"} minH={"50vh"} justifyContent={"center"} alignItems={"center"} mx={"3"}>
<Flex
ref={SkillsRef}
transition={"500ms"}
direction={"column"}
minH={["40vh"]}
justifyContent={"center"}
alignItems={"center"}
mx={"3"}
>
<MdHeading title1="Technical" title2="Skills" />
<CarouselComp mapperFunction={SkillsMapper} slides={3} />
</Flex>
Expand Down

0 comments on commit 9d792c7

Please sign in to comment.