Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Endorsement section on landing page #1

Open
dawranliou opened this issue Oct 5, 2019 · 2 comments
Open

Endorsement section on landing page #1

dawranliou opened this issue Oct 5, 2019 · 2 comments
Assignees

Comments

@dawranliou
Copy link
Member

I'd like to propose a feature:

  1. Add an endorsement table in the db. The entries can be as simple as a URL to the twitter status.
  2. Add Admin pages to CRUD the endorsement entries.
  3. Render several entries on the landing page.

At the very least, I think we can have @swlkr, @elamje, and @dawran6 to endorse Coast.

What are your thoughts?

@swlkr
Copy link
Member

swlkr commented Oct 5, 2019

Oh this is a good idea! Could we embed tweets too?

@dawranliou
Copy link
Member Author

dawranliou commented Oct 5, 2019

Yes, from the Twitter Publish, the embed tweet would look like this:

<blockquote class="twitter-tweet">
  <p lang="en" dir="ltr">Scheer looks like an overgrown toddler stuffed in a suit. It&#39;s largely the vacant look on
    his face like that of a child that hasn&#39;t yet learned to form emotions.</p>&mdash; Dmitri Sotnikov ☭⚛ (@yogthos)
  <a href="https://twitter.com/yogthos/status/1180523442711547909?ref_src=twsrc%5Etfw">October 5, 2019</a>
</blockquote>
<script async src="https://platform.twitter.com/widgets.js" charset="utf-8"></script>

So I guess we can put these in the db:

  1. URL
  2. Body
  3. Twitter user name
  4. Date

The alternative is to hardcoded the endorsement tweets in the view instead of putting them in the db.

@swlkr swlkr self-assigned this Jan 29, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants