update donate page
Main daploy / deploy (push) Successful in 35s

This commit is contained in:
2024-11-19 01:20:54 +02:00
parent 91e1e32ff4
commit 804fcf5b90
+18 -21
View File
@@ -73,38 +73,35 @@
</template>
<script setup lang="ts">
import { ref } from 'vue'
import InputText from 'primevue/inputtext'
import Textarea from 'primevue/textarea'
import Button from 'primevue/button'
// import { ref } from 'vue'
// Локальные состояния
const email = ref('')
const message = ref('')
const success = ref(false)
// const email = ref('')
// const message = ref('')
// const success = ref(false)
// Конфигурация для шаринга
const siteUrl = encodeURIComponent('https://hereconnect.condev.ru')
const shareText = encodeURIComponent('Попробуйте НаСвязи — удобный способ связаться через QR-код!')
const shareImage = encodeURIComponent(
'https://hereconnect.condev.ru/images/qr-code-logo-200x200.jpg',
)
// const shareImage = encodeURIComponent(
// 'https://hereconnect.condev.ru/images/qr-code-logo-200x200.jpg',
// )
// Генерация URL для Telegram
const telegramShareUrl = `https://t.me/share/url?url=${siteUrl}&text=${shareText}&photo=${shareImage}`
const telegramShareUrl = `https://t.me/share/url?url=${siteUrl}&text=${shareText}` // &photo=${shareImage}`
// Генерация URL для WhatsApp
const whatsappShareUrl = `https://api.whatsapp.com/send?text=${shareText}%0A${siteUrl}%0A${shareImage}`
const whatsappShareUrl = `https://api.whatsapp.com/send?text=${shareText}%0A${siteUrl}`
// Обработка отправки отзыва
function sendFeedback() {
console.log('Отзыв отправлен', { email: email.value, message: message.value })
// Имитация отправки данных
email.value = ''
message.value = ''
success.value = true
setTimeout(() => (success.value = false), 5000) // Убираем сообщение через 5 секунд
}
// // Обработка отправки отзыва
// function sendFeedback() {
// console.log('Отзыв отправлен', { email: email.value, message: message.value })
// // Имитация отправки данных
// email.value = ''
// message.value = ''
// success.value = true
// setTimeout(() => (success.value = false), 5000) // Убираем сообщение через 5 секунд
// }
</script>
<style scoped>