Skip to content

Commit

Permalink
imported logo as svg
Browse files Browse the repository at this point in the history
  • Loading branch information
gaurikam2003 committed Aug 24, 2024
1 parent d482d51 commit 79a5c7d
Show file tree
Hide file tree
Showing 3 changed files with 26 additions and 28 deletions.
Binary file not shown.
1 change: 1 addition & 0 deletions client/src/assets/misc/bsologo.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
53 changes: 25 additions & 28 deletions client/src/pages/Home/Home.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -24,8 +24,8 @@ import { Header } from '../../components/text/Header/Header';
import { otherEventsData } from './otherevents';

import ProgressiveImage from '../../components/progressiveImg/ProgressiveImg';
import studentlogo from 'src/assets/misc/blackstudentorientationlogo.png';
import facultylogo from '../../assets/misc/facultylogo.png';
import bsologo from '../../assets/misc/bsologo.svg';

const PageHome = () => {
return (
Expand All @@ -34,7 +34,6 @@ const PageHome = () => {
<HomePageTimeline />
<HomePageSchedule />
<PageAbout />
{/* <HomePageBlackStudentOrientation /> */}
<HomePageSponsors />
</>
);
Expand Down Expand Up @@ -229,34 +228,32 @@ const PageAbout = () => {

const AboutUsSection = () => {
return (
<div id="other-events">
<Header text="OTHER EVENTS">
<>
{otherEventsData.map((info, index) => {
return (
<div className="otherevents-subsubcontainer" key={info.title}>
<div className="otherevents-image-container">
<LazyLoadImage
className="otherevents-image"
src={index === 0 ? studentlogo : facultylogo}
alt={info.title}
></LazyLoadImage>
</div>
<div className="otherevents-info-container" key={info.title}>
<div className="otherevents-info">
<h2 className="otherevents-info-title">{info.title}</h2>
<p
className="otherevents-info-des"
dangerouslySetInnerHTML={{ __html: info.description }}
></p>
</div>
<Header text="OTHER EVENTS">
<>
{otherEventsData.map((info, index) => {
return (
<div className="otherevents-subsubcontainer" key={info.title}>
<div className="otherevents-image-container">
<LazyLoadImage
className="otherevents-image"
src={index === 0 ? bsologo : facultylogo}
alt={info.title}
></LazyLoadImage>
</div>
<div className="otherevents-info-container" key={info.title}>
<div className="otherevents-info">
<h2 className="otherevents-info-title">{info.title}</h2>
<p
className="otherevents-info-des"
dangerouslySetInnerHTML={{ __html: info.description }}
></p>
</div>
</div>
);
})}
</>
</Header>
</div>
</div>
);
})}
</>
</Header>
);
};

Expand Down

0 comments on commit 79a5c7d

Please sign in to comment.