buidl-labs / crypto-code-school-inside-tezos

Interactive Code School for onboarding newcomers to build DApps on Tezos using SmartPy
https://cryptocodeschool.in/tezos
MIT License
47 stars 20 forks source link

Fix SEO to show up cards on Twitter & other platforms #331

Open harsh242 opened 3 years ago

harsh242 commented 3 years ago

What's the motivation behind the feature? what problem does the feature intend to solve ? Detailed here https://find-signal.slack.com/archives/C01MLEC34CF/p1617264669011100

prastut commented 3 years ago
prastut commented 3 years ago

@bhaskarSingh this is moved to your plate for integration of this service into the platform.

bhaskarSingh commented 3 years ago

Screenshot 2021-04-22 at 1 43 22 PM Since we are loading prerequisites libs required for smartpy compiler. Large load time is gonna be there. Due to which there's an issue with loading the Twitter card.

prastut commented 3 years ago

@bhaskarSingh

Harsh moved this to a next.js service that is running external to the cryptoverse wars code platform.

This is what's happening now or atleast envisioned now:

  1. We have a subdomain on which this next.js service is running. Something along the lines of share.cryptocodeschool.in
  2. It's SEO component will contain all the data of the crypto bots & when someone shares it, it will generate twitter cards
  3. When a user clicks to share link on Twitter, this service get's triggered with the ID of the cryptobot and then link is sent to Twitter autofill.
  4. When somebody on Twitter clicks this link, the service redirects you to the main platform.
harsh242 commented 3 years ago

Repo: https://github.com/harsh242/nextjs-sharable & Opened PR is linked with the issue. Execution Doc of Twitter bot + SEO : https://docs.google.com/document/d/1zX69SbpdkajTdiuQKJMsrQIdq8WuAl8UoX51LKeRTGU/edit#heading=h.cw78a27wxr20