diff --git a/src/APP/components/PodcastCard.jsx b/src/APP/components/PodcastCard.jsx index 9c8be2d2..c7a6238f 100644 --- a/src/APP/components/PodcastCard.jsx +++ b/src/APP/components/PodcastCard.jsx @@ -1,11 +1,14 @@ +import React from "react"; +import PropTypes from "prop-types"; + function PodcastCard({ img, category = "Podcast", title, description, link }) { return ( -
+
podcast -
+
-
+
{category}
@@ -18,3 +21,11 @@ function PodcastCard({ img, category = "Podcast", title, description, link }) { } export default PodcastCard; + +PodcastCard.propTypes = { + img: PropTypes.string.isRequired, + category: PropTypes.string.isRequired, + title: PropTypes.string.isRequired, + description: PropTypes.string.isRequired, + link: PropTypes.number.isRequired, +}; diff --git a/src/APP/pages/community/sections/chaptersSection/ChapterCard.jsx b/src/APP/pages/community/sections/chaptersSection/ChapterCard.jsx index eb0e00ac..407ccc64 100644 --- a/src/APP/pages/community/sections/chaptersSection/ChapterCard.jsx +++ b/src/APP/pages/community/sections/chaptersSection/ChapterCard.jsx @@ -4,25 +4,24 @@ import PropTypes from "prop-types"; function ChapterCard({ id, country, city, name, members, banner }) { return ( -
-

- {name} {city}, {country} -

-

{members} members

- - - +
+ {name} +
+ +
+

+ {name} {city}, {country} +

+

{members} members

+ + + +
); } diff --git a/src/APP/pages/events/pages/EventsPage.jsx b/src/APP/pages/events/pages/EventsPage.jsx index b13d0228..f60db2a4 100644 --- a/src/APP/pages/events/pages/EventsPage.jsx +++ b/src/APP/pages/events/pages/EventsPage.jsx @@ -1,7 +1,7 @@ -import React from 'react'; -import SearchSection from '../sections/SearchSection'; -import EventsSection from '../sections/eventsSection/EventsSection'; -import EventCategory from '../sections/eventsSection/EventCategory'; +import React from "react"; +import SearchSection from "../sections/SearchSection"; +import EventsSection from "../sections/eventsSection/EventsSection"; +import EventCategory from "../sections/eventsSection/EventCategory"; function Events() { return ( @@ -9,9 +9,8 @@ function Events() { -
- ) + ); } -export default Events +export default Events; diff --git a/src/APP/pages/landingPage/sections/HeroSection3.jsx b/src/APP/pages/landingPage/sections/HeroSection3.jsx index 6ce5f234..c1d5c9e5 100644 --- a/src/APP/pages/landingPage/sections/HeroSection3.jsx +++ b/src/APP/pages/landingPage/sections/HeroSection3.jsx @@ -18,51 +18,55 @@ const partners = [ id: 1, img: ctfroom, name: "ctfroom", + link: "https://ctfroom.com/", }, { id: 2, img: DevOps, name: "DevOps", + link: "https://twitter.com/nairobidevops", }, { id: 3, img: Propel, name: "Propel", + link: "https://propel.community/", }, { id: 4, img: moringa, name: "moringa", + link: "https://moringaschool.com/", }, { id: 5, img: chimoney, name: "chimoney", + link: "https://chimoney.io/", }, { id: 6, img: Kushite, name: "Kushite", + link: "https://icpkushite.com/", }, { id: 7, - img: spheron, - name: "spheron", - }, - { - id: 8, img: osca, name: "osca", + link: "https://oscafrica.org/", }, { - id: 9, + id: 8, img: cytonn, name: "cytonn", + link: "#", }, { - id: 10, + id: 9, img: reactke, name: "reactke", + link: "https://www.reactdevske.org/", }, ]; @@ -112,8 +116,10 @@ const HeroSection3 = () => {