added ko-fi to demo mode
This commit is contained in:
parent
f380f3c6da
commit
b536466d85
|
|
@ -128,6 +128,7 @@ function noteApp() {
|
|||
appName: 'NoteDiscovery',
|
||||
appVersion: '0.0.0',
|
||||
authEnabled: false,
|
||||
demoMode: false,
|
||||
notes: [],
|
||||
currentNote: '',
|
||||
currentNoteName: '',
|
||||
|
|
@ -663,6 +664,7 @@ function noteApp() {
|
|||
this.appName = config.name;
|
||||
this.appVersion = config.version || '0.0.0';
|
||||
this.authEnabled = config.authentication?.enabled || false;
|
||||
this.demoMode = config.demoMode || false;
|
||||
} catch (error) {
|
||||
console.error('Failed to load config:', error);
|
||||
}
|
||||
|
|
|
|||
|
|
@ -1733,7 +1733,22 @@
|
|||
style="color: var(--accent-primary);"
|
||||
>
|
||||
notediscovery.com
|
||||
</a>
|
||||
</a>
|
||||
<!-- Ko-fi support link (demo mode only) -->
|
||||
<template x-if="demoMode">
|
||||
<div class="mt-3">
|
||||
<a
|
||||
href="https://ko-fi.com/gamosoft"
|
||||
target="_blank"
|
||||
rel="noopener noreferrer"
|
||||
class="inline-flex items-center gap-1.5 px-3 py-1.5 text-xs font-medium rounded-full transition-all hover:scale-105"
|
||||
style="background-color: #ff5e5b; color: white;"
|
||||
>
|
||||
<span>☕</span>
|
||||
<span x-text="t('support.enjoying_demo')"></span>
|
||||
</a>
|
||||
</div>
|
||||
</template>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
|
|
|||
|
|
@ -224,6 +224,10 @@
|
|||
"reserved_name": "Dieser Name ist vom Betriebssystem reserviert.",
|
||||
"invalid_dot": "Der Name darf nicht nur ein Punkt sein.",
|
||||
"trailing_dot_space": "Der Name darf nicht mit einem Punkt oder Leerzeichen enden."
|
||||
},
|
||||
|
||||
"support": {
|
||||
"enjoying_demo": "Unterstütze dieses Projekt"
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
|||
|
|
@ -224,6 +224,10 @@
|
|||
"reserved_name": "This name is reserved by the operating system.",
|
||||
"invalid_dot": "Name cannot be just a dot.",
|
||||
"trailing_dot_space": "Name cannot end with a dot or space."
|
||||
},
|
||||
|
||||
"support": {
|
||||
"enjoying_demo": "Support this project"
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
|||
|
|
@ -224,6 +224,10 @@
|
|||
"reserved_name": "Este nombre está reservado por el sistema operativo.",
|
||||
"invalid_dot": "El nombre no puede ser solo un punto.",
|
||||
"trailing_dot_space": "El nombre no puede terminar con un punto o espacio."
|
||||
},
|
||||
|
||||
"support": {
|
||||
"enjoying_demo": "Apoya este proyecto"
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
|||
|
|
@ -224,6 +224,10 @@
|
|||
"reserved_name": "Ce nom est réservé par le système d'exploitation.",
|
||||
"invalid_dot": "Le nom ne peut pas être juste un point.",
|
||||
"trailing_dot_space": "Le nom ne peut pas se terminer par un point ou un espace."
|
||||
},
|
||||
|
||||
"support": {
|
||||
"enjoying_demo": "Soutenez ce projet"
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
|||
|
|
@ -224,6 +224,10 @@
|
|||
"reserved_name": "此名称被操作系统保留。",
|
||||
"invalid_dot": "名称不能只是一个点。",
|
||||
"trailing_dot_space": "名称不能以点或空格结尾。"
|
||||
},
|
||||
|
||||
"support": {
|
||||
"enjoying_demo": "支持此项目"
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue