-
Notifications
You must be signed in to change notification settings - Fork 17
add new event #25
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
add new event #25
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change | ||||
|---|---|---|---|---|---|---|
|
|
@@ -52,14 +52,26 @@ const Events = () => { | |||||
| </div> | ||||||
| </CardContent> | ||||||
| <CardFooter> | ||||||
| <Button | ||||||
| onClick={() => router.push(`/events/${event.event}`)} | ||||||
| className="explore-button w-full" | ||||||
| variant="outline" | ||||||
| > | ||||||
| Explore | ||||||
| </Button> | ||||||
| </CardFooter> | ||||||
|
|
||||||
| {event.event === "CodeArena 26" && ( | ||||||
| <Button | ||||||
| onClick={() => window.open("https://your-apply-link.com")} | ||||||
| className="explore-button w-full" | ||||||
| variant="outline" | ||||||
| > | ||||||
| Apply Now | ||||||
| </Button> | ||||||
| )} | ||||||
|
Comment on lines
+56
to
+64
|
||||||
|
|
||||||
| <Button | ||||||
| onClick={() => router.push(`/events/${event.event}`)} | ||||||
|
||||||
| onClick={() => router.push(`/events/${event.event}`)} | |
| onClick={() => router.push(`/events/${encodeURIComponent(event.event)}`)} |
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -93,5 +93,14 @@ | |
| "long_date": "Coming soon..", | ||
| "long_desc": "An Intern Talk is an event organized by a society where current interns and recent graduates share their experiences, insights, and advice on navigating the world of internships and early-career opportunities. This event provides a platform for interns to discuss their internship journeys, challenges faced, lessons learned, and tips for success. Attendees will hear from a diverse panel of speakers who have completed internships in various industries, companies, and roles, offering valuable perspectives and practical advice. The Intern Talk covers topics such as finding internships, preparing for interviews, adapting to new work environments, building professional relationships, and making the most of internship experiences. Participants will have the opportunity to ask questions, engage in discussions, and connect with peers who are embarking on their internship journeys. Whether you are a student seeking internship opportunities or an intern looking to enhance your skills, the Intern Talk offers valuable insights and guidance to help you navigate the internship landscape and kickstart your career. Join us for an informative and inspiring event that empowers interns to thrive in their professional development journey.", | ||
| "event_type": "Virtual Event" | ||
| }, | ||
| { | ||
| "event": "CodeArena 26", | ||
| "image": "", | ||
| "date": "2026-04-15", | ||
| "desc": "The Ultimate Competitive Programming Battle", | ||
| "long_date": "April 15, 2026", | ||
| "long_desc": "", | ||
| "event_type": "" | ||
|
Comment on lines
+98
to
+104
|
||
| } | ||
| ] | ||
| ] | ||
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.
window.open("https://your-apply-link.com")looks like a placeholder and will ship a non-functional CTA. Also consider opening withnoopener,noreferrer(or using a normal link component) to avoid reverse-tabnabbing issues when opening external sites.