Skip to content

feat(web): update campus tour video, video player props, and btech and...#294

Merged
PriyanshuMittal0310 merged 3 commits into
mainfrom
dev
Jun 6, 2026
Merged

feat(web): update campus tour video, video player props, and btech and...#294
PriyanshuMittal0310 merged 3 commits into
mainfrom
dev

Conversation

@PriyanshuMittal0310

Copy link
Copy Markdown
Collaborator

PR Type

What kind of change does this PR introduce?

[ ] Bugfix
[x] Feature
[ ] Release
[ ] Code style update (formatting, local variables)
[ ] Refactoring (no functional changes, no api changes)
[ ] Build related changes
[ ] CI related changes
[ ] Documentation content changes
[ ] Tests
[ ] Other

The GH-Issue (if any)

Closes #

What's new?

feat(web): update campus tour video, video player props, and btech and...

Screenshots

N/A

Copilot AI review requested due to automatic review settings June 6, 2026 04:18
@PriyanshuMittal0310 PriyanshuMittal0310 merged commit d88db62 into main Jun 6, 2026
3 checks passed

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

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 VideoPlayer with videoSrc + controls support.

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();
}}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants