0
Fork 0
mirror of https://github.com/withastro/astro.git synced 2024-12-16 21:46:22 -05:00

fix: fixes prop href of author component in example blog, was url (#734)

This commit is contained in:
Guilherme Siquinelli 2021-07-18 02:54:31 -03:00 committed by GitHub
parent d55d8b8c6e
commit 35f7b474a1
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -18,7 +18,7 @@ const { title, author, publishDate, heroImage } = Astro.props;
{heroImage && <img width="720" height="420" class="hero-image" loading="lazy" src={heroImage} />}
<p class="publish-date">{publishDate}</p>
<h1 class="title">{title}</h1>
<Author name="@FredKSchott" url="https://twitter.com/FredKSchott" />
<Author name="@FredKSchott" href="https://twitter.com/FredKSchott" />
</header>
<main>
<slot />