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

Sponsors Page #3

Open
alexanderl19 opened this issue Jun 13, 2023 · 0 comments
Open

Sponsors Page #3

alexanderl19 opened this issue Jun 13, 2023 · 0 comments
Assignees
Labels
enhancement New feature or request

Comments

@alexanderl19
Copy link
Contributor

alexanderl19 commented Jun 13, 2023

Currently the events page contains details about events, followed by a list of prior sponsors.

Here are some of my thoughts on how we should represent this content in Sanity.

Organization Schema

  • Name
  • Logo (Wordmark)
  • Link

Hackathon Schema

  • Title
  • Attendee Count
  • Link
  • Stats[]
    • Number
    • Is Percentage
    • Label
  • Testimonials[]
    • Text
    • Author
      • Person (Reference)
      • Label?
      • Org?

I think it's necessary to have a separate hackathon schema, since it's probably not great idea to shove these properties into our existing events schema. The content we currently need to store for hackathons doesn't really cleanly fall into that mold.

Also, I'm not quite sure how to represent the author object in testimonials. I think we want the ability to both link testimonials to a person + title (Alex, Mentor) or a person + company (Bob, Google). Not sure if storing it in an object like I have above is optimal.

cc: @samderanova

@alexanderl19 alexanderl19 added this to the Sanity Migration milestone Jun 13, 2023
@alexanderl19 alexanderl19 added the enhancement New feature or request label Jun 13, 2023
@samderanova samderanova self-assigned this Sep 27, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

When branches are created from issues, their pull requests are automatically linked.

2 participants