mirror of
https://github.com/kingomarnajjar/flex-template-web.git
synced 2026-07-28 20:53:24 +10:00
Use H2 instead of p for SEO
This commit is contained in:
parent
9b900d682e
commit
0bd9a2c908
3 changed files with 8 additions and 6 deletions
|
|
@ -57,15 +57,17 @@
|
|||
}
|
||||
|
||||
.heroSubTitle {
|
||||
@apply --marketplaceBodyFontStyles;
|
||||
|
||||
color: var(--matterColorLight);
|
||||
margin-bottom: 63px;
|
||||
margin-top: 0;
|
||||
margin: 0 0 63px 0;
|
||||
|
||||
@apply --animationProperties;
|
||||
animation-delay: 0.65s;
|
||||
|
||||
@media (--viewportMedium) {
|
||||
max-width: var(--desktopTitleMaxWidth);
|
||||
margin: 0 0 63px 0;
|
||||
}
|
||||
|
||||
@media (--viewportXLarge) {
|
||||
|
|
|
|||
|
|
@ -32,9 +32,9 @@ const HeroSection = props => {
|
|||
<h1 className={css.heroMainTitle}>
|
||||
<FormattedMessage id="HeroSection.title" />
|
||||
</h1>
|
||||
<p className={css.heroSubTitle}>
|
||||
<h2 className={css.heroSubTitle}>
|
||||
<FormattedMessage id="HeroSection.subTitle" />
|
||||
</p>
|
||||
</h2>
|
||||
<Button className={css.mobileSearchButton} onClick={handleMobileSearchClick}>
|
||||
<IconSearch rootClassName={css.searchIcon} />
|
||||
<FormattedMessage id="HeroSection.mobileSearchButtonText" />
|
||||
|
|
|
|||
|
|
@ -7,12 +7,12 @@ exports[`HeroSection matches snapshot 1`] = `
|
|||
Book saunas everywhere.
|
||||
</span>
|
||||
</h1>
|
||||
<p
|
||||
<h2
|
||||
className={undefined}>
|
||||
<span>
|
||||
The largest online community to rent saunas in Finland.
|
||||
</span>
|
||||
</p>
|
||||
</h2>
|
||||
<button
|
||||
className=""
|
||||
disabled={false}
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue