Skip to content

Commit

Permalink
chore: add site open icon
Browse files Browse the repository at this point in the history
  • Loading branch information
marcellmueller committed Dec 20, 2024
1 parent f160105 commit cdde002
Show file tree
Hide file tree
Showing 4 changed files with 22 additions and 4 deletions.
19 changes: 17 additions & 2 deletions frontend/src/components/RecResource/RecResource.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,8 @@ import {
ThingsToDo,
} from '@/components/RecResource';
import PageMenu from '@/components/PageMenu';
import locationDot from '@/assets/fontAwesomeIcons/location-dot.svg';
import locationDot from '@/images/fontAwesomeIcons/location-dot.svg';
import blueStatus from '@/images/icons/blue-status.svg';
import '@/styles/components/RecResource.scss';

interface RecResourceProps {
Expand Down Expand Up @@ -117,9 +118,23 @@ const RecResource = () => {
</div>
</div>
<div className="icon-container">
<img alt="Location dot icon" src={locationDot} width={16} />{' '}
<img
alt="Location dot icon"
src={locationDot}
height={24}
width={24}
/>{' '}
<span>{site_location}</span>
</div>
<div className="icon-container">
<img
alt="Site open status icon"
src={blueStatus}
height={24}
width={24}
/>{' '}
<span>Open (Placeholder)</span>
</div>
</section>
</div>
</div>
Expand Down
4 changes: 4 additions & 0 deletions frontend/src/images/icons/blue-status.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
3 changes: 1 addition & 2 deletions frontend/src/styles/components/RecResource.scss
Original file line number Diff line number Diff line change
Expand Up @@ -33,8 +33,7 @@
display: flex;
justify-content: flex-start;
align-items: center;
margin-top: 16px;
margin-bottom: 32px;
margin: 24px 0;

& span {
margin-left: 8px;
Expand Down

0 comments on commit cdde002

Please sign in to comment.