[feat] patch notes
This commit is contained in:
@@ -1,11 +1,12 @@
|
|||||||
export const patchNote = {
|
export const patchNote = {
|
||||||
version: "1.68.0",
|
version: "1.69.0",
|
||||||
content:
|
content:
|
||||||
`
|
`
|
||||||
- Added Post End
|
# Update 1.69.0
|
||||||
- Added Send Chat as System
|
- Added Patch Note
|
||||||
- Added Utility Override
|
- Added Added Send Name on Non-group Chat option
|
||||||
- Minor fixes
|
- Added Send original role option
|
||||||
|
- Minor fixes
|
||||||
`
|
`
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@@ -9,7 +9,11 @@
|
|||||||
import { getRisuHub } from "src/ts/characterCards";
|
import { getRisuHub } from "src/ts/characterCards";
|
||||||
import RisuHubIcon from "./Realm/RealmHubIcon.svelte";
|
import RisuHubIcon from "./Realm/RealmHubIcon.svelte";
|
||||||
import Title from "./Title.svelte";
|
import Title from "./Title.svelte";
|
||||||
|
import { getPatchNote } from "src/etc/updateLog";
|
||||||
|
import { parseMarkdownSafe } from "src/ts/parser";
|
||||||
let openHub = false
|
let openHub = false
|
||||||
|
const patch = getPatchNote(appVer)
|
||||||
|
let patchNodeHidden = true
|
||||||
|
|
||||||
</script>
|
</script>
|
||||||
<div class="h-full w-full flex flex-col overflow-y-auto items-center">
|
<div class="h-full w-full flex flex-col overflow-y-auto items-center">
|
||||||
@@ -35,6 +39,15 @@
|
|||||||
<h1 class="text-2xl font-bold text-start">{language.officialDiscord}</h1>
|
<h1 class="text-2xl font-bold text-start">{language.officialDiscord}</h1>
|
||||||
<span class="mt-2 text-textcolor2 text-start">{language.officialDiscordDesc}</span>
|
<span class="mt-2 text-textcolor2 text-start">{language.officialDiscordDesc}</span>
|
||||||
</button>
|
</button>
|
||||||
|
{#if patch}
|
||||||
|
<div class="bg-darkbg rounded-md p-6 flex flex-col transition-shadow col-span-2 overflow-y-hidden shadow-inner"
|
||||||
|
on:click={() => {patchNodeHidden = false}}
|
||||||
|
class:max-h-40={patchNodeHidden}>
|
||||||
|
<div class="prose prose-invert">
|
||||||
|
{@html parseMarkdownSafe(patch)}
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
{/if}
|
||||||
</div>
|
</div>
|
||||||
<div class="mt-4 mb-4 w-full border-t border-t-selected"></div>
|
<div class="mt-4 mb-4 w-full border-t border-t-selected"></div>
|
||||||
<h1 class="text-2xl font-bold">Recent Characters from {language.hub} <button class="text-base font-medium float-right p-1 bg-darkbg rounded-md hover:ring" on:click={() => {
|
<h1 class="text-2xl font-bold">Recent Characters from {language.hub} <button class="text-base font-medium float-right p-1 bg-darkbg rounded-md hover:ring" on:click={() => {
|
||||||
|
|||||||
Reference in New Issue
Block a user