Skip to content

Commit

Permalink
Merge pull request #48 from Bostonhacks/disable-staging
Browse files Browse the repository at this point in the history
Disable staging
  • Loading branch information
danielyu12 authored Sep 25, 2023
2 parents e1fdad5 + 5dbac2d commit b8ee3f9
Show file tree
Hide file tree
Showing 5 changed files with 2,239 additions and 13 deletions.
2 changes: 1 addition & 1 deletion src/App.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ const router = createBrowserRouter(
<Route path="/">
<Route index element={<LandingPage />} />
<Route path="sponsor" element={<SponsorPage />} />
<Route path="portal" element={<Portal />} />
{/* <Route path="portal" element={<Portal />} /> */}
<Route path="login" element={<Login />} />
<Route path="dashboard" element={<Dashboard />} />
</Route>
Expand Down
14 changes: 8 additions & 6 deletions src/components/ApplicationPageComponents/ApplicationOptions.js
Original file line number Diff line number Diff line change
Expand Up @@ -363,14 +363,16 @@ const majors = [

// Question: Current Education Level.
const educationLevels = [
'Undergraduate Student',
'Graduate Student',
'Post Doctorate',
'Less than Secondary / High School',
'Secondary / High School',
'Undergraduate University (2 year - community college or similar)',
'Undergraduate University (3+ year)',
'Graduate University (Masters, Professional, Doctoral, etc)',
'Code School / Bootcamp',
'Vocational / Trade Program or Apprenticeship',
'Other',
"I'm not currently a student",
'Other Vocational / Trade Program or Apprenticeship',
'Post Doctorate',
'Other ',
'I’m not currently a student',
'Prefer not to answer',
];

Expand Down
2 changes: 1 addition & 1 deletion src/components/LandingPageComponents/ApplyButton.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ const ApplyButton = () => {

return (
<div className="justify-center flex mt-auto z-50 max-sm:scale-75">
<button className="z-50" onClick={handleClick}>
<button className="z-50" onClick={handleClick} disabled>
<img
src={image}
onMouseOver={() => setImage(HoverButtonState)}
Expand Down
10 changes: 5 additions & 5 deletions src/pages/Application.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -115,7 +115,7 @@ const Application = ({ applicationId }) => {
lastName: data.lastName,
formEmail: data.formEmail,
phoneNumber: data.phoneNumber,
dateOfBirth: data.dateOfBirth,
age: data.age,
address: data.address,
city: data.city,
zipCode: data.zipCode,
Expand Down Expand Up @@ -301,12 +301,12 @@ const Application = ({ applicationId }) => {
</div>

<div>
<label className="ml-1 font-bold">Date of Birth</label>
<label className="ml-1 font-bold">Age</label>
<input
type="date"
placeholder="Date of Birth"
type="number"
placeholder="Age"
className="h-10 px-4 w-full bg-[#A79581] placeholder-white text-white shadow-inner shadow-black/25 rounded-xl"
{...register('dateOfBirth', { required: true })}
{...register('age', { required: true })}
/>
</div>

Expand Down
Loading

0 comments on commit b8ee3f9

Please sign in to comment.