Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

⚡ Less layout shift with proper sizes #4735

Merged
merged 3 commits into from
Feb 24, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 4 additions & 3 deletions website/src/components/HomepageHeader/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -12,21 +12,22 @@ export default function HomepageHeader() {
<header className={clsx('hero hero--primary', styles.heroBanner)}>
<div className="container">
<h1 className={clsx('hero__title', styles.mainTitle)}>
<img src={logoDataUri} alt={siteConfig.title} className={styles.mainTitleLogo} width="570px" />
<img src={logoDataUri} alt={siteConfig.title} className={styles.mainTitleLogo} width="570px" height="103px" />
</h1>
<div className={clsx('hero__subtitle', styles.subTitle)}>
{siteConfig.tagline}
<div className={styles.taglineBadges}>
<a href="https://www.npmjs.com/package/fast-check" target="_blank" rel="noopener">
<img src="https://badge.fury.io/js/fast-check.svg" alt="npm version" height={20} />
<img src="https://badge.fury.io/js/fast-check.svg" alt="npm version" width={133} height={20} />
</a>
<a href="https://www.npmjs.com/package/fast-check" target="_blank" rel="noopener">
<img src="https://img.shields.io/npm/dm/fast-check" alt="monthly downloads" height={20} />
<img src="https://img.shields.io/npm/dm/fast-check" alt="monthly downloads" width={136} height={20} />
</a>
<a href="https://github.com/dubzzz/fast-check/stargazers" target="_blank" rel="noopener">
<img
src="https://img.shields.io/github/stars/dubzzz/fast-check?style=social"
alt="number of stars"
width={82}
height={20}
/>
</a>
Expand Down
Loading