diff options
Diffstat (limited to 'src/components/widgets/Announcement.astro')
| -rw-r--r-- | src/components/widgets/Announcement.astro | 23 |
1 files changed, 23 insertions, 0 deletions
diff --git a/src/components/widgets/Announcement.astro b/src/components/widgets/Announcement.astro new file mode 100644 index 0000000..b8779b1 --- /dev/null +++ b/src/components/widgets/Announcement.astro @@ -0,0 +1,23 @@ +--- + +--- + +<div + class="dark text-muted text-sm bg-black dark:bg-transparent dark:border-b dark:border-slate-800 dark:text-slate-400 hidden md:flex gap-1 overflow-hidden px-3 py-2 relative text-ellipsis whitespace-nowrap" +> + <span + class="dark:bg-slate-700 bg-white/40 dark:text-slate-300 font-semibold px-1 py-0.5 text-xs mr-0.5 rtl:mr-0 rtl:ml-0.5 inline-block" + >NEW</span + > + <a href="https://astro.build/blog/astro-570/" class="text-muted hover:underline dark:text-slate-400 font-medium" + >Astro v5.7 is now available! ยป</a + > + <a + target="_blank" + rel="noopener" + class="ltr:ml-auto rtl:mr-auto w-[5.6rem] h-[1.25rem] ml-auto bg-contain inline-block bg-[url(https://img.shields.io/github/stars/onwidget/astrowind.svg?style=social&label=Stars&maxAge=86400)]" + title="If you like AstroWind, give us a star." + href="https://github.com/onwidget/astrowind" + > + </a> +</div> |
