feat(web): update campus tour video, video player props, and btech and...#294
Merged
Conversation
There was a problem hiding this comment.
Pull request overview
This PR updates the web app’s admissions and homepage media content, including simplifying the B.Tech admissions page structure, adding an additional admissions guideline link, and updating the homepage campus tour video wiring (along with extending the shared VideoPlayer component).
Changes:
- Simplified the B.Tech admissions page by removing the tabbed/scrollspy navigation and consolidating the “B.Tech Admission 2026” link list.
- Added a new SEA/OEA/SII guidelines link to the B.Tech admission notice content.
- Updated homepage campus tour YouTube links and extended
VideoPlayerwithvideoSrc+controlssupport.
Reviewed changes
Copilot reviewed 5 out of 5 changed files in this pull request and generated 4 comments.
Show a summary per file
| File | Description |
|---|---|
| apps/web/src/app/admission/btech/page.tsx | Removes the previous tabbed section structure and renders a single B.Tech admissions links block. |
| apps/web/src/app/admission/btech/AdmissionNotice-component.tsx | Adds a new external guidelines link and adjusts component typing/imports. |
| apps/web/src/app/admission/btech/admissionLinkData.ts | Removes large blocks of unused link data exports/comments, keeping a smaller exported dataset. |
| apps/web/src/app/(home)/video-player.tsx | Adds videoSrc and controls props and changes click/interaction behavior on the <video> element. |
| apps/web/src/app/(home)/info-section.tsx | Updates campus tour link/embed values and removes the appointment dialog from the director card area. |
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
| ]; | ||
|
|
||
| export default function AdmissionNotice() { | ||
| export default function AdmissionNotice(): any { |
| @@ -1,11 +1,13 @@ | |||
| import React from "react"; | |||
Comment on lines
+147
to
+150
| href="https://docs.google.com/document/d/1VMB7NvKJVvlVTA4_EvtELzk9ikDXHH3_7lGwrtoOl3w/edit?usp=sharing" | ||
| target="_blank" | ||
| rel="noreferrer" | ||
| className="font-semibold text-main underline decoration-2 underline-offset-4 hover:text-primary break-all" |
Comment on lines
69
to
+80
| <video | ||
| ref={videoRef} | ||
| src="https://iiitdwd.ac.in/images/orientation.mp4" | ||
| src={videoSrc || "https://iiitdwd.ac.in/images/orientation.mp4"} | ||
| autoPlay={shouldAutoplay} | ||
| muted={isMuted} | ||
| loop | ||
| playsInline | ||
| controls={controls} | ||
| onClick={(e) => { | ||
| e.preventDefault(); | ||
| e.stopPropagation(); | ||
| }} |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
PR Type
What kind of change does this PR introduce?
The GH-Issue (if any)
Closes #
What's new?
feat(web): update campus tour video, video player props, and btech and...
Screenshots
N/A