interledger / interledger.github.io

🙅 Even earlier version of Interledger website
38 stars 38 forks source link

Review code samples on home page #66

Closed michielbdejong closed 6 years ago

michielbdejong commented 6 years ago

The code samples on the home page use import so they won't work in nodejs. I also can't see how they would work in the browser. When you click 'Try it out', you get pointed to ilp-kit, and we know from the questions people ask in gitter, that the ilp-kit API is what most developers focus on.

As we start merging the tutorials, we should probably remove the code samples from the interledger.org homepage, and point to the Letter Shop tutorial instead?

michielbdejong commented 6 years ago

@adrianhopebailie what do you think? Shall I prepare a PR for that?

bsteinlo commented 6 years ago

@michielbdejong could I request that you post a preview of this on a forked gh-pages so I can visually check it out? We made the visual on the right correspond to the height and everything of the code samples, so I just want to make sure it doesn't break. Thanks!

michielbdejong commented 6 years ago

Maybe we can keep the teaser snippets on there, but when people click 'Try it out' we then send them to https://interledger.org/tutorials/letter-shop?

emschwartz commented 6 years ago

I agree we should update the snippets sometime in the near future. Maybe we should wait until we figure out the ilp-plugin thing and possibly @justmoon's ILP Quickstart thing. Once the tutorials are ready to go I think it would be a good idea to link them from there

bsteinlo commented 6 years ago

I like the idea of keeping the snippets (which maintains the design) and then sending them to the tutorial when clicking "Try it out". Then we can update the snippets when ready.

Ben Stein-Lobovits Lead Web & Analytics Engineer | Ripple ben@ripple.com | ripple.com

On Wed, Oct 4, 2017 at 8:53 AM, Evan Schwartz notifications@github.com wrote:

I agree we should update the snippets sometime in the near future. Maybe we should wait until we figure out the ilp-plugin thing and possibly @justmoon https://github.com/justmoon's ILP Quickstart thing. Once the tutorials are ready to go I think it would be a good idea to link them from there

— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/interledger/interledger.github.io/issues/66#issuecomment-334202260, or mute the thread https://github.com/notifications/unsubscribe-auth/AHnm2fcrVpYvu2mvtmjQAMyY8VQ2z5xuks5so6n4gaJpZM4Pq6y2 .

adrianhopebailie commented 6 years ago

+1

michielbdejong commented 6 years ago

Done, see https://interledger.org/