diff --git a/src/assets/zaid.jpeg b/src/assets/zaid.jpeg new file mode 100644 index 0000000..26a2ec4 Binary files /dev/null and b/src/assets/zaid.jpeg differ diff --git a/src/components/Carousel/TeamCarousel.tsx b/src/components/Carousel/TeamCarousel.tsx index dc70ad8..2b57b21 100644 --- a/src/components/Carousel/TeamCarousel.tsx +++ b/src/components/Carousel/TeamCarousel.tsx @@ -7,20 +7,9 @@ const TeamCarousel = () => {
Meet Our Team
- Loading...
}> + Loading...
}> {team.map((member, index) => { return ( - //
- // {`image - //
{member.name}
- // - //
{member.bio}
- //
{ const [prevScrollPos, setPrevScrollPos] = useState(0); const [visible, setVisible] = useState(true); + const scrollToTargetDiv = () => { + const targetDiv = document.getElementById('digital-badge'); + if (targetDiv) { + targetDiv.scrollIntoView({ behavior: 'smooth' }); + } else { + console.error("Target div with ID 'digital-badge' not found."); + } + }; + const handleScroll = () => { const currentScrollPos = window.pageYOffset; const isVisible = prevScrollPos > currentScrollPos; @@ -29,7 +38,7 @@ const Navbar = () => { Build With AI 2024
{/* Start Gemini Lab Button */} - + scrollToTargetDiv()} className="px-4 py-2 bg-blue-500 text-white rounded hover:bg-blue-600 transition duration-300"> Start Gemini Lab diff --git a/src/components/Topics/TopicCard.tsx b/src/components/Topics/TopicCard.tsx index 3e888ce..716c51f 100644 --- a/src/components/Topics/TopicCard.tsx +++ b/src/components/Topics/TopicCard.tsx @@ -1,9 +1,22 @@ -import { useState } from "react"; +// import { useState } from "react"; const TopicCard = ({ topic }: any) => { - const [isHovered, setIsHoverd] = useState(false); + // const [isHovered, setIsHoverd] = useState(false); return ( -
{topic.title}

+

{topic.disc}

*/} + +
+ ); +}; + +export default TopicCard; + + +{/*
{ setIsHoverd(true); }} @@ -19,9 +32,4 @@ const TopicCard = ({ topic }: any) => { />

{topic.title}

{topic.disc}

-
- - ); -}; - -export default TopicCard; +
*/} \ No newline at end of file diff --git a/src/components/Topics/Topics.tsx b/src/components/Topics/Topics.tsx index a5873bd..52a2b95 100644 --- a/src/components/Topics/Topics.tsx +++ b/src/components/Topics/Topics.tsx @@ -3,8 +3,8 @@ import { topics } from "./topicsObjct"; const Topics = () => { return ( <> -

Get Your Build With AI Digital Badge

-
+

Get Your Build With AI Digital Badge

+
{topics.map((topic, i) => ( ))} diff --git a/src/components/Topics/topicsObjct.tsx b/src/components/Topics/topicsObjct.tsx index f4da643..3d46b82 100644 --- a/src/components/Topics/topicsObjct.tsx +++ b/src/components/Topics/topicsObjct.tsx @@ -1,29 +1,29 @@ -import cloudImg from "/src/assets/stacks_cloud.svg"; -import cloudHoverImg from "/src/assets/stacks_cloud-hover.svg"; -import mobileImg from "/src/assets/stacks_mobile.svg"; -import mobileHoverImg from "/src/assets/stacks_mobile-hover.svg"; -import aiImg from "/src/assets/stacks_ai.svg"; -import aiHoverImg from "/src/assets/stacks_ai-hover.svg"; +// import cloudImg from "/src/assets/stacks_cloud.svg"; +// import cloudHoverImg from "/src/assets/stacks_cloud-hover.svg"; +// import mobileImg from "/src/assets/stacks_mobile.svg"; +// import mobileHoverImg from "/src/assets/stacks_mobile-hover.svg"; +// import aiImg from "/src/assets/stacks_ai.svg"; +// import aiHoverImg from "/src/assets/stacks_ai-hover.svg"; export const topics = [ { - img: cloudImg, - imgHvr: cloudHoverImg, + // img: cloudImg, + // imgHvr: cloudHoverImg, title: "Step - I", url: "https://github.com/GDGCloudLahore/Build-With-AI-Labs", disc: "Perform Gemini Labs", }, { - img: mobileImg, - imgHvr: mobileHoverImg, + // img: mobileImg, + // imgHvr: mobileHoverImg, title: "Step - II", url: "https://forms.gle/Dxn4RfYdLNBHSvfW6", disc: "Submit The Labs", }, { - img: aiImg, - imgHvr: aiHoverImg, + // img: aiImg, + // imgHvr: aiHoverImg, title: "Step - III", - url: "", - disc: "Just relax and keep checking your mail from us!", + url: "https://trygcp.dev/e/build-ai-LHR01", + disc: "Get Your Digital Badge & Cloud Credits", }, ]; \ No newline at end of file