img fix
This commit is contained in:
parent
6e73207e15
commit
14bdbe858e
1 changed files with 3 additions and 1 deletions
|
@ -1,4 +1,6 @@
|
||||||
---
|
---
|
||||||
|
import Image from "astro/components/Image.astro";
|
||||||
|
import logo from "../img/logo.svg";
|
||||||
import "/src/css/app.css";
|
import "/src/css/app.css";
|
||||||
---
|
---
|
||||||
|
|
||||||
|
@ -15,7 +17,7 @@ import "/src/css/app.css";
|
||||||
<body class="bg-gradient-to-b from-neutral-700 via-neutral-900 to-neutral-950 text-white overflow-hidden">
|
<body class="bg-gradient-to-b from-neutral-700 via-neutral-900 to-neutral-950 text-white overflow-hidden">
|
||||||
<div class="flex items-center justify-center min-h-screen">
|
<div class="flex items-center justify-center min-h-screen">
|
||||||
<div class="flex flex-col items-center justify-center w-full h-full max-w-[60vmin] max-h-[60vmin] md:max-w-[35vmin] md:max-h-[35vmin]">
|
<div class="flex flex-col items-center justify-center w-full h-full max-w-[60vmin] max-h-[60vmin] md:max-w-[35vmin] md:max-h-[35vmin]">
|
||||||
<img class="w-2/3 opacity-0" src="/src/img/logo.svg" alt="logo" />
|
<Image src={logo} alt="logo" class="w-2/3 opacity-0" />
|
||||||
<h1 class="text-4xl opacity-0 font-sfpro font-semibold">z0x</h1>
|
<h1 class="text-4xl opacity-0 font-sfpro font-semibold">z0x</h1>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
Loading…
Add table
Reference in a new issue