Blog: improve formatting

- Display author metadata on landing page
- Remove unused Gateway Bulletins category
- Push category selector down so it doesn't get partly buried under the
  top nav & Apex banner
This commit is contained in:
mDuo13
2024-03-28 15:31:01 -07:00
parent c3194d9b08
commit 69f9a02ee1
3 changed files with 3 additions and 3 deletions

View File

@@ -19,7 +19,6 @@ const categories = {
amendments: "Amendments", amendments: "Amendments",
development: "Development", development: "Development",
developer_reflections: "Developer Reflections", developer_reflections: "Developer Reflections",
gateway_bulletins: "Gateway Bulletins",
features: "Features", features: "Features",
security: "Security", security: "Security",
}; };
@@ -213,6 +212,7 @@ export default function Index() {
<div> <div>
<p id="card-date" className="mb-0"> <p id="card-date" className="mb-0">
{moment(translate(card.date)).format("MMM DD, YYYY")} {moment(translate(card.date)).format("MMM DD, YYYY")}
{ card.author ? ` by ${card.author}` : ""}
</p> </p>
<h5 className="mb-2-sm h3-sm"> <h5 className="mb-2-sm h3-sm">
<a href={`/blog/${card.link}`}> <a href={`/blog/${card.link}`}>

File diff suppressed because one or more lines are too long

View File

@@ -59,7 +59,7 @@
.category_sidebar { .category_sidebar {
position: sticky; position: sticky;
top: 10px; top: $nav-height + $banner-height;
} }
.category-checkbox { .category-checkbox {