Skip to content

Refactor hero animation, flatten footer, update projects page#15

Merged
At104 merged 5 commits into
masterfrom
intro-fade
Jul 8, 2026
Merged

Refactor hero animation, flatten footer, update projects page#15
At104 merged 5 commits into
masterfrom
intro-fade

Conversation

@At104

@At104 At104 commented Jul 8, 2026

Copy link
Copy Markdown
Owner

No description provided.

@At104 At104 requested a review from Copilot July 8, 2026 04:56
@vercel

vercel Bot commented Jul 8, 2026

Copy link
Copy Markdown
Contributor

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated (UTC)
mcmaster-igem Ready Ready Preview, Comment Jul 8, 2026 3:44pm

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

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 site’s homepage hero animation (moving the “mGEM” wordmark animation to Framer Motion and delaying hero video playback), refreshes content/copy for projects and recruitment, and tightens up some layout and code hygiene (footer spacing + React import cleanup).

Changes:

  • Refactor the Home hero wordmark animation to Framer Motion and gate video playback behind a timed “ready” state.
  • Update static copy/data for Projects and site content (current project title, recruitment messaging, intros).
  • Reduce footer vertical spacing and remove unnecessary React default imports / stray blank lines.

Reviewed changes

Copilot reviewed 17 out of 18 changed files in this pull request and generated 3 comments.

Show a summary per file
File Description
src/pages/Projects.tsx Updates Projects page header copy and section spacing/labeling.
src/pages/OurTeam.tsx Moves JSON typing note to a file-level comment for clarity.
src/lib/content.ts Updates/rewraps static copy, current project title, and recruitment text.
src/globals.css Removes an older reduced-motion override block (leaving the generic reduced-motion rule).
src/components/ui/VideoPlayer.tsx Removes default React import; keeps hooks import only.
src/components/ui/SplitChars.tsx Removes unused default React import.
src/components/ui/SectionHeading.tsx Removes unused default React import.
src/components/ui/Reveal.tsx Removes stray leading blank line in file header.
src/components/ui/Parallax.tsx Removes stray leading blank line in file header.
src/components/ui/PageHeader.tsx Removes stray leading blank line in file header.
src/components/ui/LinkedInIcon.tsx Removes unused default React import and an outdated comment.
src/components/ui/ContainerScroll.tsx Removes stray leading blank line in file header.
src/components/ui/ClientOnly.tsx Removes stray leading blank line in file header.
src/components/layout/Footer.tsx Flattens footer spacing (padding/gaps) to reduce vertical height.
src/components/home/Hero.tsx Refactors hero wordmark animation with Framer Motion; delays hero video playback; removes GSAP wordmark animation.
README.md Replaces Next.js template README with repo-specific docs (stack, commands, structure).
package.json Adds framer-motion dependency.
package-lock.json Locks framer-motion and related packages; updates tslib entry metadata.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Comment thread src/lib/content.ts Outdated
Comment on lines +15 to +20
export const missionIntro =
"mGEM is McMaster University's award-winning synthetic biology research and design team. Each year, with the involvement of students, professors, stakeholders, and the surrounding community, we design and build a synthetic biology project to tackle real-world problems.";
"mGEM is McMaster University's award-winning synthetic \
biology research and design team. \
Each year, with the involvement of students, professors, stakeholders, and the surrounding community, \
biology research and design team. Each year, with the involvement of students, professors, stakeholders, \
and the surrounding community, we design and build a synthetic biology project to tackle real-world problems.";
Comment thread src/components/home/Hero.tsx Outdated
Comment on lines +128 to +131
// Delay video autoplay until the wordmark animation finishes (~1.75 s total)
const [videoReady, setVideoReady] = useState(false);
useEffect(() => {
const t = setTimeout(() => setVideoReady(true), 900);
Comment on lines 40 to +44
src="/Videos/what_is_igemf.mp4"
autoPlay
loop
muted
playsInline
preload="metadata"
preload="auto"

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Pull request overview

Copilot reviewed 17 out of 18 changed files in this pull request and generated 5 comments.

Comment on lines 11 to +15
const [muted, setMuted] = useState(true);
const [paused, setPaused] = useState(false);

// Start playback only after the wordmark animation completes (~1.8 s)
useEffect(() => {

// Three stacked copies of "mGEM": maroon italic / stroke+mirrored / maroon italic.
// The middle row uses .stroke (outlined text) and .reverse-italic (scaleX(-1)) to create a reflected shadow.
// Three stacked "mGEM" rows that flipravel on load.
Comment thread src/lib/content.ts Outdated
Comment thread src/lib/content.ts Outdated
Comment thread README.md Outdated
At104 and others added 2 commits July 8, 2026 11:13
Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>
Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>
@At104 At104 merged commit c19108e into master Jul 8, 2026
2 checks passed
@At104 At104 deleted the intro-fade branch July 8, 2026 15:45
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.

2 participants