-
Notifications
You must be signed in to change notification settings - Fork 139
docs: Homepage hero section - add actorization challenge promotion banner #2099
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
docs: Homepage hero section - add actorization challenge promotion banner #2099
Conversation
There was a problem hiding this comment.
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 adds a promotional banner to the homepage hero section announcing the Apify $1M Challenge. The changes include adding support for a "medium" weight variant to the Text component, implementing a new HeroPromotion component with responsive styling, and updating several Text component usages to use double quotes consistently.
- Adds promotional banner to Hero component with badge, label, and mobile variant support
- Extends Text component to support "medium" weight typography
- Updates quote style consistency from single to double quotes for JSX props in multiple files
Reviewed Changes
Copilot reviewed 5 out of 5 changed files in this pull request and generated 2 comments.
Show a summary per file
| File | Description |
|---|---|
| src/pages/index.tsx | Adds promotion prop to Hero component and updates quote style for Text components |
| src/components/Text.tsx | Adds "medium" weight support to all text variants and converts type definitions from interface to type |
| src/components/Hero/Hero.tsx | Implements HeroPromotion component with promotional banner functionality |
| src/components/Hero/styles.module.css | Adds styling for promotional banner and removes tablet-specific alignment overrides |
| src/components/SdkSection/SdkSection.tsx | Updates Text component to use default size instead of explicit "medium" |
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
|
Preview for this PR was built for commit |
|
Preview for this PR was built for commit |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This PR is being reviewed by Cursor Bugbot
Details
Your team is on the Bugbot Free tier. On this plan, Bugbot will review limited PRs each billing cycle for each member of your team.
To receive Bugbot reviews on all of your PRs, visit the Cursor dashboard to activate Pro and start your 14-day free trial.
Comment @cursor review or bugbot run to trigger another review on this PR
|
Preview for this PR was built for commit |
|
Preview for this PR was built for commit |
hanatsai
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Perfect!! thank you :))
|
Preview for this PR was built for commit |
closes #2095
This PR adds the Actorization challenge promotion banner that leads to the Actorization challenge landing page to the homepage hero section.
Note
Adds a promotional banner to the homepage hero and tightens Text variants/types, with supporting styles and minor content tweaks.
HeroPromotioncomponent (badge/label/arrow link) with new styles insrc/components/Hero/styles.module.css.Herowith optionalpromotionprop and render it above heading..heroBannerContent.Heropromotionto link to the Apify $1M Challenge; minor text formatting updates insrc/pages/index.tsx.mediumweight variants forbody/code; narrow prop types fortype,size,weightinsrc/components/Text.tsx.Textusage to rely on defaults and muted color insrc/components/SdkSection/SdkSection.tsx.Written by Cursor Bugbot for commit 8da5cec. Configure here.