feat: improve Hero responsiveness (#1468)

This commit is contained in:
Yuri Gabriel Ferreira Lisboa
2023-07-17 15:06:34 +02:00
committed by GitHub
parent f6e7ab3f75
commit 920869c5da
+2 -2
View File
@@ -3,7 +3,7 @@ import IconChevronRight from "https://deno.land/x/tabler_icons_tsx@0.0.3/tsx/che
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"
class="w-full flex px-8 py-10 min-h-[24em] 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">
@@ -14,7 +14,7 @@ export default function Hero() {
</p>
</div>
<div>
<div class="flex flex-col md:flex-row items-center">
<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"