From 35e29df43d7e702418e5941c810b035eccc11f0b Mon Sep 17 00:00:00 2001
From: Akshith <33996844+akshith312@users.noreply.github.com>
Date: Tue, 3 Feb 2026 18:08:08 -0800
Subject: [PATCH] feat: Added icons to the events in activity list
---
.../Activities/ActivityList.jsx | 46 ++++++++++++++-
.../Activities/ActivityList.module.css | 57 +++++++++++++++++++
2 files changed, 101 insertions(+), 2 deletions(-)
diff --git a/src/components/CommunityPortal/Activities/ActivityList.jsx b/src/components/CommunityPortal/Activities/ActivityList.jsx
index 802ab26a4a..a146efa597 100644
--- a/src/components/CommunityPortal/Activities/ActivityList.jsx
+++ b/src/components/CommunityPortal/Activities/ActivityList.jsx
@@ -4,6 +4,15 @@ import { useSelector } from 'react-redux';
import styles from './ActivityList.module.css';
import { mockActivities } from './mockActivities';
// import { useHistory } from 'react-router-dom';
+import {
+ FaTag,
+ FaCalendarAlt,
+ FaMapMarkerAlt,
+ FaDumbbell,
+ FaUsers,
+ FaGraduationCap,
+ FaPalette,
+} from 'react-icons/fa';
function ActivityList() {
const [activities, setActivities] = useState([]);
@@ -102,6 +111,21 @@ function ActivityList() {
setShowSuggestions(false);
};
+ const getTypeIcon = type => {
+ switch (type) {
+ case 'Fitness':
+ return