SN SUCKS SOCKS
This commit is contained in:
Ushie 2022-07-19 04:21:45 +03:00
parent b601926710
commit 1432174704

View File

@ -1,16 +1,16 @@
<script> <script>
export let href = "https://github.com/ushie" export const username = "Ushie"
export let src = "https://github.com/ushie.png" export const href = `https://github.com/${username}`
export let alt = "Contributors Image" export const src = `https://github.com/${username}.png`
export const alt = `${username}'s contributor profile picture`
</script> </script>
<div> <a {href}>
<a {href}> <button>
<button> <img {src} {alt}><slot/>
<img {src} {alt}><slot/> </button>
</button> <h3>{username}</h3>
</a> </a>
</div>
<style> <style>
a { a {
@ -22,7 +22,7 @@
color: var(--white); color: var(--white);
border-radius: 200px; border-radius: 200px;
border: 0; border: 0;
padding: 5px 5px; /* padding: 5px 5px; */
width:86px; width:86px;
height:86px; height:86px;
max-height: 86px; max-height: 86px;
@ -41,6 +41,8 @@
} }
img { img {
/* margin: 0;
padding: 0; */
border-radius: 50%; border-radius: 50%;
max-height: 86px; max-height: 86px;
max-width: 86px; max-width: 86px;