mirror of
https://iceshrimp.dev/limepotato/jormungandr-bite.git
synced 2024-11-14 22:17:30 -07:00
chore: remove links to misskey-hub
This commit is contained in:
parent
d371857f15
commit
a30e455949
4 changed files with 12 additions and 23 deletions
|
@ -123,12 +123,6 @@ function showMenu(ev) {
|
|||
action: () => {
|
||||
os.pageWindow('/about-calckey');
|
||||
},
|
||||
}, null, {
|
||||
text: i18n.ts.help,
|
||||
icon: 'ph-question-bold ph-lg',
|
||||
action: () => {
|
||||
window.open('https://misskey-hub.net/help.md', '_blank');
|
||||
},
|
||||
}], ev.currentTarget ?? ev.target);
|
||||
}
|
||||
</script>
|
||||
|
|
|
@ -58,12 +58,12 @@
|
|||
<script lang="ts">
|
||||
import { defineComponent } from 'vue';
|
||||
import { toUnicode } from 'punycode/';
|
||||
import XTimeline from './welcome.timeline.vue';
|
||||
import XSigninDialog from '@/components/MkSigninDialog.vue';
|
||||
import XSignupDialog from '@/components/MkSignupDialog.vue';
|
||||
import MkButton from '@/components/MkButton.vue';
|
||||
import XNote from '@/components/MkNote.vue';
|
||||
import MkFeaturedPhotos from '@/components/MkFeaturedPhotos.vue';
|
||||
import XTimeline from './welcome.timeline.vue';
|
||||
import { host, instanceName } from '@/config';
|
||||
import * as os from '@/os';
|
||||
import number from '@/filters/number';
|
||||
|
@ -104,7 +104,7 @@ export default defineComponent({
|
|||
|
||||
os.api('hashtags/list', {
|
||||
sort: '+mentionedLocalUsers',
|
||||
limit: 8
|
||||
limit: 8,
|
||||
}).then(tags => {
|
||||
this.tags = tags;
|
||||
});
|
||||
|
@ -113,13 +113,13 @@ export default defineComponent({
|
|||
methods: {
|
||||
signin() {
|
||||
os.popup(XSigninDialog, {
|
||||
autoSet: true
|
||||
autoSet: true,
|
||||
}, {}, 'closed');
|
||||
},
|
||||
|
||||
signup() {
|
||||
os.popup(XSignupDialog, {
|
||||
autoSet: true
|
||||
autoSet: true,
|
||||
}, {}, 'closed');
|
||||
},
|
||||
|
||||
|
@ -129,24 +129,17 @@ export default defineComponent({
|
|||
icon: 'ph-info-bold ph-lg',
|
||||
action: () => {
|
||||
os.pageWindow('/about');
|
||||
}
|
||||
},
|
||||
}, {
|
||||
text: i18n.ts.aboutMisskey,
|
||||
icon: 'ph-info-bold ph-lg',
|
||||
action: () => {
|
||||
os.pageWindow('/about-calckey');
|
||||
}
|
||||
}, null, {
|
||||
text: i18n.ts.help,
|
||||
icon: 'ph-question-bold ph-lg',
|
||||
action: () => {
|
||||
window.open(`https://misskey-hub.net/help.md`, '_blank');
|
||||
}
|
||||
},
|
||||
}], ev.currentTarget ?? ev.target);
|
||||
},
|
||||
|
||||
number
|
||||
}
|
||||
number,
|
||||
},
|
||||
});
|
||||
</script>
|
||||
|
||||
|
|
|
@ -99,7 +99,7 @@ function openInstanceMenu(ev: MouseEvent) {
|
|||
text: i18n.ts.document,
|
||||
icon: 'ph-question-bold ph-lg',
|
||||
action: () => {
|
||||
window.open('https://misskey-hub.net/help.html', '_blank');
|
||||
window.open('/api-doc', '_blank');
|
||||
},
|
||||
}],
|
||||
}, {
|
||||
|
|
|
@ -125,7 +125,9 @@ export default defineComponent({
|
|||
},
|
||||
|
||||
help() {
|
||||
window.open('https://misskey-hub.net/docs/keyboard-shortcut.md', '_blank');
|
||||
// TODO(thatonecalculator): popup with keybinds
|
||||
// window.open('https://misskey-hub.net/docs/keyboard-shortcut.md', '_blank');
|
||||
console.log('d = dark/light mode, s = search, p = post :3');
|
||||
},
|
||||
},
|
||||
});
|
||||
|
|
Loading…
Reference in a new issue