mirror of
https://github.com/xHyroM/website.git
synced 2024-11-22 15:01:05 +01:00
mobile optimalizacia
This commit is contained in:
parent
465cbf6f52
commit
68a7003713
2 changed files with 26 additions and 24 deletions
|
@ -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>
|
||||
|
|
|
@ -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>
|
||||
|
|
Loading…
Reference in a new issue