Skip to content

Conversation

@BradleyMatera
Copy link
Contributor

This adds a working /apply page using the App Router. It’s fully client-side for now and doesn’t connect to any backend — it just alerts the form data on submit.

Form fields:

  • Name
  • Email
  • GitHub profile (manual input only)
  • Role (dropdown)
  • Message

There’s no external API usage. I originally had a GitHub autofill feature but pulled it out to keep the page static-export safe.

Form state is handled with useState, and there's a submit handler already scoped for future POST logic (like /api/apply or whatever backend we use later).

Tested with npm run dev — works fine.
Tried next export, but it failed due to an unrelated type error in [[...slug]]/page.tsx. This file is export-safe if isolated.

Let me know if you want this wired up to a real endpoint, or if I should add more fields or clean anything else up.

– Brad

@netlify
Copy link

netlify bot commented Apr 24, 2025

Deploy Preview for ciris failed. Why did it fail? →

Name Link
🔨 Latest commit 4eb507b
🔍 Latest deploy log https://app.netlify.com/sites/ciris/deploys/6809a614c1d1bb0008828c84

Copy link
Contributor

@ncheaz ncheaz left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The "prompt is not defined" error will be addressed in a separate PR so as to not hold off this change.

@ncheaz ncheaz merged commit 60b8b05 into CIRISAI:main Apr 24, 2025
0 of 4 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants