Open mehdibo opened 4 years ago
Can I hop on this?
@hi-matbub Of course! Thank you
@mehdibo I'm trying to learn Paseto.js on the fly to see an output but am having trouble with the hex key. Anyway I could get some sample data to run through the form?
You can have this one:
v2.local.b1-e8XH4OGbIa7YOflT8Fy9ukWQuwiJ20imvQDyotK8YaSQxDxPPabSvd8fqCpUVmN26togRUynK_CFlXj-oswzDWi79vzwVf1rfKwB23xjCBQRblDnp1G_xhUx19g6qQ-nD2bBIiwAJffDp-mbZX_xdqN_-_UVl0Bx3DaQA3MYIVIVM6HMgPbl7Xg
and the secret is:
d81dd3a8495015d5cf5550ffa9485c0ba1adfbe85cd1ce1b66fba15294612152
Mind if I switch the order of the output and button like so?
<button type={"submit"}>Decode</button>
<br />
<ReactJsonSyntaxHighlighter obj={payload} />
Imo It feels more natural to see the response render below the button
Yeah, go ahead. The main purpose of this issue is to turn the UI into an organised one, this is my first usage of Next js, I'm more of a backend guy.
Do whatever you think will make the ui look better.
Provide a better design