Compare commits
11 commits
main
...
rescript-r
Author | SHA1 | Date | |
---|---|---|---|
a4c9ab8dd1 | |||
fe99f4de6f | |||
e75af3b34d | |||
07f42e6df0 | |||
750e88f183 | |||
56171ee2bd | |||
741bb2e2b4 | |||
2fdf06e757 | |||
472aa0ccba | |||
a797b0e75d | |||
18dca3a4b4 |
3 changed files with 21 additions and 4 deletions
|
@ -1,4 +1,4 @@
|
|||
export const MAX_NOTE_TEXT_LENGTH = 3000;
|
||||
export const MAX_NOTE_TEXT_LENGTH = 8192;
|
||||
|
||||
// Time constants
|
||||
export const SECOND = 1000;
|
||||
|
|
|
@ -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(':')) {
|
||||
|
|
|
@ -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">
|
||||
|
|
Loading…
Reference in a new issue