-
Notifications
You must be signed in to change notification settings - Fork 51
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
Title + Meta Description and Hackathon List Page Shallow Routing #45
Comments
I am taking up this issue. Can you explain this briefly? |
This issue needs some discussion since the priorities have changed since the issue was opened. Also, the title part was fixed by some commit earlier. I'll post the relevant parts of this issue in some time today for discussion. |
Here are my findings for this issue.
@king-11 @subodhk01 @nishantwrp @m-e-l-u-h-a-n, any corrections or suggestions? |
LGTM. Just one suggestion for point 3. We can also change the url as the tabs change. Ex - /hackathons/?tab=ongoing |
Looks good! |
For solving this issue I think I need to know about next.js. I know js but don't know about next.js can you tell me from where I can learn about it. |
The first four do not require Next.js knowledge as such. You may view the For the last one, you will require Next.js. IMO the best resource for learning Next.js is the official documentation. Some good courses include Frontend Masters (you may need GitHub Student Plan to access it) and The Net Ninja on YouTube. |
Hello @shubhanshu02 |
For the third part, the fifth one shall be completed first. |
When a webpage is rendered (Let's say a hackathon detail page). It renders with the title
hackathon -
after the data is fetched from the backend, the hackathon slug is added to this string. Also, the description in meta is showed as undefined.Update
This issue now deals with the following points:
hackathon/[slug]
./submission/[id]
page, description meta can be the submission's description and some placeholder while loading./hackathons
page, we can change the title as the tabs change. So maybe like "Ongoing Hackathons" instead of "Hackathons" when the ongoing tab is opened./profile
page, we can use the "About Me" of the user as the meta description; the current{User's Name}'s Profile on COPS Hackalog, a platform for organising hackathons
looks kinda irrelevant./hackathons/?tab=ongoing
. For this, we need a controlled tab component. (ref: here)To access the url parameters, we'd need
router.query
, which is already used in some dynamic pages (for reference). Below are the links for documentation:The text was updated successfully, but these errors were encountered: