Skip to content

fix(website): restore Get started section and tighten hero terminal height - #312

Merged
macalbert merged 1 commit into
mainfrom
macalbert/fix/website-getstarted-and-terminal-height
Jun 7, 2026
Merged

fix(website): restore Get started section and tighten hero terminal height#312
macalbert merged 1 commit into
mainfrom
macalbert/fix/website-getstarted-and-terminal-height

Conversation

@macalbert

@macalbert macalbert commented Jun 7, 2026

Copy link
Copy Markdown
Owner

Summary

Fixes two issues reported on the live site after PR #311 was merged: the
hero "Get started" button did nothing, and the hero terminal showed a large
empty dark area below short scenes.

Changes

  • fix(website): re-add the GetStarted component to the en/ca/es home pages.
    The hero button links to #get-started, but the section was not rendered
    on the home page, so the anchor pointed nowhere. The component already
    existed and is fully translated; it was just disconnected from the page.
  • fix(website): reduce the hero terminal min-height from 27em to 21em
    so short scenes (CLI, Node.js, Python, .NET) no longer leave a big empty
    void below the content, which was especially visible on the light theme.

Testing

  • pnpm lint passes
  • Manual verification (clicked the hero "Get started" button locally and
    confirmed it scrolls to the Get started section; checked the reduced
    terminal void across scenes and widths in the browser)

Related

N/A

Summary by CodeRabbit

  • New Features

    • Added "Get Started" section to the homepage across multiple language versions.
  • Style

    • Reduced the minimum height of the hero terminal display area.

…eight

The hero Get started button linked to #get-started but the section was
not rendered on the home page, so the link did nothing. Re-add the
GetStarted component to the en/ca/es home pages.

Also reduce the hero terminal min-height from 27em to 21em so short
scenes no longer leave a large empty dark area below the content.
Copilot AI review requested due to automatic review settings June 7, 2026 11:26
@coderabbitai

coderabbitai Bot commented Jun 7, 2026

Copy link
Copy Markdown
Contributor

Review Change Stack

No actionable comments were generated in the recent review. 🎉

ℹ️ Recent review info
⚙️ Run configuration

Configuration used: Path: .coderabbit.yaml

Review profile: CHILL

Plan: Pro

Run ID: 73f8ad4c-cda0-4312-ae37-6e3220bef5c1

📥 Commits

Reviewing files that changed from the base of the PR and between 4a1b99e and af66f68.

📒 Files selected for processing (4)
  • src/website/src/components/Hero.astro
  • src/website/src/pages/ca/index.astro
  • src/website/src/pages/es/index.astro
  • src/website/src/pages/index.astro

Walkthrough

This PR integrates the GetStarted component into the English, Catalan, and Spanish homepage variants. It also reduces the hero terminal's CSS minimum height from 27em to 21em for tighter spacing.

Changes

GetStarted and Hero Updates

Layer / File(s) Summary
Hero terminal height adjustment
src/website/src/components/Hero.astro
Hero terminal screen .hero-term-screen min-height CSS is reduced from 27em to 21em.
GetStarted component integration across homepage variants
src/website/src/pages/index.astro, src/website/src/pages/ca/index.astro, src/website/src/pages/es/index.astro
GetStarted component is imported and rendered on English, CA, and ES homepages. On English and CA pages, it renders before HowItWorks. On ES page, it inserts into the main content flow.

Estimated code review effort

🎯 1 (Trivial) | ⏱️ ~3 minutes

Possibly related PRs

  • macalbert/envilder#311: CSS sizing adjustment to Hero.astro terminal screen that overlaps with this PR's hero styling change.
  • macalbert/envilder#301: Homepage composition changes involving removal and restructuring of GetStarted component and HowItWorks flow, which directly conflicts with this PR's integration pattern.
🚥 Pre-merge checks | ✅ 5
✅ Passed checks (5 passed)
Check name Status Explanation
Title check ✅ Passed The title accurately summarizes the main changes: re-adding the GetStarted section and reducing hero terminal height.
Description check ✅ Passed The description covers required sections: summary, changes, testing, and related issues. All key information about the PR is provided clearly.
Docstring Coverage ✅ Passed No functions found in the changed files to evaluate docstring coverage. Skipping docstring coverage check.
Linked Issues check ✅ Passed Check skipped because no linked issues were found for this pull request.
Out of Scope Changes check ✅ Passed Check skipped because no linked issues were found for this pull request.

✏️ Tip: You can configure your own custom pre-merge checks in the settings.

✨ Finishing Touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Commit unit tests in branch macalbert/fix/website-getstarted-and-terminal-height

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands and usage tips.

@gemini-code-assist gemini-code-assist Bot 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.

Code Review

This pull request reduces the minimum height of the .hero-term-screen in the Hero.astro component from 27em to 21em. It also imports and adds the GetStarted component to the Catalan, Spanish, and default landing pages. I have no feedback to provide as there are no review comments to address.

Important

The consumer version of Gemini Code Assist on GitHub is being sunset. Starting June 18, 2026, new organization installations will be blocked, and all code review activity will officially cease on July 17, 2026.
For more details on the timeline and next steps, please review the Help Documentation.

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

Restores the missing “Get started” section on localized home pages so the hero CTA (#get-started) scroll target exists again, and reduces the hero terminal minimum height to avoid excessive empty space under shorter scenes.

Changes:

  • Re-added the existing GetStarted section to the en, ca, and es home pages so #get-started anchors resolve correctly.
  • Reduced .hero-term-screen min-height from 27em to 21em to tighten the hero terminal’s vertical footprint.

Reviewed changes

Copilot reviewed 4 out of 4 changed files in this pull request and generated no comments.

File Description
src/website/src/pages/index.astro Renders GetStarted on the default (en) home page to restore the #get-started anchor target.
src/website/src/pages/ca/index.astro Renders GetStarted on the Catalan home page to restore the #get-started anchor target.
src/website/src/pages/es/index.astro Renders GetStarted on the Spanish home page to restore the #get-started anchor target.
src/website/src/components/Hero.astro Lowers the hero terminal screen minimum height to reduce empty space for short scenes.

@macalbert macalbert self-assigned this Jun 7, 2026
@macalbert
macalbert merged commit d58ab4a into main Jun 7, 2026
8 checks passed
@macalbert
macalbert deleted the macalbert/fix/website-getstarted-and-terminal-height branch June 7, 2026 11:39
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