diff --git a/astro.config.ts b/astro.config.ts index bda1f98..56ac755 100644 --- a/astro.config.ts +++ b/astro.config.ts @@ -2,9 +2,6 @@ import { defineConfig } from "astro/config"; import tailwind from "@astrojs/tailwind"; -// https://astro.build/config -import image from "@astrojs/image"; - // https://astro.build/config import sitemap from "@astrojs/sitemap"; @@ -30,7 +27,6 @@ export default defineConfig({ site: "https://xhyrom.dev/", integrations: [ tailwind(), - image(), sitemap(), compress({ svg: false, diff --git a/src/pages/index.astro b/src/pages/index.astro index 5bb4c87..6c0561a 100644 --- a/src/pages/index.astro +++ b/src/pages/index.astro @@ -1,7 +1,7 @@ --- import Layout from "@layouts/Layout.astro"; import Navbar from "@components/widgets/Navbar.astro"; -import { Picture } from "@astrojs/image/components"; +import { Image } from "astro:assets"; import logo from "@assets/logo.png"; import { SOCIALS } from "../config"; --- @@ -31,13 +31,10 @@ import { SOCIALS } from "../config"; class="mt-24 flex flex-col items-center justify-center md:mt-64 md:flex-row" >
-