www: add HelloBar to point to 1.1 release notes (#724)

This commit is contained in:
Luca Casonato
2022-09-08 16:57:35 +02:00
committed by GitHub
parent a08f12a647
commit 4e001f9e26
+15
View File
@@ -44,6 +44,7 @@ export default function MainPage(props: PageProps) {
<meta property="og:image" content={ogImageUrl} />
</Head>
<div class="flex flex-col min-h-screen">
<HelloBar />
<Hero />
<div class="flex-1">
<Intro />
@@ -57,6 +58,20 @@ export default function MainPage(props: PageProps) {
);
}
function HelloBar() {
return (
<a
class="bg-green-400 text-black border(b green-500) p-3 text-center group"
href="https://deno.com/blog/fresh-1.1"
>
<b>Fresh v1.1</b> has been released with support for <b>automatic JSX</b>,
{" "}
<b>plugins</b>, <b>DevTools support</b>, and more!{" "}
<span class="group-hover:underline">→</span>
</a>
);
}
function Hero() {
return (
<>