Replace h1 tags with h2

pull/5501/head
Kamran Ahmed 10 months ago
parent c2a5e5a805
commit e716007245
  1. 2
      src/components/FeaturedGuides.astro
  2. 2
      src/components/FeaturedVideos.astro

@ -11,7 +11,7 @@ const { heading, guides } = Astro.props;
---
<div class='container'>
<h1 class='text-2xl sm:text-3xl font-bold block'>{heading}</h1>
<h2 class='text-2xl sm:text-3xl font-bold block'>{heading}</h2>
<div class='mt-3 sm:my-5'>
{guides.map((guide) => <GuideListItem guide={guide} />)}

@ -11,7 +11,7 @@ const { heading, videos } = Astro.props;
---
<div class='container'>
<h1 class='text-2xl sm:text-3xl font-bold block'>{heading}</h1>
<h2 class='text-2xl sm:text-3xl font-bold block'>{heading}</h2>
<div class='mt-3 sm:my-5'>
{videos.map((video) => <VideoListItem video={video} />)}

Loading…
Cancel
Save