mirror of
https://github.com/stronk-dev/LivepeerEvents.git
synced 2025-07-05 10:45:10 +02:00
Even better buttons
This commit is contained in:
parent
eaa0a74973
commit
0cccbdddb5
@ -10,11 +10,11 @@ const Block = (obj) => {
|
|||||||
<a className="selectOrch" style={{ cursor: 'alias' }} target="_blank" rel="noopener noreferrer" href={obj.url}>
|
<a className="selectOrch" style={{ cursor: 'alias' }} target="_blank" rel="noopener noreferrer" href={obj.url}>
|
||||||
<img alt="" src="arb.svg" width="30em" height="30em" />
|
<img alt="" src="arb.svg" width="30em" height="30em" />
|
||||||
</a>
|
</a>
|
||||||
<span className="rowAlignRight elipsText">
|
|
||||||
<a className="selectOrch" style={{ cursor: 'alias' }} target="_blank" rel="noopener noreferrer" href={"https://arbiscan.io/block/" + obj.block}>
|
<a className="selectOrch" style={{ cursor: 'alias' }} target="_blank" rel="noopener noreferrer" href={"https://arbiscan.io/block/" + obj.block}>
|
||||||
🔗{obj.block}
|
<h2 style={{ margin: 0, padding: '0.2em', cursor: 'alias' }}>🔗</h2>
|
||||||
</a>
|
</a>
|
||||||
<p className="darkText">📅{thisDate} - {thisTime.split('.')[0]} </p>
|
<span className="rowAlignRight elipsText">
|
||||||
|
<p className="darkText">UTC 📅{thisDate} - {thisTime.split('.')[0]} </p>
|
||||||
</span>
|
</span>
|
||||||
</div>
|
</div>
|
||||||
)
|
)
|
||||||
|
@ -78,19 +78,25 @@ const EventButton = (obj) => {
|
|||||||
}
|
}
|
||||||
|
|
||||||
return (
|
return (
|
||||||
<div className="stroke" style={{ width: '100%', padding: 0, margin: 0, marginBottom: '1.0em' }}>
|
<div className="stroke" style={{ width: '100%', padding: '0', margin: 0, marginBottom: '1.0em' }}>
|
||||||
{blockNumber}
|
{blockNumber}
|
||||||
<div className="strokeSmollLeft" style={{ borderRadius: "1.2em", backgroundColor: obj.eventObj.eventColour, boxShadow: "5px 8px 5px 4px " + obj.eventObj.eventColour, padding: 0, margin: 0, width: '100%' }}>
|
<div className="strokeSmollLeft" style={{ borderRadius: "1.2em", backgroundColor: obj.eventObj.eventColour, boxShadow: "5px 8px 5px 4px " + obj.eventObj.eventColour, padding: '0', margin: 0, width: '100%' }}>
|
||||||
|
<div className="rowAlignLeft" style={{marginTop: '0.5em'}}>
|
||||||
{eventCaller}
|
{eventCaller}
|
||||||
|
</div>
|
||||||
<div className="row">
|
<div className="row">
|
||||||
<p className="row withWrap" style={{ maxWidth: '61.8%', textAlign: 'justify', padding: '0.5em', border: '0.1em solid rgba(54, 46, 46, 0.1)', boxShadow: "4px 2px 3px 2px rgba(54, 46, 46, 0.1)" }}>
|
<p className="row withWrap" style={{ maxWidth: '61.8%', textAlign: 'justify', padding: '0.5em', border: '0.1em solid rgba(54, 46, 46, 0.1)', boxShadow: "4px 2px 3px 2px rgba(54, 46, 46, 0.1)" }}>
|
||||||
💬 {obj.eventObj.eventDescription}
|
💬 {obj.eventObj.eventDescription}
|
||||||
</p>
|
</p>
|
||||||
</div>
|
</div>
|
||||||
|
<div className="rowAlignLeft">
|
||||||
{eventFrom}
|
{eventFrom}
|
||||||
|
</div>
|
||||||
|
<div className="rowAlignLeft">
|
||||||
{eventTo}
|
{eventTo}
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
</div>
|
||||||
)
|
)
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user