0
Fork 0
mirror of https://codeberg.org/SafeTwitch/safetwitch.git synced 2024-12-22 05:12:57 -05:00
This commit is contained in:
dragongoose 2023-11-26 20:53:38 -05:00
parent a9aa379bcc
commit 2d86a8c1cb
No known key found for this signature in database
GPG key ID: 01397EEC371CDAA5
4 changed files with 4 additions and 7 deletions

View file

@ -45,7 +45,6 @@ export async function getEndpoint(endpoint: string) {
return data
}
/**
* Gets the response from an endpoint from the backend
* @param endpoint The endpoint to get data from

View file

@ -35,7 +35,7 @@ const router = createRouter({
component: PrivacyPageView
},
{
path: "/following",
path: '/following',
component: FollowingView
},
{

View file

@ -252,4 +252,3 @@ export const themeList = [
}
}
]

View file

@ -46,11 +46,11 @@ export default {
</script>
<template>
<loading-screen v-if="!data && status != 'error'"></loading-screen>
<div class="md:max-w-[50rem] w-full mx-auto text-contrast flex justify-center">
<div class="md:max-w-[50rem] w-full mx-auto text-contrast flex justify-center">
<ul class="m-2">
<li v-for="streamer in data" class="md:inline-flex">
<div class="inline-flex bg-overlay0 p-2.5 m-1 rounded-md w-[22rem]">
<img :src="streamer.pfp" class="w-16 rounded-full">
<img :src="streamer.pfp" class="w-16 rounded-full" />
<div class="justify-between flex flex-col ml-2">
<h1 class="text-2xl font-bold">{{ streamer.username }}</h1>
<span>{{ abbreviate(streamer.followers) }} Followers</span>
@ -58,9 +58,8 @@ export default {
<div class="my-auto ml-9">
<follow-button :username="streamer.login"></follow-button>
</div>
</div>
</li>
</ul>
</div>
</template>
</template>