Format literally everything

This commit is contained in:
Cassidy Williams
2022-10-23 23:26:41 -05:00
parent ff9f16105e
commit 0d4e70c5ee
45 changed files with 11569 additions and 11706 deletions

View File

@@ -28,7 +28,7 @@ const {
margin: 0.25em 0 0;
}
hr {
border-top: 1px solid #DDD;
border-top: 1px solid #ddd;
margin: 1rem 0;
}
</style>
@@ -38,18 +38,17 @@ const {
<Header />
<main>
<article>
{heroImage && (
<img
width={720}
height={360}
src={heroImage}
alt=""
/>
)}
{heroImage && <img width={720} height={360} src={heroImage} alt="" />}
<h1 class="title">{title}</h1>
{added && <time>{added}</time>}
{updatedDate && <div>Last updated on <time>{updatedDate}</time></div>}
<hr/>
{
updatedDate && (
<div>
Last updated on <time>{updatedDate}</time>
</div>
)
}
<hr />
<slot />
</article>
</main>