-
+
{{ i18n.ts.home }}
diff --git a/packages/client/src/scripts/helpMenu.ts b/packages/client/src/scripts/helpMenu.ts
index 7d08393f84..00ca019016 100644
--- a/packages/client/src/scripts/helpMenu.ts
+++ b/packages/client/src/scripts/helpMenu.ts
@@ -6,7 +6,6 @@ import XTutorial from "../components/MkTutorialDialog.vue";
import { i18n } from "@/i18n";
import { $i } from "@/account";
-
export function openHelpMenu_(ev: MouseEvent) {
os.popupMenu(
[
@@ -42,33 +41,39 @@ export function openHelpMenu_(ev: MouseEvent) {
window.open("https://calckey.org/apps", "_blank");
},
},
- $i ? null : {
- type: "link",
- text: i18n.ts._mfm.cheatSheet,
- icon: "ph-question ph-bold ph-lg",
- to: "/mfm-cheat-sheet",
- },
- $i ? {
- type: "button",
- action: async () => {
- defaultStore.set("tutorial", 0);
- os.popup(XTutorial, {}, {}, "closed");
- },
- text: i18n.ts.replayTutorial,
- icon: "ph-circle-wavy-question ph-bold ph-lg",
- } : undefined,
+ $i
+ ? null
+ : {
+ type: "link",
+ text: i18n.ts._mfm.cheatSheet,
+ icon: "ph-question ph-bold ph-lg",
+ to: "/mfm-cheat-sheet",
+ },
+ $i
+ ? {
+ type: "button",
+ action: async () => {
+ defaultStore.set("tutorial", 0);
+ os.popup(XTutorial, {}, {}, "closed");
+ },
+ text: i18n.ts.replayTutorial,
+ icon: "ph-circle-wavy-question ph-bold ph-lg",
+ }
+ : undefined,
null,
{
type: "parent",
text: i18n.ts.developer,
icon: "ph-code ph-bold ph-lg",
children: [
- $i ? {
- type: "link",
- to: "/api-console",
- text: "API Console",
- icon: "ph-terminal-window ph-bold ph-lg",
- } : undefined,
+ $i
+ ? {
+ type: "link",
+ to: "/api-console",
+ text: "API Console",
+ icon: "ph-terminal-window ph-bold ph-lg",
+ }
+ : undefined,
{
text: i18n.ts.document,
icon: "ph-file-doc ph-bold ph-lg",
diff --git a/packages/client/src/style.scss b/packages/client/src/style.scss
index a0551db4a1..1f95121db6 100644
--- a/packages/client/src/style.scss
+++ b/packages/client/src/style.scss
@@ -540,11 +540,13 @@ hr {
}
}
-._formLinksGridFlex { // "grid", anyways display flex my beloved
+._formLinksGridFlex {
+ // "grid", anyways display flex my beloved
display: flex;
flex-wrap: wrap;
gap: 12px;
- > ._button, > .linkBoxed {
+ > ._button,
+ > .linkBoxed {
flex-basis: 34%;
flex-grow: 1;
width: 0;
diff --git a/packages/client/src/ui/visitor.vue b/packages/client/src/ui/visitor.vue
index d0a3908d80..6f0649ba9f 100644
--- a/packages/client/src/ui/visitor.vue
+++ b/packages/client/src/ui/visitor.vue
@@ -6,7 +6,10 @@
-