Skip to content

Commit

Permalink
Update spl-gov logo and remove isCertified badge (solana-labs#741)
Browse files Browse the repository at this point in the history
* fix: remove certified flag

* chore: add spl-gov logo

* chore: fix build
  • Loading branch information
SebastianBor authored Jun 10, 2022
1 parent 6c4c07d commit af4a8a0
Show file tree
Hide file tree
Showing 3 changed files with 23 additions and 8 deletions.
9 changes: 2 additions & 7 deletions components/RealmHeader.tsx
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
import React from 'react'
import useRealm from 'hooks/useRealm'
import { ChartPieIcon, CogIcon, UsersIcon } from '@heroicons/react/outline'
import { ChevronLeftIcon, BadgeCheckIcon } from '@heroicons/react/solid'
import { ChevronLeftIcon } from '@heroicons/react/solid'
import Link from 'next/link'
import useQueryContext from 'hooks/useQueryContext'
import { ExternalLinkIcon } from '@heroicons/react/outline'
import { getRealmExplorerHost } from 'tools/routing'
import Tooltip from './Tooltip'

import useMembersStore from 'stores/useMembersStore'
import { vsrPluginsPks } from '@hooks/useVotingPlugins'
import { tryParsePublicKey } from '@tools/core/pubkey'
Expand Down Expand Up @@ -58,11 +58,6 @@ const RealmHeader = () => {
)}
<div className="flex items-center">
<h1 className="ml-3">{realmDisplayName}</h1>
{realmInfo?.isCertified ? (
<Tooltip content="Certified DAO">
<BadgeCheckIcon className="cursor-help h-5 ml-1.5 text-green w-5" />
</Tooltip>
) : null}
</div>
</div>
</div>
Expand Down
19 changes: 19 additions & 0 deletions public/realms/Governance/img/spl-governance-logo.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: 2 additions & 1 deletion public/realms/mainnet-beta.json
Original file line number Diff line number Diff line change
Expand Up @@ -144,7 +144,8 @@
"symbol": "Governance",
"displayName": "Governance",
"programId": "GovER5Lthms3bLBqWub97yVrMmEogzX7xNjdXpPPCVZw",
"realmId": "FMEWULPSGR1BKVJK4K7xTjhG23NfYxeAn2bamYgNoUck"
"realmId": "FMEWULPSGR1BKVJK4K7xTjhG23NfYxeAn2bamYgNoUck",
"ogImage": "/realms/Governance/img/spl-governance-logo.svg"
},
{
"symbol": "Yield Farming",
Expand Down

0 comments on commit af4a8a0

Please sign in to comment.