Skip to content

Conversation

@webrdaniel
Copy link
Contributor

@webrdaniel webrdaniel commented Nov 19, 2025

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.

  • Hero:
    • Add HeroPromotion component (badge/label/arrow link) with new styles in src/components/Hero/styles.module.css.
    • Extend Hero with optional promotion prop and render it above heading.
    • CSS: introduce promotion styles; adjust responsive constraints on .heroBannerContent.
  • Homepage:
    • Use Hero promotion to link to the Apify $1M Challenge; minor text formatting updates in src/pages/index.tsx.
  • Text:
    • Add medium weight variants for body/code; narrow prop types for type, size, weight in src/components/Text.tsx.
  • SDK Section:
    • Update Text usage to rely on defaults and muted color in src/components/SdkSection/SdkSection.tsx.

Written by Cursor Bugbot for commit 8da5cec. Configure here.

@webrdaniel webrdaniel added this to the 128th sprint - Web team milestone Nov 19, 2025
@webrdaniel webrdaniel requested a review from Copilot November 19, 2025 09:43
@webrdaniel webrdaniel self-assigned this Nov 19, 2025
@github-actions github-actions bot added the t-web Issues with this label are in the ownership of the web team. label Nov 19, 2025
Copilot finished reviewing on behalf of webrdaniel November 19, 2025 09:45
Copy link
Contributor

Copilot AI left a 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.

@apify-service-account
Copy link

Preview for this PR was built for commit e2a79756 and is ready at https://pr-2099.preview.docs.apify.com!

@apify-service-account
Copy link

Preview for this PR was built for commit 8da5cec6 and is ready at https://pr-2099.preview.docs.apify.com!

@webrdaniel webrdaniel marked this pull request as ready for review November 19, 2025 11:52
Copy link

@cursor cursor bot left a 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

@apify-service-account
Copy link

Preview for this PR was built for commit e4443b4d and is ready at https://pr-2099.preview.docs.apify.com!

@apify-service-account
Copy link

Preview for this PR was built for commit 162fc08e and is ready at https://pr-2099.preview.docs.apify.com!

Copy link
Member

@hanatsai hanatsai left a comment

Choose a reason for hiding this comment

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

Perfect!! thank you :))

@apify-service-account
Copy link

Preview for this PR was built for commit 413520ff and is ready at https://pr-2099.preview.docs.apify.com!

@webrdaniel webrdaniel merged commit bc8264d into master Nov 20, 2025
10 checks passed
@webrdaniel webrdaniel deleted the feat/homepage-hero-actorization-challenge-promotion-banner branch November 20, 2025 10:11
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

t-web Issues with this label are in the ownership of the web team.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Add Actorization challenge banner to homepage

6 participants