diff --git a/.vscode/settings.json b/.vscode/settings.json index e49faea5..17d04d15 100644 --- a/.vscode/settings.json +++ b/.vscode/settings.json @@ -4,8 +4,8 @@ "editor.formatOnSave": true, "editor.codeActionsOnSave": { "source.organizeImports": "explicit", - "source.fixAll": true, - "source.fixAll.eslint": true + "source.fixAll": "explicit", + "source.fixAll.eslint": "explicit" }, "files.eol": "\n", "editor.formatOnSaveMode": "file", diff --git a/src/common/components/footer/Footer.jsx b/src/common/components/footer/Footer.jsx index 4158bbf5..2696ef40 100644 --- a/src/common/components/footer/Footer.jsx +++ b/src/common/components/footer/Footer.jsx @@ -96,6 +96,14 @@ const whiteButton = { }; export default function Footer() { + const handleConnect = () => { + window.open('https://calendly.com/sokanacollective/lets-connect', '_blank'); + }; + + const handleRequest = () => { + window.open('https://app.edoula.biz/private/form/df49ef9a', '_blank'); + }; + return ( @@ -115,19 +123,44 @@ export default function Footer() { - - + + - + + window.open('https://facebook.com/sokanacollective', '_blank') + } + > - + + window.open('https://instagram.com/sokanacollective', '_blank') + } + > - + window.open('mailto:info@sokanacollective.org')} + > - + + window.open( + 'https://linkedin.com/company/sokanacollective', + '_blank' + ) + } + > @@ -139,11 +172,22 @@ export default function Footer() { Sokana Collective is a 501c3 non profit organization EIN: 93-4646850 - logo +
+ + window.open('https://app.candid.org/profile/15248996', '_blank') + } + > + logo + window.open('https://app.candid.org/profile/15248996', '_blank') + } + /> + +
); } diff --git a/src/pages/home/components/HomeDoulaProgram.jsx b/src/pages/home/components/HomeDoulaProgram.jsx index 3c5d5d17..9cfd459f 100644 --- a/src/pages/home/components/HomeDoulaProgram.jsx +++ b/src/pages/home/components/HomeDoulaProgram.jsx @@ -14,6 +14,17 @@ const TealButton = { }; export default function HomeDoulaProgram() { + const handleLearnMore = () => { + window.open( + 'https://www.siumed.edu/fcm/illinois-medicaid-certified-doula-program', + '_blank' + ); + }; + + const handleRequiredTrainings = () => { + window.open('https://sokanacollective.as.me/schedule/2268a87e', '_blank'); + }; + return (
@@ -33,8 +44,16 @@ export default function HomeDoulaProgram() {
- - + +
); diff --git a/src/pages/home/components/HomeIntro.css b/src/pages/home/components/HomeIntro.css index d0d9677f..12f4bc3e 100644 --- a/src/pages/home/components/HomeIntro.css +++ b/src/pages/home/components/HomeIntro.css @@ -12,10 +12,8 @@ .buttondiv { padding-top: 72px; - display: grid; - grid-template-columns: 1fr 1fr; - grid-template-rows: 1fr 1fr; - gap: 48px 72px; + display: flex; + gap: 72px; @media screen and (max-width: 768px) { padding-top: 32px; diff --git a/src/pages/home/components/HomeIntro.jsx b/src/pages/home/components/HomeIntro.jsx index a36d85a6..090e3c72 100644 --- a/src/pages/home/components/HomeIntro.jsx +++ b/src/pages/home/components/HomeIntro.jsx @@ -1,5 +1,7 @@ import React from 'react'; +import { useNavigate } from 'react-router-dom'; + import GenericButton from 'common/components/GenericButton'; import './HomeIntro.css'; @@ -13,6 +15,19 @@ const TealButton = { }; export default function HomeIntro() { + const navigate = useNavigate(); + + const handleCertification = () => { + window.open( + 'https://www.sokanacollective.com/what-you-will-lean', + '_blank' + ); + }; + + const handleAllCourses = () => { + navigate('/courses'); + }; + return (

@@ -26,13 +41,13 @@ export default function HomeIntro() { - -

);