0
Fork 0
mirror of https://github.com/TryGhost/Ghost.git synced 2025-02-24 23:48:13 -05:00

Fixed NFT card to appear only when alpha flag is turned on

This commit is contained in:
Peter Zimon 2021-11-10 14:23:16 +01:00
parent 1c6ee2abca
commit 67361524e0
2 changed files with 7 additions and 1 deletions

View file

@ -266,7 +266,8 @@ export const CARD_MENU = [
matches: ['nft', 'opensea'],
type: 'card',
replaceArg: 'embed',
params: ['url']
params: ['url'],
feature: 'nftCard'
},
{
label: 'Other...',

View file

@ -0,0 +1,5 @@
<svg width="24" height="24" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg">
<g clip-path="url(#clip0_98:91)">
<path d="M3.77923 9.625H1.875C1.54348 9.625 1.22554 9.4933 0.991117 9.25888C0.756696 9.02446 0.625 8.70652 0.625 8.375V1.875C0.625 1.54348 0.756696 1.22554 0.991117 0.991117C1.22554 0.756696 1.54348 0.625 1.875 0.625H16.875C17.2065 0.625 17.5245 0.756696 17.7589 0.991117C17.9933 1.22554 18.125 1.54348 18.125 1.875V8.375C18.125 8.70652 17.9933 9.02446 17.7589 9.25888C17.5245 9.4933 17.2065 9.625 16.875 9.625" stroke="#BDC5CC" stroke-width="1" stroke-linecap="round" stroke-linejoin="round"/>
<path d="M5.98541 8.36629L9.43183 16.7363C9.45754 16.7987 9.49825 16.8537 9.55033 16.8965C9.60241 16.9393 9.66426 16.9686 9.73039 16.9818C9.79651 16.995 9.86487 16.9917 9.92939 16.9721C9.99392 16.9525 10.0526 16.9173 10.1003 16.8696L11.6034 15.2469L13.6602 17.3598C13.7372 17.4364 13.8413 17.4794 13.9499 17.4794C14.0585 17.4794 14.1627 17.4364 14.2396 17.3598L15.5131 16.0859C15.5512 16.0478 15.5813 16.0027 15.6019 15.953C15.6225 15.9033 15.6332 15.85 15.6332 15.7962C15.6332 15.7424 15.6225 15.6891 15.6019 15.6394C15.5813 15.5897 15.5512 15.5445 15.5131 15.5065L13.3966 13.4703L15.0233 11.9465C15.071 11.8988 15.1062 11.8401 15.1257 11.7755C15.1453 11.711 15.1486 11.6426 15.1353 11.5765C15.1221 11.5104 15.0927 11.4485 15.0499 11.3965C15.007 11.3444 14.9519 11.3037 14.8895 11.2781L6.52004 7.83167C6.44528 7.8009 6.36308 7.79294 6.2838 7.8088C6.20453 7.82467 6.13172 7.86364 6.07455 7.9208C6.01738 7.97797 5.97841 8.05078 5.96255 8.13006C5.94669 8.20933 5.95464 8.29153 5.98541 8.36629Z" stroke="#BDC5CC" stroke-width="1" stroke-linecap="round" stroke-linejoin="round"/>
</g></svg>

After

Width:  |  Height:  |  Size: 1.7 KiB