chore: Refactor MainMenu.svelte component
This commit is contained in:
@@ -17,13 +17,7 @@
|
|||||||
</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">
|
||||||
{#if !$OpenRealmStore}
|
{#if !$OpenRealmStore}
|
||||||
<Title />
|
|
||||||
{#if (!isTauri) && (!isNodeServer)}
|
|
||||||
<h3 class="text-textcolor2 mt-1">Version {appVer}{webAppSubVer}</h3>
|
|
||||||
{:else}
|
|
||||||
<h3 class="text-textcolor2 mt-1">Version {appVer}</h3>
|
|
||||||
{/if}
|
|
||||||
<GithubStars />
|
|
||||||
{#if patch.content}
|
{#if patch.content}
|
||||||
<div class="w-full max-w-4xl pl-4 pr-4 pt-4 relative">
|
<div class="w-full max-w-4xl pl-4 pr-4 pt-4 relative">
|
||||||
{#if patchNodeHidden}
|
{#if patchNodeHidden}
|
||||||
@@ -53,6 +47,13 @@
|
|||||||
{/if}
|
{/if}
|
||||||
</div>
|
</div>
|
||||||
{/if}
|
{/if}
|
||||||
|
<Title />
|
||||||
|
{#if (!isTauri) && (!isNodeServer)}
|
||||||
|
<h3 class="text-textcolor2 mt-1">Version {appVer}{webAppSubVer}</h3>
|
||||||
|
{:else}
|
||||||
|
<h3 class="text-textcolor2 mt-1">Version {appVer}</h3>
|
||||||
|
{/if}
|
||||||
|
<GithubStars />
|
||||||
{/if}
|
{/if}
|
||||||
<div class="w-full flex p-4 flex-col text-textcolor max-w-4xl">
|
<div class="w-full flex p-4 flex-col text-textcolor max-w-4xl">
|
||||||
{#if !$OpenRealmStore}
|
{#if !$OpenRealmStore}
|
||||||
|
|||||||
Reference in New Issue
Block a user