Skip to content

Migrating data to a CMS for accessibility #5

Description

@BryanPan342

[Use Case]
As this project grows, I think it will be more important to have the contents of the site be edited by anyone.

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

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions