WIP: 👏 Accessibility 👏 Settings 👏 Everywhere 👏

This commit is contained in:
Crimekillz 2024-04-17 00:30:13 +02:00
parent 8f0bb0d381
commit d06005d87b
4 changed files with 25 additions and 0 deletions

View File

@ -169,6 +169,13 @@ function signup() {
function showMenu(ev) {
os.popupMenu(
[
{
text: i18n.ts.settings,
icon: "ph-gear-six ph-bold ph-lg",
action: () => {
os.pageWindow("/settings");
},
},
{
text: i18n.ts.instanceInfo,
icon: "ph-info ph-bold ph-lg",

View File

@ -148,6 +148,13 @@ export default defineComponent({
showMenu(ev) {
os.popupMenu(
[
{
text: i18n.ts.settings,
icon: "ph-gear-six ph-bold ph-lg",
action: () => {
os.pageWindow("/settings");
},
},
{
text: i18n.t("aboutX", { x: instanceName }),
icon: "ph-info ph-bold ph-lg",

View File

@ -173,6 +173,13 @@ export default defineComponent({
showMenu(ev) {
os.popupMenu(
[
{
text: i18n.ts.settings,
icon: "ph-gear-six ph-bold ph-lg",
action: () => {
os.pageWindow("/settings");
},
},
{
text: i18n.t("aboutX", { x: instanceName }),
icon: "ph-info ph-bold ph-lg",

View File

@ -57,6 +57,10 @@
<i class="ph-magnifying-glass ph-bold ph-lg icon"></i
><span>{{ i18n.ts.search }}</span>
</MkA>
<MkA to="/settings" class="link" active-class="active">
<i class="ph-gear-six ph-bold ph-lg icon"></i
><span>{{ i18n.ts.settings }}</span>
</MkA>
<div class="action">
<button class="_buttonPrimary" @click="signup()">
{{ i18n.ts.signup }}