-
Notifications
You must be signed in to change notification settings - Fork 173
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
Added internship page [GSSoC'23]] #410
base: master
Are you sure you want to change the base?
Conversation
The latest updates on your projects. Learn more about Vercel for Git ↗︎
|
Thank you, @brohithkr, for creating this pull request and contributing to GitHub-ReadMe! 💗 Our review team will thoroughly review the pull request and will reach out to you soon! 😇 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Loook. cool but please fix the test and errors
|
||
export const getServerSideProps = async () => { | ||
const data = await fetch("http://localhost:3000/api/opportunities/fetchOpportunities"); | ||
const result = await data.json(); | ||
return { | ||
props: { | ||
result | ||
} | ||
} | ||
} |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
why? please see the api...if there may be some problem
let i = 0; | ||
const internshipData = [ | ||
{ | ||
"id": i++, | ||
"image": "", | ||
"title": "Software Engineering", | ||
"date": "12 August 2023", |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
for starting card we can have these... but we have to fetch it live... could you please see if any api available. other wise we will populate data from the database.
Added an Internship page and added an Opportunities section in Navbar. Populated the OppCard in internship page using json data.
Pull Request Checklist
Please make sure that your PR meets the following requirements:
Checklist
Please check all applicable boxes and provide any additional information if needed.
Screenshots
Related Issues
The fetchOpportunities api is not working propperly.
Reviewers
@anmode