Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/nextcloud/notes.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'src/components/HelpMobile.vue')
-rw-r--r--src/components/HelpMobile.vue77
1 files changed, 77 insertions, 0 deletions
diff --git a/src/components/HelpMobile.vue b/src/components/HelpMobile.vue
new file mode 100644
index 00000000..79d015c1
--- /dev/null
+++ b/src/components/HelpMobile.vue
@@ -0,0 +1,77 @@
+<template>
+ <Fragment>
+ <div class="feature icon-phone">
+ {{ t('notes', 'Install the app for your mobile phone in order to access your notes from everywhere.') }}
+ </div>
+ <div class="badge-wrapper">
+ <a target="_blank" href="https://github.com/stefan-niedermann/nextcloud-notes">
+ {{ t('notes', 'Android app: {notes} by {company}', {notes: 'Nextcloud Notes', company: 'Niedermann IT-Dienstleistungen'}) }}
+ </a>
+ <div>
+ <div class="badge">
+ <a target="_blank" href="https://play.google.com/store/apps/details?id=it.niedermann.owncloud.notes">
+ <img :src="getRoute('badge_playstore.svg')" class="appstore-badge badge-playstore-fix">
+ </a>
+ </div>
+ <div class="badge">
+ <a target="_blank" href="https://f-droid.org/repository/browse/?fdid=it.niedermann.owncloud.notes">
+ <img :src="getRoute('badge_fdroid.svg')" class="appstore-badge">
+ </a>
+ </div>
+ </div>
+ </div>
+ <div class="badge-wrapper">
+ <a target="_blank" href="https://github.com/phedlund/CloudNotes">
+ {{ t('notes', 'iOS app: {notes} by {company}', {notes: 'CloudNotes - Nextcloud Notes', company: 'Peter Hedlund'}) }}
+ </a>
+ <div>
+ <div class="badge">
+ <a target="_blank" href="https://apps.apple.com/app/cloudnotes-owncloud-notes/id813973264">
+ <img :src="getRoute('badge_applestore.svg')" class="appstore-badge badge-playstore-fix">
+ </a>
+ </div>
+ </div>
+ </div>
+ </Fragment>
+</template>
+<script>
+
+import { generateFilePath } from '@nextcloud/router'
+
+import { Fragment } from 'vue-fragment'
+
+export default {
+ components: {
+ Fragment,
+ },
+
+ methods: {
+ getRoute(file) {
+ return generateFilePath('notes', 'img', file)
+ },
+ },
+}
+
+</script>
+<style scoped>
+.badge-wrapper {
+ margin-top: 2em;
+ margin-left: 2em;
+ width: 100%;
+ clear:both;
+}
+
+.badge {
+ float: left;
+}
+
+.appstore-badge {
+ height: 72px;
+ box-sizing: border-box;
+}
+
+.badge-playstore-fix {
+ padding: 12px;
+}
+
+</style>