Skip to content

Commit

Permalink
enhance(frontend): はなみすきーChangelogへのリンクを追加 (#78)
Browse files Browse the repository at this point in the history
* enhance(frontend): はなみすきーChangelogへのリンクを追加

* fix
  • Loading branch information
kakkokari-gtyih authored Sep 21, 2024
1 parent 1e846a8 commit 6973f88
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 3 deletions.
6 changes: 6 additions & 0 deletions packages/frontend/src/components/MkUpdated.vue
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@ SPDX-License-Identifier: AGPL-3.0-only
<div :class="$style.title"><MkSparkle>{{ i18n.ts.misskeyUpdated }}</MkSparkle></div>
<div :class="$style.version">✨{{ version }}🚀</div>
<MkButton full @click="whatIsNew">{{ i18n.ts.whatIsNew }}</MkButton>
<MkButton :class="$style.gotIt" full @click="whatIsNewHana">{{ i18n.ts.whatIsNew }} ({{ i18n.ts._hana.hanaMisskey }})</MkButton>
<MkButton :class="$style.gotIt" primary full @click="modal?.close()">{{ i18n.ts.gotIt }}</MkButton>
</div>
</MkModal>
Expand All @@ -30,6 +31,11 @@ function whatIsNew() {
window.open(`https://misskey-hub.net/docs/releases/#_${version.replace(/\./g, '')}`, '_blank');
}

function whatIsNewHana() {
modal.value?.close();
window.open(`https://docs.misskey.flowers/changelog/web#_${version.replace(/\./g, '-')}`, '_blank');
}

onMounted(() => {
confetti({
duration: 1000 * 3,
Expand Down
3 changes: 0 additions & 3 deletions packages/frontend/src/pages/about-hanamisskey.vue
Original file line number Diff line number Diff line change
Expand Up @@ -21,17 +21,14 @@
<FormLink to="https://docs.misskey.flowers" external>
<template #icon><i class="ti ti-notebook"></i></template>
{{ i18n.ts._hana._aboutHanaMisskey.documentation }}
<template #suffix>Notion</template>
</FormLink>
<FormLink to="https://stats.uptimerobot.com/cyfsDKVzjx" external>
<template #icon><i class="ti ti-health-recognition"></i></template>
{{ i18n.ts._hana._aboutHanaMisskey.serviceStatus }}
<template #suffix>UptimeRobot</template>
</FormLink>
<FormLink to="https://legacy.misskey.flowers" external>
<template #icon><i class="ti ti-archive"></i></template>
{{ i18n.ts._hana._aboutHanaMisskey.bskArchives }}
<template #suffix>Backspacekey Archives</template>
</FormLink>
</div>
</FormSection>
Expand Down

0 comments on commit 6973f88

Please sign in to comment.