@@ -4,14 +4,23 @@ import JoinToggle from '@/components/JoinToggle';
44import { roleCards } from '@/constants/VolunteerAndDev/RoleCards' ;
55import groupimage from '/assets/Volunteer/volunteer-group.png' ;
66import { motion } from 'framer-motion' ;
7+ import { developerLinks } from '@/constants/VolunteerAndDev/Links' ;
78import {
89 slideInLeft ,
910 slideInRight ,
1011 slideInBottom ,
1112 cardFadeIn ,
1213} from '@/styles/Animations' ;
14+ import { Link } from 'react-router-dom' ;
1315
1416const Volunteer = ( ) => {
17+ const matrixLink =
18+ developerLinks . find ( ( link ) => link . name . includes ( 'Matrix' ) ) ?. url ||
19+ 'https://matrix.to/#/#sugar:matrix.org' ;
20+ const mailLink =
21+ developerLinks . find ( ( link ) => link . name . includes ( 'Mailing' ) ) ?. url ||
22+ 'https://lists.sugarlabs.org/' ;
23+
1524 return (
1625 < div >
1726 < Header />
@@ -193,9 +202,29 @@ const Volunteer = () => {
193202 < hr className = "w-32 border-t-2 border-gray-400 mx-auto mt-2" />
194203
195204 < p className = "text-lg text-gray-700 font-[Inter] mt-6 leading-relaxed" >
196- Feel free to reach out to express your interest in volunteering via
197- email or Matrix. Alternatively, you may send a direct message to one
198- of our social media channels.
205+ Feel free to reach out to express your interest in volunteering via{ ' ' }
206+ < a
207+ href = { mailLink }
208+ className = "text-blue-500 hover:underline"
209+ target = "_blank"
210+ rel = "noopener noreferrer"
211+ >
212+ email
213+ </ a > { ' ' }
214+ or{ ' ' }
215+ < a
216+ href = { matrixLink }
217+ className = "text-blue-500 hover:underline"
218+ target = "_blank"
219+ rel = "noopener noreferrer"
220+ >
221+ Matrix
222+ </ a >
223+ . Alternatively, you may send{ ' ' }
224+ < Link to = "/contact-us" className = "text-blue-600 hover:underline" >
225+ direct message
226+ </ Link > { ' ' }
227+ to one of our social media channels.
199228 </ p >
200229 </ motion . div >
201230 </ main >
0 commit comments