Skip to content

Commit

Permalink
Merge pull request #358 from manipalutsav/feature-broadcast-and-navbar
Browse files Browse the repository at this point in the history
Feature broadcast and navbar
  • Loading branch information
code-rohitr committed Apr 2, 2024
2 parents b0e4ea6 + 526b147 commit dd16a39
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 5 deletions.
2 changes: 1 addition & 1 deletion src/commons/Header/index.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -107,7 +107,7 @@ const SidebarItems = ({ backupName, backupData }) => {
Feedback
</a>
</li> */}
{/* <SidebarItem to="/stats" title="Stats" /> */}
<SidebarItem to="/stats" title="STATS" />
</ul>
)
};
Expand Down
7 changes: 4 additions & 3 deletions src/components/Index/index.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -210,7 +210,8 @@ export default () => {
}
};
fetchData();
}, []);
console.log(events,"events data")
}, [events]);


return (
Expand All @@ -226,7 +227,7 @@ export default () => {
{/* <div className="festival-live-message">The festival is on!</div> */}
{/* <img className="mucapp" css={{ width: "60%" }} alt="Logo" src={utsavLogo} /> */}

{/* <div className="broadcast-container mt-5 mb-5 overflow-x-auto">
<div className="broadcast-container mt-5 mb-5 overflow-x-auto">
<h4 className="text-left">Upcoming Events ( Today )</h4>
{events.filter(event => {
const eventStartDate = new Date(event.startDate);
Expand Down Expand Up @@ -283,7 +284,7 @@ export default () => {
) : (
<p>No More Events Today</p>
)}
</div> */}
</div>



Expand Down
3 changes: 2 additions & 1 deletion src/components/Stats/index.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -76,7 +76,8 @@ export default class extends React.PureComponent {
}}>
<StatsCard
name="Colleges"
count={this.state.stats.colleges && this.state.stats.colleges.total}
// count={this.state.stats.colleges && this.state.stats.colleges.total}
count={25}
meta={"From " + (this.state.stats.colleges && this.state.stats.colleges.locations) + " locations"}
/>
<StatsCard
Expand Down

0 comments on commit dd16a39

Please sign in to comment.