Skip to content
BaseLayer Themes

Docs

Hero 10

Left-aligned copy with reviews (no eyebrow)

Live preview

from 128 reviews

I build websites that work as hard as you do!

Full-stack web development for brands that need speed, clarity, and craft. Astro, React, headless CMS, and everything in between.

File: src/blocks/hero/Hero10.astro

Left-aligned like Hero 09, with review avatars / stars / count instead of an eyebrow.

Config (blocks.tshero10)

hero10: {
    width: "standard",
    heading: "I build websites that work as hard as you do!",
    subheading:
      "Full-stack web development for brands that need speed, clarity, and craft. Astro, React, headless CMS, and everything in between.",
    primaryCta: "View my work",
    primaryCtaUrl: "/work/",
    secondaryCta: "Get in touch",
    secondaryCtaUrl: "/contact/",
    rating: 5,
    reviewCount: 128,
    reviewAvatars: [
      { src: photos.karla, alt: "Sarah Chen" },
      { src: photos.edgar, alt: "Marcus Webb" },
      { initials: "ER", alt: "Elena Ruiz" },
    ],
    padding: "lg",
    borderBottom: false,
    borderThickness: "sm",
    borderColor: "soft",
  },

Add to a page

---
import Hero10 from "@/blocks/hero/Hero10.astro";
---

<Hero10 />

Props override matching keys from config:

<Hero10
  width="wide"
  heading="Custom headline"
  padding="md"
/>

Props

Prop Config key Type / values Default / notes
width hero10.width standard | narrow | wide Wrapper max-width
heading hero10.heading string
subheading hero10.subheading string
primaryCta hero10.primaryCta string
primaryCtaUrl hero10.primaryCtaUrl string
secondaryCta hero10.secondaryCta string
secondaryCtaUrl hero10.secondaryCtaUrl string
reviewAvatars hero10.reviewAvatars Array of { src?: LocalImageSource, initials?: string, alt: string }
reviewCount hero10.reviewCount number | string Shown as “from {reviewCount} reviews”
rating hero10.rating number Star rating out of 5
padding hero10.padding none | sm | md | lg | xl Vertical section padding
borderBottom hero10.borderBottom boolean Show a bottom border under the section
borderThickness hero10.borderThickness sm (1px) | md (2px) | lg (4px)
borderColor hero10.borderColor soft | medium | hard

← Hero versions · Blocks overview · Images