vvidday / orbital-frontend

Frontend for Orbital (CP2106)
https://orbital-frontend-orcin.vercel.app
0 stars 0 forks source link

Embed Tweets #12

Closed vvidday closed 2 years ago

vvidday commented 2 years ago
guowei42 commented 2 years ago

Commit b13f2c6, 4cc4b40

Added Tweet Embed Package Twitter embed changes on selecting answer.

vvidday commented 2 years ago

Image / Video display

Commit 2540c1fa935946e7692ee1c2692c4602536ecec1:

Commit 5d7a24eeea11e7aea0f4069900aff8ed1b730677:

{ account: {accountObj}, post: string id: string choices: [] }

- Now, `id` was removed and `post` is changed into an object containing `media`, an array of URLs:

{ account: {accountObj}, post: { id: string text: string media: string[] } choices: [] }



Commit efefc3f2f4964457756baefabf779cc152354ca2:

- Tweaked `mainDisplay` to display images from new `post` object
- Added a basic custom "slider" to move between images