diff --git a/src/pages/index.astro b/src/pages/index.astro index 7b6769e..c2a392d 100644 --- a/src/pages/index.astro +++ b/src/pages/index.astro @@ -1,16 +1,29 @@ --- import Layout from "../layouts/Layout.astro"; -import Avatar from "../../public/avatarfull.jpg" +import Avatar from "../../public/avatarfull.jpg"; +import { getImage } from "astro:assets"; + +const optimizedAvatar = await getImage({ src: Avatar, format: "webp" }); ---
-
-
+
-

Hi, I'm RND

-

I'm a frontend engineer. I'm passionate about web development, open source and cryptocurrencies.

-

I'm currently working at Arcanum.

+

+ Hi, I'm RND +

+

+ I'm a frontend engineer. I'm passionate about web development, open + source and cryptocurrencies. +

+

+ I'm currently working at Arcanum. +

Skills

    @@ -24,28 +37,31 @@ import Avatar from "../../public/avatarfull.jpg"
  • PostgreSQL
  • Git
+
-
- + .avatar { + width: 100%; + aspect-ratio: 1/1; + /* background: url("/avatarfull.jpg") no-repeat center; */ + background-repeat: no-repeat; + background-position-x: center; + background-position-y: 35%; + background-size: 170%; + border-radius: 100%; + } + +