mirror of
https://codeberg.org/SafeTwitch/safetwitch.git
synced 2024-12-22 21:33:01 -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
|
return data
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Gets the response from an endpoint from the backend
|
* Gets the response from an endpoint from the backend
|
||||||
* @param endpoint The endpoint to get data from
|
* @param endpoint The endpoint to get data from
|
||||||
|
|
|
@ -35,7 +35,7 @@ const router = createRouter({
|
||||||
component: PrivacyPageView
|
component: PrivacyPageView
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
path: "/following",
|
path: '/following',
|
||||||
component: FollowingView
|
component: FollowingView
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
|
|
|
@ -252,4 +252,3 @@ export const themeList = [
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
]
|
]
|
||||||
|
|
||||||
|
|
|
@ -50,7 +50,7 @@ export default {
|
||||||
<ul class="m-2">
|
<ul class="m-2">
|
||||||
<li v-for="streamer in data" class="md:inline-flex">
|
<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]">
|
<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">
|
<div class="justify-between flex flex-col ml-2">
|
||||||
<h1 class="text-2xl font-bold">{{ streamer.username }}</h1>
|
<h1 class="text-2xl font-bold">{{ streamer.username }}</h1>
|
||||||
<span>{{ abbreviate(streamer.followers) }} Followers</span>
|
<span>{{ abbreviate(streamer.followers) }} Followers</span>
|
||||||
|
@ -58,7 +58,6 @@ export default {
|
||||||
<div class="my-auto ml-9">
|
<div class="my-auto ml-9">
|
||||||
<follow-button :username="streamer.login"></follow-button>
|
<follow-button :username="streamer.login"></follow-button>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
</div>
|
</div>
|
||||||
</li>
|
</li>
|
||||||
</ul>
|
</ul>
|
||||||
|
|
Loading…
Reference in a new issue