fixed images in friends section

This commit is contained in:
elh 2024-06-22 01:25:31 -04:00
parent 1a3a0ca680
commit 8d964da54e
3 changed files with 17 additions and 8 deletions

BIN
public/nemmy.gif Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 194 KiB

View file

@ -0,0 +1,12 @@
---
const { website, image, name }=Astro.props
---
<a href={website}>
<img title={name} src={image} class="image">
</a>
<style>
.image{border-radius: 100%;
width: 10%;}
a{text-decoration: none;}
</style>

View file

@ -1,13 +1,10 @@
--- ---
import FriendButton from "../components/Friendbutton.astro"
--- ---
<section id="Friends"> <section id="Friends">
<h2>Friends Sites!</h2> <h2>Friends Sites!</h2>
<div> <span>
<form action="https://google.com"> <FriendButton website="https://elh.gay" image="/public/vee.png" title="vee"/>
<button class="fbutton"> <FriendButton website=" https://pandaptable.moe" image="/public/nemmy.gif" title="nemmy"/>
<img class="buttonimg" title="test" src="/public/vee.png"> </span>
</button>
</form>
</a>
</div>
</section> </section>