Skip to content
This repository has been archived by the owner on Aug 26, 2022. It is now read-only.

resources page #588

Merged
merged 4 commits into from
Feb 18, 2021
Merged

resources page #588

merged 4 commits into from
Feb 18, 2021

Conversation

chloetanlimco
Copy link
Contributor

Dashboard Resources Page

  • const resources = [{title: ..., imageUrl: ..., description: ..., slackChannel: ...}, { ... }, { ... }] array that can be easily replaced with a json object that's returned from the backend
  • pngs or images with white backgrounds can be included as image urls
  • if description runs long and cannot fit in the ResourceBlurb div with the button to join the slack channel, blurb is scrollable
  • resources widget keeps everything centered, fits as many in a row as possible (see screenshots)

Screen Shot 2021-02-05 at 12 09 44 AM
Screen Shot 2021-02-05 at 12 09 23 AM

@chloetanlimco chloetanlimco linked an issue Feb 5, 2021 that may be closed by this pull request
@chloetanlimco
Copy link
Contributor Author

o wait ig we should put the actual resources in before we merge into dashboard

@MaxLeiter
Copy link
Contributor

@chloetanlimco I'll have actual links and info on Wednesday when Logistics finishes the packet

@chloetanlimco
Copy link
Contributor Author

image

Frontend
displayed the api urls in the same way as slack channel link
standardized height, since some descriptions were really long and some didn't have any text - scroll to see the overflow

note: we're going to have to change this code a bit to be compatible with prod db - replace "link" with "linke"

Backend
added image_url and slack_channel columns to Apis table

@MaxLeiter MaxLeiter merged commit a9f1785 into dashboard Feb 18, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Resources page
2 participants