Add Hero and Footer Components (#947)
This commit is contained in:
@@ -0,0 +1,34 @@
|
||||
import IconChevronRight from "https://deno.land/x/tabler_icons_tsx@0.0.2/tsx/chevron-right.tsx";
|
||||
|
||||
export default function Hero() {
|
||||
return (
|
||||
<div
|
||||
class="w-full flex px-8 h-96 justify-center items-center flex-col gap-8 bg-cover bg-center bg-no-repeat bg-gray-100 rounded-xl text-white"
|
||||
style="background-image:linear-gradient(rgba(0, 0, 40, 0.8),rgba(0, 0, 40, 0.8)), url('/gallery/hero-bg.webp');"
|
||||
>
|
||||
<div class="space-y-4 text-center">
|
||||
<h1 class="text-4xl inline-block font-bold">Fresh Components Beta</h1>
|
||||
<p class="text-xl max-w-lg text-blue-100">
|
||||
Fresh Components is a collection of components built with Preact and
|
||||
Tailwind CSS.
|
||||
</p>
|
||||
</div>
|
||||
|
||||
<div>
|
||||
<a
|
||||
href="#"
|
||||
class="block mt-4 text-blue-500 cursor-pointer inline-flex items-center group text-blue-800 bg-white px-8 py-2 rounded-md hover:bg-blue-50 font-bold"
|
||||
>
|
||||
Sign Up{" "}
|
||||
</a>
|
||||
<a
|
||||
href="#"
|
||||
class="block mt-4 transition-colors text-blue-400 cursor-pointer inline-flex items-center group px-4 py-2 hover:text-blue-100"
|
||||
>
|
||||
Documentation{" "}
|
||||
<IconChevronRight class="inline-block w-5 h-5 transition group-hover:translate-x-0.5" />
|
||||
</a>
|
||||
</div>
|
||||
</div>
|
||||
);
|
||||
}
|
||||
Reference in New Issue
Block a user