import { Button } from 'rspress/theme'; import { normalizeHrefInRuntime } from 'rspress/runtime'; import styles from './index.module.scss'; import logoImg from '../../../docs/public/module-federation-logo.svg'; export interface Hero { name: string; text: string; tagline: string; image?: { src: string; alt: string; }; actions: { text: string; link: string; theme: 'brand' | 'alt'; }[]; } export function HomeHero({ hero }: { hero: Hero }) { const hasImage = hero.image !== undefined; return (
{hero.text}
)}{hero.tagline}