2024-11-19 01:17:16 +02:00
|
|
|
<template>
|
2024-12-06 21:20:27 +02:00
|
|
|
<LayoutWithTabs>
|
|
|
|
|
<template #footer>
|
2024-12-08 11:06:31 +02:00
|
|
|
<footer
|
|
|
|
|
class="py-4 border-t text-center text-sm hidden sm:block border-gray-200 dark:border-gray-700 text-gray-600 dark:text-gray-400"
|
|
|
|
|
>
|
2024-12-06 21:20:27 +02:00
|
|
|
<p>НаСвязи © 2024</p>
|
|
|
|
|
</footer>
|
|
|
|
|
</template>
|
2024-12-02 09:21:31 +02:00
|
|
|
|
2024-12-06 21:20:27 +02:00
|
|
|
<MetaHead>
|
|
|
|
|
<title>Поддержите развитие НаСвязи</title>
|
|
|
|
|
<meta name="description" content="" />
|
|
|
|
|
</MetaHead>
|
2024-11-19 01:17:16 +02:00
|
|
|
|
2024-12-06 21:20:27 +02:00
|
|
|
<section class="max-w-2xl mx-auto py-8 px-4 text-center">
|
2024-12-08 11:06:31 +02:00
|
|
|
<h1 class="text-2xl font-bold mb-4 text-gray-900 dark:text-gray-100">
|
|
|
|
|
Поддержите развитие НаСвязи
|
|
|
|
|
</h1>
|
|
|
|
|
<p class="text-gray-600 dark:text-gray-400 mb-6">
|
2024-12-06 21:20:27 +02:00
|
|
|
Мы делаем всё, чтобы НаСвязи оставался удобным и полезным. Вы можете помочь нам, поддержав
|
|
|
|
|
проект на Бусти.
|
|
|
|
|
</p>
|
2024-11-19 01:17:16 +02:00
|
|
|
|
2024-12-06 21:20:27 +02:00
|
|
|
<!-- Ссылка на Бусти -->
|
|
|
|
|
<div class="mb-8">
|
2024-11-19 01:17:16 +02:00
|
|
|
<a
|
2024-12-06 21:20:27 +02:00
|
|
|
href="https://boosty.to/hereconnect/donate"
|
2024-11-19 01:17:16 +02:00
|
|
|
target="_blank"
|
|
|
|
|
rel="noopener noreferrer"
|
2024-12-08 11:06:31 +02:00
|
|
|
class="inline-block bg-orange-500 text-white font-semibold py-3 px-6 rounded-lg shadow hover:bg-orange-600 transition duration-300 dark:hover:bg-orange-700"
|
2024-11-19 01:17:16 +02:00
|
|
|
>
|
2024-12-06 21:20:27 +02:00
|
|
|
Поддержать через Бусти
|
2024-11-19 01:17:16 +02:00
|
|
|
</a>
|
2024-12-06 21:20:27 +02:00
|
|
|
</div>
|
2024-11-19 01:17:16 +02:00
|
|
|
|
2024-12-06 21:20:27 +02:00
|
|
|
<!-- Рассказать друзьям -->
|
|
|
|
|
<div class="mb-8">
|
2024-12-08 11:06:31 +02:00
|
|
|
<h2 class="text-xl font-semibold mb-4 text-gray-900 dark:text-gray-100">
|
|
|
|
|
Рассказать друзьям
|
|
|
|
|
</h2>
|
|
|
|
|
<p class="text-gray-600 dark:text-gray-400 mb-4">Поделитесь ссылкой на НаСвязи:</p>
|
2024-12-06 21:20:27 +02:00
|
|
|
<div class="flex justify-center gap-6">
|
|
|
|
|
<!-- Telegram -->
|
|
|
|
|
<a
|
|
|
|
|
:href="telegramShareUrl"
|
|
|
|
|
target="_blank"
|
|
|
|
|
rel="noopener noreferrer"
|
|
|
|
|
class="p-button-rounded p-button-text p-button-lg inline-flex items-center justify-center"
|
|
|
|
|
>
|
|
|
|
|
<i class="pi pi-telegram !text-3xl text-blue-500"></i>
|
|
|
|
|
</a>
|
|
|
|
|
|
|
|
|
|
<!-- WhatsApp -->
|
|
|
|
|
<a
|
|
|
|
|
:href="whatsappShareUrl"
|
|
|
|
|
target="_blank"
|
|
|
|
|
rel="noopener noreferrer"
|
|
|
|
|
class="p-button-rounded p-button-text p-button-lg inline-flex items-center justify-center"
|
|
|
|
|
>
|
|
|
|
|
<i class="pi pi-whatsapp !text-3xl text-green-500"></i>
|
|
|
|
|
</a>
|
|
|
|
|
</div>
|
2024-11-19 01:17:16 +02:00
|
|
|
</div>
|
2024-12-06 21:20:27 +02:00
|
|
|
</section>
|
|
|
|
|
</LayoutWithTabs>
|
2024-11-19 01:17:16 +02:00
|
|
|
</template>
|
|
|
|
|
|
|
|
|
|
<script setup lang="ts">
|
2024-11-19 01:20:54 +02:00
|
|
|
// import { ref } from 'vue'
|
2024-11-19 01:17:16 +02:00
|
|
|
|
|
|
|
|
// Локальные состояния
|
2024-11-19 01:20:54 +02:00
|
|
|
// const email = ref('')
|
|
|
|
|
// const message = ref('')
|
|
|
|
|
// const success = ref(false)
|
2024-11-19 01:17:16 +02:00
|
|
|
|
|
|
|
|
// Конфигурация для шаринга
|
2024-11-26 21:40:31 +02:00
|
|
|
const siteUrl = encodeURIComponent(location.origin)
|
2024-11-19 01:17:16 +02:00
|
|
|
const shareText = encodeURIComponent('Попробуйте НаСвязи — удобный способ связаться через QR-код!')
|
2024-11-19 01:20:54 +02:00
|
|
|
// const shareImage = encodeURIComponent(
|
|
|
|
|
// 'https://hereconnect.condev.ru/images/qr-code-logo-200x200.jpg',
|
|
|
|
|
// )
|
2024-11-19 01:17:16 +02:00
|
|
|
|
|
|
|
|
// Генерация URL для Telegram
|
2024-11-19 01:20:54 +02:00
|
|
|
const telegramShareUrl = `https://t.me/share/url?url=${siteUrl}&text=${shareText}` // &photo=${shareImage}`
|
2024-11-19 01:17:16 +02:00
|
|
|
|
|
|
|
|
// Генерация URL для WhatsApp
|
2024-11-19 01:20:54 +02:00
|
|
|
const whatsappShareUrl = `https://api.whatsapp.com/send?text=${shareText}%0A${siteUrl}`
|
2024-11-19 01:17:16 +02:00
|
|
|
|
2024-11-19 01:20:54 +02:00
|
|
|
// // Обработка отправки отзыва
|
|
|
|
|
// function sendFeedback() {
|
|
|
|
|
// console.log('Отзыв отправлен', { email: email.value, message: message.value })
|
|
|
|
|
// // Имитация отправки данных
|
|
|
|
|
// email.value = ''
|
|
|
|
|
// message.value = ''
|
|
|
|
|
// success.value = true
|
|
|
|
|
// setTimeout(() => (success.value = false), 5000) // Убираем сообщение через 5 секунд
|
|
|
|
|
// }
|
2024-11-19 01:17:16 +02:00
|
|
|
</script>
|
|
|
|
|
|
|
|
|
|
<style scoped>
|
|
|
|
|
/* Стили для textarea */
|
|
|
|
|
textarea {
|
|
|
|
|
resize: none;
|
|
|
|
|
}
|
|
|
|
|
</style>
|