Girl-Code-It / Opportunity-Calendar-Frontend

Opportunity Calendar is the one-stop place to refer important opportunites available in tech-space like newly posted jobs, internships, hackathons, tech-conferences, scholarhsips etc.
https://cutt.ly/opportunity-calendar
MIT License
49 stars 88 forks source link

Combine multiple Post Opportunity Forms into One form #254 #261

Closed AyushPradhan9 closed 3 years ago

AyushPradhan9 commented 3 years ago

Description

Changes made: 1) Deleted the specific form from every sections in src/Components/PostOpportunity/sections/.. 2) Created one generic form in src/Components/PostOpportunity/sections/OpportunityForm

Fixed #254

Type of change

Please check options that are relevant to your PR.

Checklist:

vaishali614 commented 3 years ago

@AyushPradhan9 The opportunities are not posted on submit. It's only redirected to view opportunity page. Ideally, it should submit first and then redirect to the view opportunity page. If you're unable to do so, leave it as it was. Don't redirect, but the form must be submitted correctly.

AyushPradhan9 commented 3 years ago

Apologizes, I thought I did the thing right and in a hurry forgot to check whether jobs are being posted or not. Surely will report a PR by tonight if I am able to do the redirect, else will report PR without it. Thank you!