mirror of
https://github.com/System-End/site.git
synced 2026-04-19 22:05:11 +00:00
Merge pull request #917 from hackclub/fixes-and-stuff
Fix organization modals without logos on /hcb/climate
This commit is contained in:
commit
ce349481d9
1 changed files with 13 additions and 11 deletions
|
|
@ -610,17 +610,19 @@ export default function ClimatePage({ rawOrganizations, pageRegion }) {
|
|||
justifyContent: 'start'
|
||||
}}
|
||||
>
|
||||
<img
|
||||
alt={`${modalOrganization.name}'s logo`}
|
||||
src={modalOrganization.branding.logo}
|
||||
sx={{
|
||||
width: '100px',
|
||||
height: '100px',
|
||||
borderRadius: '8px',
|
||||
marginRight: [0, 4, 4],
|
||||
boxShadow: '0px 0px 45px 0px rgba(0, 0, 0, 0.72)'
|
||||
}}
|
||||
/>
|
||||
{modalOrganization.branding.logo &&
|
||||
<img
|
||||
alt={`${modalOrganization.name}'s logo`}
|
||||
src={modalOrganization.branding.logo}
|
||||
sx={{
|
||||
width: '100px',
|
||||
height: '100px',
|
||||
borderRadius: '8px',
|
||||
marginRight: [0, 4, 4],
|
||||
boxShadow: '0px 0px 45px 0px rgba(0, 0, 0, 0.72)'
|
||||
}}
|
||||
/>
|
||||
}
|
||||
<Text
|
||||
variant="title"
|
||||
sx={{
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue