import { component$, useStylesScoped$ } from '@builder.io/qwik'; import { $translate as t, useSpeakContext } from 'qwik-speak'; import styles from './hero.css?inline'; import Container, { ContainerTheme } from '../../container/container'; import Button, { ButtonTheme } from '../../button/button'; import { centerShape, leftShape, rightShape } from './shapes'; import { localizedUrl as locUrl } from '../../../speak-config'; import Line from '../../line/line'; export default component$(() => { useStylesScoped$(styles); const speakState = useSpeakContext(); const localizedUrl = (url: string) => { return locUrl(url, speakState); }; return (

{t('hero.title@@Module Federation: streamline your microfrontends')}

{t( 'hero.subtitle@@Module Federation aims to solve the sharing of modules in a distributed system. It allows you to ship those critical shared pieces as macro or as micro as you would like. It does this by pulling them out of the build pipeline and out of your apps', )}

{leftShape}
{centerShape}
{rightShape}
); }); // inline-block absolute w-3/4 left-1/2 -translate-x-1/2 md:w-5/12