Compare commits

...

11 commits

3 changed files with 21 additions and 4 deletions

View file

@ -1,4 +1,4 @@
export const MAX_NOTE_TEXT_LENGTH = 3000;
export const MAX_NOTE_TEXT_LENGTH = 8192;
// Time constants
export const SECOND = 1000;

View file

@ -13,8 +13,10 @@ export const renderLike = async (noteReaction: NoteReaction, note: Note) => {
id: `${config.url}/likes/${noteReaction.id}`,
actor: `${config.url}/users/${noteReaction.userId}`,
object: note.uri ? note.uri : `${config.url}/notes/${noteReaction.noteId}`,
content: reaction,
_misskey_reaction: reaction,
... (reaction !== '\u2b50' ? {
content: reaction,
_misskey_reaction: reaction,
} : {}),
} as any;
if (reaction.startsWith(':')) {

View file

@ -9,7 +9,7 @@
<div class="emojis">
<MkEmoji :normal="true" :no-style="true" emoji="👍"/>
<MkEmoji :normal="true" :no-style="true" emoji="❤"/>
<MkEmoji :normal="true" :no-style="true" emoji="😆"/>
<MkEmoji :normal="true" :no-style="true" emoji="🥴"/>
<MkEmoji :normal="true" :no-style="true" emoji="🎉"/>
<MkEmoji :normal="true" :no-style="true" emoji="🍮"/>
</div>
@ -30,6 +30,21 @@
<MkButton inline rounded gradate data-cy-signup style="margin-right: 12px;" @click="signup()">{{ i18n.ts.signup }}</MkButton>
<MkButton inline rounded data-cy-signin @click="signin()">{{ i18n.ts.login }}</MkButton>
</div>
<div class="status">
<div class="action">
<p>Information on what snug.moe has to offer and Rules:</p>
<MkButton gradate inline rounded onclick="window.location.href='https://info.snug.moe'">Info</MkButton>
</div>
<p>Enjoy your stay c:</p>
<div>
<MkButton inline style="margin-right: 12px; margin-bottom: 12px" onclick="window.location.href='https://element.snug.moe'">Matrix client</MkButton>
<MkButton inline style="margin-right: 12px; margin-bottom: 12px" onclick="window.location.href='https://video.snug.moe'">Peertube</MkButton>
<MkButton inline style="margin-right: 12px; margin-bottom: 12px" onclick="window.location.href='https://pic.snug.moe'">Pixelfed</MkButton>
</div>
<div>
<MkButton inline style="margin-right: 12px; margin-bottom: 12px" onclick="window.location.href='https://uptime.snug.moe'">Services status</MkButton>
</div>
</div>
</div>
</div>
<div v-if="instances" class="federation">