mirror of
https://github.com/XRPLF/xrpl-dev-portal.git
synced 2025-11-20 11:45:50 +00:00
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:
@@ -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
@@ -59,7 +59,7 @@
|
|||||||
|
|
||||||
.category_sidebar {
|
.category_sidebar {
|
||||||
position: sticky;
|
position: sticky;
|
||||||
top: 10px;
|
top: $nav-height + $banner-height;
|
||||||
}
|
}
|
||||||
|
|
||||||
.category-checkbox {
|
.category-checkbox {
|
||||||
|
|||||||
Reference in New Issue
Block a user