diff --git a/src/components/Contents/Events.tsx b/src/components/Contents/Events.tsx index 7146a27..aca7891 100644 --- a/src/components/Contents/Events.tsx +++ b/src/components/Contents/Events.tsx @@ -5,29 +5,29 @@ import router from 'next/router'; export const Events = () => { const events = [ { - title: 'SONDER: International GDG on Campus Community Building', - date: 'Dec 20, 2024', - link: 'https://gdg.community.dev/events/details/google-gdg-on-campus-university-of-st-la-salle-bacolod-philippines-presents-sonder-international-gdg-on-campus-community-building-study-group-2024/', + title: 'AImagine: Build with AI', + date: 'Apr 29, 2025', + link: 'https://www.facebook.com/dsc.usls/posts/pfbid026MXJ2BKpLzj9CG1kDrntwen1wAjqXCgRCHz7UK5JpkimMQnRDzpX952DVjMqWtZXl', }, { - title: 'View-Source Networking Session', - date: 'Dec 14, 2024', - link: 'https://gdg.community.dev/events/details/google-gdg-on-campus-university-of-st-la-salle-bacolod-philippines-presents-view-source-networking-session/', + title: 'TechCare: Project Dagtaan', + date: 'Mar 22, 29 and Apr 5, 2025', + link: 'https://project-dagtaan.vercel.app/', }, { - title: 'Core Team - Team Building Program', - date: 'Nov 9, 2024', - link: 'https://gdg.community.dev/events/details/google-gdg-on-campus-university-of-st-la-salle-bacolod-philippines-presents-core-team-team-building-program/', + title: 'Sonder 2025: Vietnam', + date: 'Feb 22, 2025', + link: 'https://www.facebook.com/dsc.philippines/posts/pfbid0gugpw3Rso6EWU49PLS3y6CzJUzDXXwNFHdSxCqvSZUDWRXEYmby3GhYeqD48Pnz4l?rdid=BkXBXGgLOGPDe5YH#', }, { - title: '1st General Assembly & Chapter Characters Info Session', - date: 'Nov 8, 2024', - link: 'https://gdg.community.dev/events/details/google-gdg-on-campus-university-of-st-la-salle-bacolod-philippines-presents-1st-general-assembly-amp-chapter-characters-info-session/', + title: 'Sonder 2025: Indonesia', + date: 'Jan 11, 2025', + link: 'https://gdg.community.dev/events/details/google-gdg-on-campus-university-of-st-la-salle-bacolod-philippines-presents-sonder-google-dev-world-tour-in-indonesia/cohost-gdg-on-campus-university-of-st-la-salle-bacolod-philippines', }, { - title: 'Public Relations Department Study Group & Working Session', - date: 'Oct 30, 2024', - link: 'https://gdg.community.dev/events/details/google-gdg-on-campus-university-of-st-la-salle-bacolod-philippines-presents-public-relations-department-study-group-amp-working-session/', + title: 'SONDER: International GDG on Campus Community Building', + date: 'Dec 20, 2024', + link: 'https://gdg.community.dev/events/details/google-gdg-on-campus-university-of-st-la-salle-bacolod-philippines-presents-sonder-international-gdg-on-campus-community-building-study-group-2024/', }, ]; diff --git a/src/components/Contents/Testimonials.tsx b/src/components/Contents/Testimonials.tsx index f255aba..63af478 100644 --- a/src/components/Contents/Testimonials.tsx +++ b/src/components/Contents/Testimonials.tsx @@ -1,40 +1,8 @@ import React from 'react'; import Image from 'next/image'; +import { testimonials } from '~/utils/constants'; export const Testimonials = () => { - const testimonials = [ - { - name: 'Jarl Briones', - role: 'Former GDSC USLS Lead', - message: - 'GDSC - USLS has been instrumental in my growth, helping me tap into my potential and drive positive change within our community.', - }, - { - name: 'Gian Aibo Boyero', - role: 'GDGOC USLS Lead', - message: - "GDGOC is an extraordinary community of talented and dedicated individuals who constantly strive to learn, grow and achieve their goals. I am so grateful to be a part of this community, and I know that I'm learning, growing every day, and had limitless opportunities because of what they have established.", - }, - { - name: 'Joseph Dale Bañares', - role: 'Former Chief Technology Officer', - message: - 'GDSC has provided me with invaluable experiences, opportunities, and connections, and has allowed me to grow both technically and socially within a supportive community of passionate learners.', - }, - { - name: 'Lhiam Andrei Lingco', - role: 'Web Developer Lead', - message: - 'GDGOC has been a great platform for me to enhance my skills, collaborate with amazing individuals, and contribute to impactful projects that inspire growth and innovation.', - }, - { - name: 'Josh Daniel Bañares', - role: 'Former Chief Technology Officer', - message: - 'GDSC has been a catalyst for my personal growth. It has enabled me to connect with exceptional individuals, learn critical skills, and grow as a person.', - }, - ]; - return (
diff --git a/src/components/GSAP/ScrollAnimation.tsx b/src/components/GSAP/ScrollAnimation.tsx index eae33b0..b521151 100644 --- a/src/components/GSAP/ScrollAnimation.tsx +++ b/src/components/GSAP/ScrollAnimation.tsx @@ -2,6 +2,7 @@ import React, { useRef } from 'react'; import { gsap } from 'gsap'; import { ScrollTrigger } from 'gsap/dist/ScrollTrigger'; import useIsomorphicLayoutEffect from '~/hooks/useIsomorphicLayoutEffect'; +import { testimonials } from '~/utils/constants'; export const ScrollAnimation = ({ children, @@ -122,8 +123,8 @@ export const ScrollAnimation = ({ }, ]; - // Looping through testimonials for individual scroll trigs - for (let i = 0; i < 5; i++) { + // Looping through testimonials for individual scroll trigs - just add more testimonials in the testimonials array + for (let i = 0; i < testimonials.length; i++) { textsTarget.push({ trigger: `#testimony-${i}`, target: `#testimony-${i} p`, diff --git a/src/utils/constants.ts b/src/utils/constants.ts index a05704c..641c945 100644 --- a/src/utils/constants.ts +++ b/src/utils/constants.ts @@ -1,3 +1,42 @@ +export const testimonials = [ + { + name: 'Jarl Briones', + role: 'Former GDSC USLS Lead', + message: + 'GDSC - USLS has been instrumental in my growth, helping me tap into my potential and drive positive change within our community.', + }, + { + name: 'Gian Aibo Boyero', + role: 'GDGOC USLS Lead', + message: + "GDGOC is an extraordinary community of talented and dedicated individuals who constantly strive to learn, grow and achieve their goals. I am so grateful to be a part of this community, and I know that I'm learning, growing every day, and had limitless opportunities because of what they have established.", + }, + { + name: 'Joseph Dale Bañares', + role: 'Former Chief Technology Officer', + message: + 'GDSC has provided me with invaluable experiences, opportunities, and connections, and has allowed me to grow both technically and socially within a supportive community of passionate learners.', + }, + { + name: 'Lhiam Andrei Lingco', + role: 'Web Developer Lead', + message: + 'GDGOC has been a great platform for me to enhance my skills, collaborate with amazing individuals, and contribute to impactful projects that inspire growth and innovation.', + }, + { + name: 'John Roland Octavio', + role: 'Chief Technology Officer `24-26', + message: + 'GDG-USLS gave me the chance to enhance my technical skills, bond with like-minded individuals, and grow into a better person overall.', + }, + { + name: 'Josh Daniel Bañares', + role: 'Former Chief Technology Officer', + message: + 'GDSC has been a catalyst for my personal growth. It has enabled me to connect with exceptional individuals, learn critical skills, and grow as a person.', + }, + ]; + export const markdown = { solcha: ` # GDSC Solutions Challenge 2023