Skip to content

New frontpage - #54

Merged
Jfhseh merged 3 commits into
mainfrom
migrate-new-homepage
Jul 21, 2026
Merged

New frontpage#54
Jfhseh merged 3 commits into
mainfrom
migrate-new-homepage

Conversation

@joeeliang

Copy link
Copy Markdown
Collaborator

No description provided.

@cloudflare-workers-and-pages

cloudflare-workers-and-pages Bot commented Jul 19, 2026

Copy link
Copy Markdown

Deploying branding with  Cloudflare Pages  Cloudflare Pages

Latest commit: 19a4571
Status: ✅  Deploy successful!
Preview URL: https://037655af.branding-c2r.pages.dev
Branch Preview URL: https://migrate-new-homepage.branding-c2r.pages.dev

View logs

@Jfhseh Jfhseh self-assigned this Jul 21, 2026
@Jfhseh
Jfhseh requested review from Jfhseh and Copilot July 21, 2026 03:09

@Jfhseh Jfhseh 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.

LGTM!

@Jfhseh
Jfhseh merged commit 8695552 into main Jul 21, 2026
2 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 replaces the existing front page with a new, highly animated “moon landing” landing page experience for HackHarvard 2026, including updated hero/section layout, client-side parallax/scroll behavior, and supporting styles/assets references.

Changes:

  • Rebuilt src/routes/+page.svelte into a single-page “New frontpage” implementation with custom scroll/parallax animation, new navigation, and extensive component-scoped styling.
  • Updated the viewport meta tag to include initial-scale=1.
  • Added a newsite/ ignore rule (which currently affects static/newsite/... asset tracking semantics).

Reviewed changes

Copilot reviewed 2 out of 25 changed files in this pull request and generated 3 comments.

File Description
src/routes/+page.svelte Replaces the previous section-based homepage with a new animated/parallax front page, inline markup, and styles.
src/app.html Adjusts viewport meta for better mobile scaling behavior.
.gitignore Adds an ignore rule for newsite/ (currently impacts how /newsite/assets/... static assets may be tracked).

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

Comment thread src/routes/+page.svelte
Comment on lines +426 to +445
document.querySelectorAll(".site-nav a[href^='#']").forEach((link) => {
link.addEventListener("click", (event) => {
const href = link.getAttribute("href");

if (!href || href === "#") {
event.preventDefault();
return;
}

const target = document.querySelector(href);

if (!target || !layers.about.contains(target)) {
return;
}

event.preventDefault();
scrollToSceneSection(target);
history.replaceState(null, "", href);
});
});
Comment thread src/routes/+page.svelte
Comment on lines +458 to +462
return () => {
faqDetails.forEach((details) => {
details.removeEventListener("toggle", refreshAfterContentToggle);
});
window.removeEventListener("scroll", requestTick);
Comment thread src/routes/+page.svelte
Comment on lines +380 to +383
if (!prefersReducedMotion.matches) {
requestTick();
}
}
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