Skip to content

Commit

Permalink
yarn lint --fix
Browse files Browse the repository at this point in the history
  • Loading branch information
NickGerleman committed Oct 21, 2023
1 parent 57b7dbc commit b1cb6a1
Show file tree
Hide file tree
Showing 2 changed files with 20 additions and 11 deletions.
4 changes: 3 additions & 1 deletion website-next/src/components/Playground/Sidebar.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,9 @@ type Props = {
export default class Sidebar extends Component<Props> {
render() {
return (
<div className={clsx('card', styles.sidebar)} style={{width: this.props.width}}>
<div
className={clsx('card', styles.sidebar)}
style={{width: this.props.width}}>
{this.props.children}
</div>
);
Expand Down
27 changes: 17 additions & 10 deletions website-next/src/pages/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -18,22 +18,29 @@ function HomepageHeader() {
<header className={clsx('hero', styles.heroBanner)}>
<div className={clsx(['row', styles.heroRow])}>
<div className="col col--6">
<h1 className='hero__title'>Flexible Layouts with Yoga</h1>
<p className='hero__subtitle'>
Yoga is an embeddable and performant flexbox layout engine with bindings for multiple languages.
<h1 className="hero__title">Flexible Layouts with Yoga</h1>
<p className="hero__subtitle">
Yoga is an embeddable and performant flexbox layout engine with
bindings for multiple languages.
</p>

<Link className="button button--secondary button--lg" to="/docs/intro">
<Link
className="button button--secondary button--lg"
to="/docs/intro">
Learn more
</Link>
</div>
<div className={clsx(['col col--6', styles.blueprintColumn])}>
<div className={clsx([styles.blueprint, styles.blueprintContainer])}>
<div className={clsx([styles.blueprint, styles.blueprintAvatar])} />
<div className={clsx([styles.blueprint, styles.blueprintTitle])} />
<div className={clsx([styles.blueprint, styles.blueprintSubtitle])} />
<div className={clsx([styles.blueprint, styles.blueprintContent])} />
</div>
<div className={clsx([styles.blueprint, styles.blueprintContainer])}>
<div className={clsx([styles.blueprint, styles.blueprintAvatar])} />
<div className={clsx([styles.blueprint, styles.blueprintTitle])} />
<div
className={clsx([styles.blueprint, styles.blueprintSubtitle])}
/>
<div
className={clsx([styles.blueprint, styles.blueprintContent])}
/>
</div>
</div>
</div>
</header>
Expand Down

0 comments on commit b1cb6a1

Please sign in to comment.