Invert Tweet button
This commit is contained in:
parent
2937c0d891
commit
758385f044
|
@ -233,7 +233,7 @@ export function ContractDetails(props: {
|
|||
<div className="whitespace-nowrap">{liquidityLabel}</div>
|
||||
</Row>
|
||||
|
||||
<TweetButton className={'self-end'} tweetText={tweetText} />
|
||||
<TweetButton className="self-end" tweetText={tweetText} />
|
||||
</Row>
|
||||
</Col>
|
||||
)
|
||||
|
|
|
@ -9,18 +9,17 @@ export function TweetButton(props: { className?: string; tweetText?: string }) {
|
|||
'btn btn-xs flex flex-row flex-nowrap border-none normal-case',
|
||||
className
|
||||
)}
|
||||
style={{ backgroundColor: '#1da1f2' }}
|
||||
style={{
|
||||
backgroundColor: 'white',
|
||||
border: '2px solid #1da1f2',
|
||||
color: '#1da1f2',
|
||||
}}
|
||||
href={`https://twitter.com/intent/tweet?text=${encodeURIComponent(
|
||||
tweetText ?? ''
|
||||
)}`}
|
||||
target="_blank"
|
||||
>
|
||||
<img
|
||||
className="mr-2"
|
||||
src={'/twitter-icon-white.svg'}
|
||||
width={15}
|
||||
height={15}
|
||||
/>
|
||||
<img className="mr-2" src={'/twitter-logo.svg'} width={15} height={15} />
|
||||
<div>Tweet</div>
|
||||
</a>
|
||||
)
|
||||
|
|
Loading…
Reference in New Issue
Block a user