mirror of
https://github.com/m1k1o/neko.git
synced 2024-07-24 14:40:50 +12:00
Use https://ui-avatars.com instead of https://api.adorable.io for profile images
This commit is contained in:
parent
395e23a155
commit
587249b101
@ -4,7 +4,7 @@
|
|||||||
<template v-for="(message, index) in history">
|
<template v-for="(message, index) in history">
|
||||||
<li :key="index" class="message" v-if="message.type === 'text'">
|
<li :key="index" class="message" v-if="message.type === 'text'">
|
||||||
<div class="author" @contextmenu.stop.prevent="onContext($event, { member: member(message.id) })">
|
<div class="author" @contextmenu.stop.prevent="onContext($event, { member: member(message.id) })">
|
||||||
<img :src="`https://api.adorable.io/avatars/40/${member(message.id).displayname}.png`" />
|
<img :src="`https://ui-avatars.com/api/?name=${member(message.id).displayname}.png`" />
|
||||||
</div>
|
</div>
|
||||||
<div class="content">
|
<div class="content">
|
||||||
<div class="content-head">
|
<div class="content-head">
|
||||||
|
@ -3,7 +3,7 @@
|
|||||||
<template slot-scope="child" v-if="child.data">
|
<template slot-scope="child" v-if="child.data">
|
||||||
<li class="header">
|
<li class="header">
|
||||||
<div class="user">
|
<div class="user">
|
||||||
<img :src="`https://api.adorable.io/avatars/25/${child.data.member.displayname}.png`" />
|
<img :src="`https://ui-avatars.com/api/?name=${child.data.member.displayname}.png`" />
|
||||||
<strong>{{ child.data.member.displayname }}</strong>
|
<strong>{{ child.data.member.displayname }}</strong>
|
||||||
</div>
|
</div>
|
||||||
</li>
|
</li>
|
||||||
|
@ -4,7 +4,7 @@
|
|||||||
<ul class="members-list">
|
<ul class="members-list">
|
||||||
<li v-if="member">
|
<li v-if="member">
|
||||||
<div :class="[{ host: member.id === host }, 'self', 'member']">
|
<div :class="[{ host: member.id === host }, 'self', 'member']">
|
||||||
<img :src="`https://api.adorable.io/avatars/50/${member.displayname}.png`" />
|
<img :src="`https://ui-avatars.com/api/?name=${member.displayname}.png`" />
|
||||||
</div>
|
</div>
|
||||||
</li>
|
</li>
|
||||||
<template v-for="(member, index) in members">
|
<template v-for="(member, index) in members">
|
||||||
@ -15,7 +15,7 @@
|
|||||||
>
|
>
|
||||||
<div :class="[{ host: member.id === host, admin: member.admin }, 'member']">
|
<div :class="[{ host: member.id === host, admin: member.admin }, 'member']">
|
||||||
<img
|
<img
|
||||||
:src="`https://api.adorable.io/avatars/50/${member.displayname}.png`"
|
:src="`https://ui-avatars.com/api/?name=${member.displayname}.png`"
|
||||||
@contextmenu.stop.prevent="onContext($event, { member })"
|
@contextmenu.stop.prevent="onContext($event, { member })"
|
||||||
/>
|
/>
|
||||||
</div>
|
</div>
|
||||||
|
Loading…
Reference in New Issue
Block a user