2021-01-19 20:28:16 +00:00
|
|
|
<template>
|
|
|
|
<v-dialog v-model="show" lazy persistent max-width="500" class="modal-dialog sponsor-dialog" @keydown.esc="close">
|
|
|
|
<v-card raised elevation="24">
|
|
|
|
<v-card-title primary-title class="pb-0">
|
|
|
|
<v-layout row wrap>
|
|
|
|
<v-flex xs9>
|
|
|
|
<h3 class="title mb-0">
|
2021-01-19 20:56:56 +00:00
|
|
|
<translate>Let's Join Forces</translate>
|
2021-01-19 20:28:16 +00:00
|
|
|
</h3>
|
|
|
|
</v-flex>
|
|
|
|
<v-flex xs3 text-xs-right>
|
|
|
|
<v-icon color="secondary-dark">favorite</v-icon>
|
|
|
|
</v-flex>
|
|
|
|
</v-layout>
|
|
|
|
</v-card-title>
|
|
|
|
<v-card-text>
|
|
|
|
<p class="body-1">
|
2021-01-25 21:28:24 +00:00
|
|
|
<translate>This is an early-access feature to say thanks to our sponsors and contributors.</translate>
|
|
|
|
<translate>We'll let you know how to enable it when you sign up on Patreon or GitHub Sponsors.</translate>
|
2021-01-19 20:28:16 +00:00
|
|
|
</p>
|
|
|
|
<p class="body-1">
|
2021-01-25 21:28:24 +00:00
|
|
|
<translate>Your continuous support helps...</translate>
|
2021-01-19 20:28:16 +00:00
|
|
|
</p>
|
|
|
|
<ul>
|
2021-01-25 21:28:24 +00:00
|
|
|
<li><translate>pay for operating expenses and external services like satellite maps</translate></li>
|
|
|
|
<li><translate>developing new features and keeping them free for everyone</translate></li>
|
2021-01-19 20:28:16 +00:00
|
|
|
</ul>
|
|
|
|
<p class="body-1 pt-3">
|
2021-01-25 21:28:24 +00:00
|
|
|
<translate>Please contact us at hello@photoprism.app if you have questions or need help.</translate>
|
2021-01-19 20:28:16 +00:00
|
|
|
</p>
|
|
|
|
</v-card-text>
|
|
|
|
<v-card-actions class="pt-0">
|
|
|
|
<v-layout row wrap class="px-2">
|
2021-01-25 21:28:24 +00:00
|
|
|
<v-flex xs12 sm4 text-xs-right text-sm-left class="py-2">
|
2021-01-19 20:28:16 +00:00
|
|
|
<v-btn small depressed color="secondary-light"
|
|
|
|
class="action-close"
|
|
|
|
@click.stop="close">
|
|
|
|
<translate>No thanks</translate>
|
|
|
|
</v-btn>
|
|
|
|
</v-flex>
|
2021-01-25 21:28:24 +00:00
|
|
|
<v-flex xs12 sm8 text-xs-right class="py-2">
|
2021-01-19 20:28:16 +00:00
|
|
|
<v-btn small depressed color="primary-button" class="white--text action-close"
|
|
|
|
@click.stop="signIn">
|
|
|
|
<translate>I'm a sponsor</translate>
|
|
|
|
</v-btn>
|
|
|
|
<v-btn small depressed color="primary-button" class="white--text action-close"
|
|
|
|
@click.stop="signUp">
|
2021-01-25 21:28:24 +00:00
|
|
|
<translate>Sign Up</translate>
|
2021-01-19 20:28:16 +00:00
|
|
|
</v-btn>
|
|
|
|
</v-flex>
|
|
|
|
</v-layout>
|
|
|
|
</v-card-actions>
|
|
|
|
</v-card>
|
|
|
|
</v-dialog>
|
|
|
|
</template>
|
|
|
|
<script>
|
|
|
|
export default {
|
|
|
|
name: 'PSponsorDialog',
|
|
|
|
props: {
|
|
|
|
show: Boolean,
|
|
|
|
},
|
|
|
|
data() {
|
|
|
|
return {
|
|
|
|
host: window.location.host,
|
|
|
|
};
|
|
|
|
},
|
|
|
|
methods: {
|
|
|
|
close() {
|
|
|
|
this.$emit('close');
|
|
|
|
},
|
|
|
|
signIn() {
|
|
|
|
window.open("https://photoprism.app/contact", "_blank");
|
|
|
|
this.$emit('close');
|
|
|
|
},
|
|
|
|
signUp() {
|
|
|
|
window.open("https://www.patreon.com/photoprism", "_blank");
|
|
|
|
this.$emit('close');
|
|
|
|
},
|
|
|
|
},
|
|
|
|
};
|
|
|
|
</script>
|