mirror of
https://github.com/revanced/revanced-website.git
synced 2025-05-02 23:54:26 +02:00
29 lines
690 B
Svelte
29 lines
690 B
Svelte
<script lang="ts">
|
|
import ContributorButton from "../atoms/ContributorButton.svelte";
|
|
export let peoples: Array<String>;
|
|
|
|
import { onMount } from 'svelte';
|
|
|
|
onMount(async () => {
|
|
const response = await fetch('https://releases.rvcd.win/contributors');
|
|
const json = await response.json();
|
|
console.log(json);
|
|
});
|
|
|
|
</script>
|
|
|
|
<div class="social-host">
|
|
{#each peoples as person}
|
|
<ContributorButton username={person}></ContributorButton>
|
|
{/each}
|
|
</div>
|
|
|
|
<style>
|
|
.social-host {
|
|
gap: 2rem;
|
|
width: 100;
|
|
display: grid;
|
|
align-items: center;
|
|
grid-template-columns: repeat(auto-fill, minmax(100px, 1fr));
|
|
}
|
|
</style> |