-
Notifications
You must be signed in to change notification settings - Fork 6
Open
Description
[Use Case]
As this project grows, I think it will be more important to have the contents of the site be edited by anyone.
Lines 1 to 17 in cb1af1f
| import { Language, Project } from '../util'; | |
| // TODO(mattxwang): do we need this to be an array? | |
| // a map? etc. | |
| const projects: Array<Project> = [ | |
| { | |
| name: 'Buffer Buffet', | |
| description: 'All of our projects are open-source! Literally, all of them.', | |
| repo: 'https://github.com/uclaacm/buffer-buffet', | |
| link: 'https://bufferbuffet.uclaacm.com/', | |
| image: '/projects/buffer-buffet.png', | |
| alt: 'buffer buffet landing splash', | |
| lang: Language.JS, | |
| tech: [ | |
| 'react', 'x86', | |
| ], | |
| }, |
I believe these contents can be integrated into a CMS like Contentful, Netlify CMS, or Strapi. It would make it easier for committees to edit the site AND wouldn't require cluttered PR's that's soul purpose is changing site content.
[Proposed Solution]
- Migrate data to CMS
- call data in
getStaticProps - pass projects data to page
Metadata
Metadata
Assignees
Labels
No labels