bldg14 / eventual

A simple event calendar
https://eventual-client.fly.dev
MIT License
0 stars 0 forks source link

Create a component that can add a new event #21

Open kevinfalting opened 1 year ago

kevinfalting commented 1 year ago

We want the ability for anyone to submit a new event and we'll need a new component for that. Let's try to design the component so that it can be used for both submitting a new event, and updating an existing event.

There is no api endpoint to hit for this yet, so you'll need to stub your own data.

You can refer to the Figma for an outline of what we were originally thinking.

Start with an event form that has the following fields:

  1. Title - string
  2. Start - timestamp
  3. End - timestamp
  4. Description - string
  5. URL - string (optional)
  6. Email - string

For now, this event form can live above the list of events from the server. Eventually we'll make it nicer by collapsing it or moving it to it's own page. Let's get it working, then we'll make it right.