Skip to content

Commit

Permalink
chore: Update avatar image and background styles in index.astro
Browse files Browse the repository at this point in the history
  • Loading branch information
RND332 committed Jun 16, 2024
1 parent c378095 commit 6c913ef
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions src/pages/index.astro
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
---
import { Image } from 'astro:assets';
import Layout from "../layouts/Layout.astro";
import Avatar from "../../public/avatarfull.jpg"
---

<Layout>
Expand Down Expand Up @@ -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%;
}
</style>

0 comments on commit 6c913ef

Please sign in to comment.