mirror of
https://codeberg.org/SafeTwitch/safetwitch.git
synced 2024-12-22 13:22:58 -05:00
format
This commit is contained in:
parent
a9aa379bcc
commit
2d86a8c1cb
4 changed files with 4 additions and 7 deletions
|
@ -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
|
||||
|
|
|
@ -35,7 +35,7 @@ const router = createRouter({
|
|||
component: PrivacyPageView
|
||||
},
|
||||
{
|
||||
path: "/following",
|
||||
path: '/following',
|
||||
component: FollowingView
|
||||
},
|
||||
{
|
||||
|
|
|
@ -252,4 +252,3 @@ export const themeList = [
|
|||
}
|
||||
}
|
||||
]
|
||||
|
||||
|
|
|
@ -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,7 +58,6 @@ export default {
|
|||
<div class="my-auto ml-9">
|
||||
<follow-button :username="streamer.login"></follow-button>
|
||||
</div>
|
||||
|
||||
</div>
|
||||
</li>
|
||||
</ul>
|
||||
|
|
Loading…
Reference in a new issue