mobile optimalizacia

This commit is contained in:
OLIMINATOR 2022-12-06 13:22:42 +01:00
parent 465cbf6f52
commit 68a7003713
2 changed files with 26 additions and 24 deletions

View file

@ -4,7 +4,12 @@ import { Image } from "@astrojs/image/components";
import logo from "../../assets/logo.png";
---
<main class="mt-64 flex justify-center items-center">
<main
class="mt-24 md:mt-64 flex flex-col md:flex-row justify-center items-center"
>
<Image src={logo} width={200} height={200} alt="descriptive text" />
<section class="md:ml-6 md:text-left text-center">
<h1 class="text-white font-extrabold text-6xl">xHyroM</h1>
<Socials />
</section>
</main>

View file

@ -24,12 +24,10 @@ const socials = [
];
---
<section>
<h1 class="text-white font-extrabold text-6xl">xHyroM</h1>
<ul class="flex text-white my-5">
<ul class="flex text-white my-5 md:justify-start justify-center">
{
socials.map((social) => (
<li class="mr-4 flex">
<li class="mr-4 ">
<a
class="hover:-translate-y-1 transition-all w-10 h-10"
href={social.link}
@ -44,5 +42,4 @@ const socials = [
</li>
))
}
</ul>
</section>
</ul>