Skip to content

Commit

Permalink
Add banner to homepage & blog index
Browse files Browse the repository at this point in the history
  • Loading branch information
oscarvz committed Dec 2, 2024
1 parent 299ed99 commit 69fc461
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 1 deletion.
6 changes: 5 additions & 1 deletion www/src/pages/blog/index.astro
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,11 @@ function getColorValueBasedOnContent(content: string) {
frontmatter={{
title: "Blog",
description: "Fiberplane likes to write sometimes",
template: "splash"
template: "splash",
banner: {
content:
'<span>It\'s <a href="/mega-launch-week-2024">Mega Launch Week</a> 🚀 Follow along for the latest features shipping this week from Fiberplane</span>'
}
}}
>
<ul class="blog-post-list">
Expand Down
4 changes: 4 additions & 0 deletions www/src/pages/index.astro
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,10 @@ import StarlightPage from "@astrojs/starlight/components/StarlightPage.astro";
frontmatter={{
title: "Fiberplane",
template: "splash",
banner: {
content:
'<span>It\'s <a href="/mega-launch-week-2024">Mega Launch Week</a> 🚀 Follow along for the latest features shipping this week from Fiberplane</span>'
},
hero: {
title: "Test and debug your Hono API",
image: { file: fpxHeroScreenshot },
Expand Down

0 comments on commit 69fc461

Please sign in to comment.