From 6c913efd797e7f7ec2236830648468221a55b5dd Mon Sep 17 00:00:00 2001 From: Talgat The Random <36820511+RND332@users.noreply.github.com> Date: Sun, 16 Jun 2024 14:12:09 +0300 Subject: [PATCH] chore: Update avatar image and background styles in index.astro --- src/pages/index.astro | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/src/pages/index.astro b/src/pages/index.astro index 0f173c2..7b6769e 100644 --- a/src/pages/index.astro +++ b/src/pages/index.astro @@ -1,6 +1,6 @@ --- -import { Image } from 'astro:assets'; import Layout from "../layouts/Layout.astro"; +import Avatar from "../../public/avatarfull.jpg" --- @@ -43,8 +43,9 @@ import Layout from "../layouts/Layout.astro"; .avatar { width: 100%; aspect-ratio: 1/1; - background: url("../../public/avatarfull.jpg") no-repeat center -190px; - zoom: 160%; + background: url("/avatarfull.jpg") no-repeat center; + background-position-y: 35%; + background-size: 170%; border-radius: 100%; }