Revert "chore: o7 sleepover"#1991
Merged
transcental merged 1 commit intomainfrom May 4, 2026
Merged
Conversation
This reverts commit 9546f43.
Contributor
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
Contributor
There was a problem hiding this comment.
Pull request overview
This PR reintroduces the “Sleepover” promotion on the homepage by adding it back into the carousel, CTA card list, and the homepage card stack (via a dedicated Sleepover card component).
Changes:
- Add a new
Sleepoverhomepage card component and render it on the index page. - Add “Sleepover” entries to
public/carousel.jsonandlib/cta.jsonso it appears in the carousel and CTA strip.
Reviewed changes
Copilot reviewed 4 out of 4 changed files in this pull request and generated 5 comments.
| File | Description |
|---|---|
public/carousel.json |
Adds a Sleepover carousel card entry (styling, copy, image, link). |
lib/cta.json |
Adds a Sleepover CTA card entry (styling, copy, images, link). |
pages/index.tsx |
Imports and renders the new <Sleepover /> card in the homepage card list. |
components/index/cards/sleepover.tsx |
Introduces the Sleepover homepage card layout, copy, and external links. |
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
| {[ | ||
| 'Spend 30 hours learning to code', | ||
| 'Earn prizes like plushies, iPads, and more!', | ||
| 'Fly to a slumber party themed hackathon in Chicago this April!' |
Comment on lines
+121
to
+126
| <Box | ||
| as="a" | ||
| href="https://sleepover.hackclub.com?utm_source=site_card" | ||
| target="_blank" | ||
| rel="noopener" | ||
| sx={{ display: ['none', 'block', 'block'] }} |
Comment on lines
+145
to
+150
| <Box | ||
| as="a" | ||
| href="https://sleepover.hackclub.com?utm_source=site_card" | ||
| target="_blank" | ||
| rel="noopener" | ||
| sx={{ |
| "titleColor": "#5B4A8A", | ||
| "descriptionColor": "#3D6098", | ||
| "title": "Sleepover", | ||
| "description": "Learn to code, earn prizes like plushies and iPads, and fly out to an all girls slumber party in Chicago!", |
| "logo": "https://cdn.hackclub.com/019c76b7-644a-7ef7-b855-63253c99d2f8/UpZIvQ.png", | ||
| "background": "#B5AAE7", | ||
| "stickerImage": "https://cdn.hackclub.com/019c76b5-f328-725e-9d6d-4f5368685ab5/tNACWw.png", | ||
| "description": "Learn to code and fly to an all girls slumber party hackathon!", |
3kh0
approved these changes
May 4, 2026
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.
Reverts #1990