Skip to content

Commit

Permalink
feat: update TitleLogos. Unify logos size
Browse files Browse the repository at this point in the history
  • Loading branch information
DiogoSoaress committed Oct 24, 2023
1 parent 8fcb903 commit 51c0490
Show file tree
Hide file tree
Showing 12 changed files with 47 additions and 44 deletions.
3 changes: 0 additions & 3 deletions public/images/discord-icon-28x28.svg

This file was deleted.

File renamed without changes
3 changes: 0 additions & 3 deletions public/images/discourse-icon-56x56.svg

This file was deleted.

18 changes: 9 additions & 9 deletions public/images/github-icon.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
4 changes: 0 additions & 4 deletions public/images/mirror-icon-28x28.svg

This file was deleted.

File renamed without changes
3 changes: 0 additions & 3 deletions public/images/twitter-icon-28x28.svg

This file was deleted.

3 changes: 0 additions & 3 deletions public/images/twitter-icon-56x56.svg

This file was deleted.

4 changes: 2 additions & 2 deletions public/images/x-icon.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
4 changes: 2 additions & 2 deletions public/images/youtube-icon.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
6 changes: 3 additions & 3 deletions src/components/Governance/Delegates/index.tsx
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import { Avatar, Container, Grid, IconButton, SvgIcon, Typography } from '@mui/material'
import React from 'react'
import TwitterIcon from '@/public/images/twitter-icon-28x28.svg'
import DiscordIcon from '@/public/images/discord-icon-28x28.svg'
import XIcon from '@/public/images/x-icon.svg'
import DiscordIcon from '@/public/images/discord-icon.svg'
import css from './styles.module.css'
import type { BaseBlock } from '@/components/Home/types'
import { shortenAddress } from '@/lib/shortenAddress'
Expand Down Expand Up @@ -131,7 +131,7 @@ const DelegateCard = (props: Delegate) => (
<div className={css.socials}>
{props.twitter && (
<IconButton aria-label="Twitter link" href={props.twitter} target="_blank" rel="noreferrer" size="small">
<SvgIcon component={TwitterIcon} fontSize="inherit" color="inherit" inheritViewBox />
<SvgIcon component={XIcon} fontSize="inherit" color="inherit" inheritViewBox />
</IconButton>
)}
{props.discord && (
Expand Down
43 changes: 31 additions & 12 deletions src/content/governance.json
Original file line number Diff line number Diff line change
Expand Up @@ -184,38 +184,56 @@
"items": [
{
"link": {
"href": "https://safe.mirror.xyz/"
"href": "https://x.com/safe"
},
"image": {
"src": "/images/mirror-icon-56x56.svg",
"alt": "Mirror link"
"src": "/images/x-icon.svg",
"alt": "X page"
}
},
{
"link": {
"href": "https://forum.safe.global/"
"href": "https://forum.safe.global"
},
"image": {
"src": "/images/discourse-icon-56x56.svg",
"alt": "Discourse link"
"src": "/images/discourse-icon.svg",
"alt": "Discourse forum"
}
},
{
"link": {
"href": "https://chat.safe.global"
},
"image": {
"src": "/images/discord-icon-56x56.svg",
"alt": "Discord link"
"src": "/images/discord-icon.svg",
"alt": "Discord server"
}
},
{
"link": {
"href": "https://twitter.com/safe"
"href": "https://www.youtube.com/@safeglobal"
},
"image": {
"src": "/images/twitter-icon-56x56.svg",
"alt": "Twitter link"
"src": "/images/youtube-icon.svg",
"alt": "Youtube channel"
}
},
{
"link": {
"href": "https://safe.mirror.xyz"
},
"image": {
"src": "/images/mirror-icon.svg",
"alt": "Mirror blog"
}
},
{
"link": {
"href": "https://github.com/safe-global"
},
"image": {
"src": "/images/github-icon.svg",
"alt": "GitHub organization"
}
}
]
Expand All @@ -229,7 +247,8 @@
{
"text": "Learn more",
"href": "https://grants.safe.global",
"variant": "button"
"variant": "button",
"color": "secondary"
}
],
"image": {
Expand Down

0 comments on commit 51c0490

Please sign in to comment.