forked from FoundKeyGang/FoundKey
client: remove broken instance ticker from landing page
This commit is contained in:
parent
9f1670d5fd
commit
00fcc238f7
1 changed files with 0 additions and 18 deletions
|
@ -32,15 +32,6 @@
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
<div v-if="instances" class="federation">
|
|
||||||
<MarqueeText :duration="40">
|
|
||||||
<MkA v-for="instance in instances" :key="instance.id" :class="$style.federationInstance" :to="`/instance-info/${instance.host}`" behavior="window">
|
|
||||||
<!--<MkInstanceCardMini :instance="instance"/>-->
|
|
||||||
<img v-if="instance.iconUrl" class="icon" :src="instance.iconUrl" alt=""/>
|
|
||||||
<span class="name _monospace">{{ instance.host }}</span>
|
|
||||||
</MkA>
|
|
||||||
</MarqueeText>
|
|
||||||
</div>
|
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</template>
|
</template>
|
||||||
|
@ -48,7 +39,6 @@
|
||||||
<script lang="ts" setup>
|
<script lang="ts" setup>
|
||||||
import { toUnicode } from 'punycode/';
|
import { toUnicode } from 'punycode/';
|
||||||
import XTimeline from './welcome.timeline.vue';
|
import XTimeline from './welcome.timeline.vue';
|
||||||
import MarqueeText from '@/components/marquee.vue';
|
|
||||||
import XSigninDialog from '@/components/signin-dialog.vue';
|
import XSigninDialog from '@/components/signin-dialog.vue';
|
||||||
import XSignupDialog from '@/components/signup-dialog.vue';
|
import XSignupDialog from '@/components/signup-dialog.vue';
|
||||||
import MkButton from '@/components/ui/button.vue';
|
import MkButton from '@/components/ui/button.vue';
|
||||||
|
@ -63,7 +53,6 @@ import { instance } from '@/instance';
|
||||||
let stats = $ref();
|
let stats = $ref();
|
||||||
let tags = $ref();
|
let tags = $ref();
|
||||||
let onlineUsersCount = $ref();
|
let onlineUsersCount = $ref();
|
||||||
let instances = $ref();
|
|
||||||
|
|
||||||
os.api('stats').then(_stats => {
|
os.api('stats').then(_stats => {
|
||||||
stats = _stats;
|
stats = _stats;
|
||||||
|
@ -80,13 +69,6 @@ os.api('hashtags/list', {
|
||||||
tags = _tags;
|
tags = _tags;
|
||||||
});
|
});
|
||||||
|
|
||||||
os.api('federation/instances', {
|
|
||||||
sort: '+pubSub',
|
|
||||||
limit: 20,
|
|
||||||
}).then(_instances => {
|
|
||||||
instances = _instances;
|
|
||||||
});
|
|
||||||
|
|
||||||
function signin() {
|
function signin() {
|
||||||
os.popup(XSigninDialog, {
|
os.popup(XSigninDialog, {
|
||||||
autoSet: true,
|
autoSet: true,
|
||||||
|
|
Loading…
Reference in a new issue