Style fixes for meme creator

This commit is contained in:
ポール ウェッブ 2018-10-10 11:39:50 -05:00
parent a21db0889a
commit 3fc6a57012
2 changed files with 12 additions and 9 deletions

View file

@ -117,7 +117,9 @@ module.exports = exports = (data, socket) => {
publishResponse.result.claim_address publishResponse.result.claim_address
) explorerNotice = ` ) explorerNotice = `
<p class="playground__description success"> <p class="playground__description success">
Nicely done, you've published to <b>lbry://${publishResponse.result.lbrytech_claim_name}</b>! To see Proof of Work (lol) that your meme is on the LBRY blockchain, <a href="https://explorer.lbry.io/address/${publishResponse.result.claim_address}" rel="noopener noreferrer" target="_blank" title="Your meme, on our blockchain explorer">check it out</a> on our blockchain explorer! Please note that it may take a couple minutes for the transaction to be confirmed. Nicely done, you've published to <code>lbry://${publishResponse.result.lbrytech_claim_name}</code>.
<br/><br/>
To see Proof of Work (lol) that your meme is on the LBRY blockchain, <a href="https://explorer.lbry.io/address/${publishResponse.result.claim_address}" rel="noopener noreferrer" target="_blank" title="Your meme, on our blockchain explorer">check it out</a> on our blockchain explorer! Please note that it may take a couple minutes for the transaction to be confirmed.
<br/><br/> <br/><br/>
You can also check out your meme (once the transaction is confirmed) on <a href="https://open.lbry.io/${publishResponse.result.lbrytech_claim_name}#${publishResponse.result.claim_id}" rel="noopener noreferrer" target="_blank" title="Your meme, on LBRY">LBRY</a> or <a href="https://spee.ch/${publishResponse.result.claim_id}/${publishResponse.result.lbrytech_claim_name}" rel="noopener noreferrer" target="_blank" title="Your meme, on spee.ch">Spee.ch</a>! You can also check out your meme (once the transaction is confirmed) on <a href="https://open.lbry.io/${publishResponse.result.lbrytech_claim_name}#${publishResponse.result.claim_id}" rel="noopener noreferrer" target="_blank" title="Your meme, on LBRY">LBRY</a> or <a href="https://spee.ch/${publishResponse.result.claim_id}/${publishResponse.result.lbrytech_claim_name}" rel="noopener noreferrer" target="_blank" title="Your meme, on spee.ch">Spee.ch</a>!
</p> </p>
@ -133,13 +135,6 @@ module.exports = exports = (data, socket) => {
"json" "json"
); );
/*
https://open.lbry.io/Yet--another-test-733dd99009#59b368ed4b616108fe27d308fa8e22602acc762f
https://open.lbry.io/claim_show#adee1be89febd3d89f51581601bca52d75a710a8
You are generating the claim name, so you'd know it. it would be https://open.lbry.io/claim-name#claim_id (claim id comes from the return). You can also run a claim_show with the claim id parameter to get name if that's easier. The spee.ch link would just be https://spee.ch/claimid/claimname
*/
return socket.send(JSON.stringify({ return socket.send(JSON.stringify({
example: data.example, example: data.example,
html: raw(` html: raw(`

View file

@ -222,7 +222,7 @@
} }
.playground__content__meme__editor { .playground__content__meme__editor {
width: 50%; width: 50%; min-height: 50vh;
float: right; float: right;
h2 { h2 {
@ -455,6 +455,14 @@
} }
} }
code {
padding: 2px 5px;
background-color: $black;
border-radius: 0.2rem;
color: $white;
font-size: 0.8rem;
}
a { a {
font-weight: 700; font-weight: 700;
} }