Spaces:
Running
Running
Add 2 files
Browse files- index.html +148 -0
- prompts.txt +2 -1
index.html
CHANGED
@@ -149,11 +149,46 @@
|
|
149 |
transition: transform 0.3s ease;
|
150 |
text-align: center;
|
151 |
border: 1px solid #3b82f6;
|
|
|
|
|
152 |
}
|
153 |
|
154 |
.qr-popup.active {
|
155 |
transform: translate(-50%, -50%) scale(1);
|
156 |
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
157 |
</style>
|
158 |
</head>
|
159 |
<body class="min-h-screen">
|
@@ -446,6 +481,9 @@
|
|
446 |
<button class="bg-blue-600 hover:bg-blue-500 text-white w-12 h-12 rounded-full shadow-lg flex items-center justify-center transition-all" onclick="openASRModal()">
|
447 |
<i class="fas fa-plus"></i>
|
448 |
</button>
|
|
|
|
|
|
|
449 |
</div>
|
450 |
|
451 |
<!-- ASR Modal -->
|
@@ -498,6 +536,37 @@
|
|
498 |
</div>
|
499 |
<div id="qrCode" class="mb-3 mx-auto"></div>
|
500 |
<p class="text-xs text-slate-400">Scan to share this story</p>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
501 |
</div>
|
502 |
|
503 |
<script>
|
@@ -528,6 +597,10 @@
|
|
528 |
|
529 |
// Show breaking news panel after delay
|
530 |
setTimeout(showBreakingPanel, 10000);
|
|
|
|
|
|
|
|
|
531 |
});
|
532 |
|
533 |
// Breaking news panel functions
|
@@ -621,6 +694,10 @@
|
|
621 |
qrTitle.textContent = title;
|
622 |
qrCode.innerHTML = '';
|
623 |
|
|
|
|
|
|
|
|
|
624 |
// Generate QR code
|
625 |
const qr = qrcode(0, 'L');
|
626 |
qr.addData(url);
|
@@ -636,6 +713,77 @@
|
|
636 |
document.getElementById('qrPopup').classList.remove('active');
|
637 |
document.getElementById('asrModalOverlay').classList.remove('active');
|
638 |
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
639 |
</script>
|
640 |
<p style="border-radius: 8px; text-align: center; font-size: 12px; color: #fff; margin-top: 16px;position: fixed; left: 8px; bottom: 8px; z-index: 10; background: rgba(0, 0, 0, 0.8); padding: 4px 8px;">Made with <img src="https://enzostvs-deepsite.hf.space/logo.svg" alt="DeepSite Logo" style="width: 16px; height: 16px; vertical-align: middle;display:inline-block;margin-right:3px;filter:brightness(0) invert(1);"><a href="https://enzostvs-deepsite.hf.space" style="color: #fff;text-decoration: underline;" target="_blank" >DeepSite</a> - 🧬 <a href="https://enzostvs-deepsite.hf.space?remix=privateuserh/uaphe-vbeta1-00" style="color: #fff;text-decoration: underline;" target="_blank" >Remix</a></p></body>
|
641 |
</html>
|
|
|
149 |
transition: transform 0.3s ease;
|
150 |
text-align: center;
|
151 |
border: 1px solid #3b82f6;
|
152 |
+
width: 90%;
|
153 |
+
max-width: 300px;
|
154 |
}
|
155 |
|
156 |
.qr-popup.active {
|
157 |
transform: translate(-50%, -50%) scale(1);
|
158 |
}
|
159 |
+
|
160 |
+
/* NFC modal */
|
161 |
+
.nfc-modal {
|
162 |
+
position: fixed;
|
163 |
+
top: 50%;
|
164 |
+
left: 50%;
|
165 |
+
transform: translate(-50%, -50%) scale(0);
|
166 |
+
background: #1e293b;
|
167 |
+
border: 1px solid #10b981;
|
168 |
+
border-radius: 8px;
|
169 |
+
padding: 20px;
|
170 |
+
width: 90%;
|
171 |
+
max-width: 400px;
|
172 |
+
z-index: 1002;
|
173 |
+
opacity: 0;
|
174 |
+
transition: all 0.3s ease;
|
175 |
+
}
|
176 |
+
|
177 |
+
.nfc-modal.active {
|
178 |
+
transform: translate(-50%, -50%) scale(1);
|
179 |
+
opacity: 1;
|
180 |
+
}
|
181 |
+
|
182 |
+
/* NFC animation */
|
183 |
+
@keyframes nfc-pulse {
|
184 |
+
0% { box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.7); }
|
185 |
+
70% { box-shadow: 0 0 0 10px rgba(16, 185, 129, 0); }
|
186 |
+
100% { box-shadow: 0 0 0 0 rgba(16, 185, 129, 0); }
|
187 |
+
}
|
188 |
+
|
189 |
+
.nfc-scanning {
|
190 |
+
animation: nfc-pulse 2s infinite;
|
191 |
+
}
|
192 |
</style>
|
193 |
</head>
|
194 |
<body class="min-h-screen">
|
|
|
481 |
<button class="bg-blue-600 hover:bg-blue-500 text-white w-12 h-12 rounded-full shadow-lg flex items-center justify-center transition-all" onclick="openASRModal()">
|
482 |
<i class="fas fa-plus"></i>
|
483 |
</button>
|
484 |
+
<button class="bg-green-600 hover:bg-green-500 text-white w-12 h-12 rounded-full shadow-lg flex items-center justify-center transition-all" id="nfcButton" onclick="openNFCModal()">
|
485 |
+
<i class="fas fa-wifi"></i>
|
486 |
+
</button>
|
487 |
</div>
|
488 |
|
489 |
<!-- ASR Modal -->
|
|
|
536 |
</div>
|
537 |
<div id="qrCode" class="mb-3 mx-auto"></div>
|
538 |
<p class="text-xs text-slate-400">Scan to share this story</p>
|
539 |
+
<button class="mt-3 bg-green-600 hover:bg-green-500 text-white px-3 py-1 rounded text-sm flex items-center mx-auto" onclick="sendViaNFC()">
|
540 |
+
<i class="fas fa-wifi mr-1"></i> Send via NFC
|
541 |
+
</button>
|
542 |
+
</div>
|
543 |
+
|
544 |
+
<!-- NFC Modal -->
|
545 |
+
<div class="nfc-modal" id="nfcModal">
|
546 |
+
<div class="flex justify-between items-center mb-4">
|
547 |
+
<h3 class="text-lg font-semibold text-white">NFC Transmitter</h3>
|
548 |
+
<button class="text-slate-400 hover:text-white" onclick="closeNFCModal()">
|
549 |
+
<i class="fas fa-times"></i>
|
550 |
+
</button>
|
551 |
+
</div>
|
552 |
+
|
553 |
+
<div class="text-center mb-6">
|
554 |
+
<div class="bg-green-600/20 border-2 border-green-500 rounded-full w-24 h-24 flex items-center justify-center mx-auto mb-3" id="nfcIcon">
|
555 |
+
<i class="fas fa-wifi text-3xl text-green-400"></i>
|
556 |
+
</div>
|
557 |
+
<p class="text-slate-300 text-sm" id="nfcStatus">Ready to transmit selected QR code</p>
|
558 |
+
</div>
|
559 |
+
|
560 |
+
<div class="bg-slate-800/50 rounded-lg p-4 mb-4">
|
561 |
+
<h4 class="text-sm font-medium text-white mb-2">Selected Story</h4>
|
562 |
+
<p class="text-slate-300 text-sm" id="nfcStoryTitle">No story selected</p>
|
563 |
+
</div>
|
564 |
+
|
565 |
+
<div class="flex justify-center">
|
566 |
+
<button class="bg-green-600 hover:bg-green-500 text-white px-4 py-2 rounded flex items-center" id="nfcTransmitButton" onclick="startNFCTransmission()">
|
567 |
+
<i class="fas fa-bolt mr-2"></i> Begin Transmission
|
568 |
+
</button>
|
569 |
+
</div>
|
570 |
</div>
|
571 |
|
572 |
<script>
|
|
|
597 |
|
598 |
// Show breaking news panel after delay
|
599 |
setTimeout(showBreakingPanel, 10000);
|
600 |
+
|
601 |
+
// Initialize NFC variables
|
602 |
+
window.currentQRData = null;
|
603 |
+
window.currentQRTitle = null;
|
604 |
});
|
605 |
|
606 |
// Breaking news panel functions
|
|
|
694 |
qrTitle.textContent = title;
|
695 |
qrCode.innerHTML = '';
|
696 |
|
697 |
+
// Store current QR data for NFC transmission
|
698 |
+
window.currentQRData = url;
|
699 |
+
window.currentQRTitle = title;
|
700 |
+
|
701 |
// Generate QR code
|
702 |
const qr = qrcode(0, 'L');
|
703 |
qr.addData(url);
|
|
|
713 |
document.getElementById('qrPopup').classList.remove('active');
|
714 |
document.getElementById('asrModalOverlay').classList.remove('active');
|
715 |
}
|
716 |
+
|
717 |
+
// NFC functions
|
718 |
+
function openNFCModal() {
|
719 |
+
const nfcModal = document.getElementById('nfcModal');
|
720 |
+
const nfcStoryTitle = document.getElementById('nfcStoryTitle');
|
721 |
+
|
722 |
+
// Update with current story if available
|
723 |
+
if (window.currentQRTitle) {
|
724 |
+
nfcStoryTitle.textContent = window.currentQRTitle;
|
725 |
+
document.getElementById('nfcTransmitButton').disabled = false;
|
726 |
+
} else {
|
727 |
+
nfcStoryTitle.textContent = "No story selected";
|
728 |
+
document.getElementById('nfcTransmitButton').disabled = true;
|
729 |
+
}
|
730 |
+
|
731 |
+
nfcModal.classList.add('active');
|
732 |
+
document.getElementById('asrModalOverlay').classList.add('active');
|
733 |
+
}
|
734 |
+
|
735 |
+
function closeNFCModal() {
|
736 |
+
document.getElementById('nfcModal').classList.remove('active');
|
737 |
+
document.getElementById('asrModalOverlay').classList.remove('active');
|
738 |
+
stopNFCTransmission();
|
739 |
+
}
|
740 |
+
|
741 |
+
function sendViaNFC() {
|
742 |
+
closeQRPopup();
|
743 |
+
openNFCModal();
|
744 |
+
}
|
745 |
+
|
746 |
+
function startNFCTransmission() {
|
747 |
+
const nfcIcon = document.getElementById('nfcIcon');
|
748 |
+
const nfcStatus = document.getElementById('nfcStatus');
|
749 |
+
const nfcButton = document.getElementById('nfcButton');
|
750 |
+
const transmitButton = document.getElementById('nfcTransmitButton');
|
751 |
+
|
752 |
+
if (!window.currentQRData) {
|
753 |
+
nfcStatus.textContent = "Error: No data to transmit";
|
754 |
+
return;
|
755 |
+
}
|
756 |
+
|
757 |
+
// Visual feedback
|
758 |
+
nfcIcon.classList.add('nfc-scanning');
|
759 |
+
nfcStatus.textContent = "Transmitting data via NFC...";
|
760 |
+
transmitButton.disabled = true;
|
761 |
+
transmitButton.innerHTML = '<i class="fas fa-spinner fa-spin mr-2"></i> Transmitting';
|
762 |
+
nfcButton.classList.add('nfc-scanning');
|
763 |
+
|
764 |
+
// Simulate NFC transmission
|
765 |
+
setTimeout(() => {
|
766 |
+
stopNFCTransmission();
|
767 |
+
nfcStatus.textContent = "Transmission complete!";
|
768 |
+
|
769 |
+
// Show success message
|
770 |
+
setTimeout(() => {
|
771 |
+
nfcStatus.textContent = "Ready to transmit selected QR code";
|
772 |
+
}, 2000);
|
773 |
+
}, 3000);
|
774 |
+
}
|
775 |
+
|
776 |
+
function stopNFCTransmission() {
|
777 |
+
const nfcIcon = document.getElementById('nfcIcon');
|
778 |
+
const nfcStatus = document.getElementById('nfcStatus');
|
779 |
+
const nfcButton = document.getElementById('nfcButton');
|
780 |
+
const transmitButton = document.getElementById('nfcTransmitButton');
|
781 |
+
|
782 |
+
nfcIcon.classList.remove('nfc-scanning');
|
783 |
+
nfcButton.classList.remove('nfc-scanning');
|
784 |
+
transmitButton.disabled = false;
|
785 |
+
transmitButton.innerHTML = '<i class="fas fa-bolt mr-2"></i> Begin Transmission';
|
786 |
+
}
|
787 |
</script>
|
788 |
<p style="border-radius: 8px; text-align: center; font-size: 12px; color: #fff; margin-top: 16px;position: fixed; left: 8px; bottom: 8px; z-index: 10; background: rgba(0, 0, 0, 0.8); padding: 4px 8px;">Made with <img src="https://enzostvs-deepsite.hf.space/logo.svg" alt="DeepSite Logo" style="width: 16px; height: 16px; vertical-align: middle;display:inline-block;margin-right:3px;filter:brightness(0) invert(1);"><a href="https://enzostvs-deepsite.hf.space" style="color: #fff;text-decoration: underline;" target="_blank" >DeepSite</a> - 🧬 <a href="https://enzostvs-deepsite.hf.space?remix=privateuserh/uaphe-vbeta1-00" style="color: #fff;text-decoration: underline;" target="_blank" >Remix</a></p></body>
|
789 |
</html>
|
prompts.txt
CHANGED
@@ -1,2 +1,3 @@
|
|
1 |
Create a user friendly site news site for the UAP Phenomena the posts should be short structured like an SMS message sources include https://www.google.com/url?sa=t&source=web&rct=j&opi=89978449&url=https://www.space.com/ufos-uap-history-sightings-mysteries&ved=2ahUKEwj8t820weSMAxWYLEQIHbgSLCU4ChAWegQINBAB&usg=AOvVaw24SkrdrmkTEWgzdJmSBvCo https://www.google.com/url?sa=t&source=web&rct=j&opi=89978449&url=https://nuforc.org/&ved=2ahUKEwjL0Kz9wOSMAxW4le4BHflZNoIQFnoECEAQAQ&usg=AOvVaw1a844ErQ97vdCd3TvaoI3M https://www.google.com/url?sa=t&source=web&rct=j&opi=89978449&url=https://en.wikipedia.org/wiki/List_of_reported_UFO_sightings&ved=2ahUKEwjL0Kz9wOSMAxW4le4BHflZNoIQFnoFCIYBEAE&usg=AOvVaw0WOX5sdaurC3AidtGJt8cB https://www.google.com/url?sa=t&source=web&rct=j&opi=89978449&url=https://www.archives.gov/research/topics/uaps&ved=2ahUKEwjL0Kz9wOSMAxW4le4BHflZNoIQFnoFCIcBEAE&usg=AOvVaw1ocJHQllNsgcF933hCJUVJ https://www.google.com/url?sa=t&source=web&rct=j&opi=89978449&url=https://nuforc.org/&ved=2ahUKEwjL0Kz9wOSMAxW4le4BHflZNoIQFnoECEAQAQ&usg=AOvVaw1a844ErQ97vdCd3TvaoI3M https://www.google.com/url?sa=t&source=web&rct=j&opi=89978449&url=https://www.archives.gov/research/topics/uaps&ved=2ahUKEwjL0Kz9wOSMAxW4le4BHflZNoIQFnoFCIcBEAE&usg=AOvVaw1ocJHQllNsgcF933hCJUVJ https://www.google.com/url?sa=t&source=web&rct=j&opi=89978449&url=https://www.defense.gov/News/News-Stories/Article/Article/3965403/dod-examining-unidentified-anomalous-phenomena/&ved=2ahUKEwjL0Kz9wOSMAxW4le4BHflZNoIQFnoECHEQAQ&usg=AOvVaw1u36Wl5lmNH31UnHfcIVx5 https://www.google.com/url?sa=t&source=web&rct=j&opi=89978449&url=https://en.wikipedia.org/wiki/List_of_reported_UFO_sightings&ved=2ahUKEwjL0Kz9wOSMAxW4le4BHflZNoIQFnoFCIYBEAE&usg=AOvVaw0WOX5sdaurC3AidtGJt8cB and reference but not link to the following Resources https://www.google.com/url?sa=t&source=web&rct=j&opi=89978449&url=https://www.defense.gov/News/News-Stories/Article/Article/3965403/dod-examining-unidentified-anomalous-phenomena/&ved=2ahUKEwjL0Kz9wOSMAxW4le4BHflZNoIQFnoECHEQAQ&usg=AOvVaw1u36Wl5lmNH31UnHfcIVx5 https://www.google.com/url?sa=t&source=web&rct=j&opi=89978449&url=https://www.aaro.mil/&ved=2ahUKEwjL0Kz9wOSMAxW4le4BHflZNoIQFnoECD8QAQ&usg=AOvVaw2rM6dTgvtuADyDNqLe8RDD
|
2 |
-
Auto update News stories for 2024 and a Breaking UAP Sightings Panel for 2025 make a floating button for breaking Sightings automatically add Mini QR codes that can be generated for each story that QR Code should feature the headline then the story is linked to the QR code create an ASR floating window to record a live post the ASR window should be able to create a new post and corresponding QR code
|
|
|
|
1 |
Create a user friendly site news site for the UAP Phenomena the posts should be short structured like an SMS message sources include https://www.google.com/url?sa=t&source=web&rct=j&opi=89978449&url=https://www.space.com/ufos-uap-history-sightings-mysteries&ved=2ahUKEwj8t820weSMAxWYLEQIHbgSLCU4ChAWegQINBAB&usg=AOvVaw24SkrdrmkTEWgzdJmSBvCo https://www.google.com/url?sa=t&source=web&rct=j&opi=89978449&url=https://nuforc.org/&ved=2ahUKEwjL0Kz9wOSMAxW4le4BHflZNoIQFnoECEAQAQ&usg=AOvVaw1a844ErQ97vdCd3TvaoI3M https://www.google.com/url?sa=t&source=web&rct=j&opi=89978449&url=https://en.wikipedia.org/wiki/List_of_reported_UFO_sightings&ved=2ahUKEwjL0Kz9wOSMAxW4le4BHflZNoIQFnoFCIYBEAE&usg=AOvVaw0WOX5sdaurC3AidtGJt8cB https://www.google.com/url?sa=t&source=web&rct=j&opi=89978449&url=https://www.archives.gov/research/topics/uaps&ved=2ahUKEwjL0Kz9wOSMAxW4le4BHflZNoIQFnoFCIcBEAE&usg=AOvVaw1ocJHQllNsgcF933hCJUVJ https://www.google.com/url?sa=t&source=web&rct=j&opi=89978449&url=https://nuforc.org/&ved=2ahUKEwjL0Kz9wOSMAxW4le4BHflZNoIQFnoECEAQAQ&usg=AOvVaw1a844ErQ97vdCd3TvaoI3M https://www.google.com/url?sa=t&source=web&rct=j&opi=89978449&url=https://www.archives.gov/research/topics/uaps&ved=2ahUKEwjL0Kz9wOSMAxW4le4BHflZNoIQFnoFCIcBEAE&usg=AOvVaw1ocJHQllNsgcF933hCJUVJ https://www.google.com/url?sa=t&source=web&rct=j&opi=89978449&url=https://www.defense.gov/News/News-Stories/Article/Article/3965403/dod-examining-unidentified-anomalous-phenomena/&ved=2ahUKEwjL0Kz9wOSMAxW4le4BHflZNoIQFnoECHEQAQ&usg=AOvVaw1u36Wl5lmNH31UnHfcIVx5 https://www.google.com/url?sa=t&source=web&rct=j&opi=89978449&url=https://en.wikipedia.org/wiki/List_of_reported_UFO_sightings&ved=2ahUKEwjL0Kz9wOSMAxW4le4BHflZNoIQFnoFCIYBEAE&usg=AOvVaw0WOX5sdaurC3AidtGJt8cB and reference but not link to the following Resources https://www.google.com/url?sa=t&source=web&rct=j&opi=89978449&url=https://www.defense.gov/News/News-Stories/Article/Article/3965403/dod-examining-unidentified-anomalous-phenomena/&ved=2ahUKEwjL0Kz9wOSMAxW4le4BHflZNoIQFnoECHEQAQ&usg=AOvVaw1u36Wl5lmNH31UnHfcIVx5 https://www.google.com/url?sa=t&source=web&rct=j&opi=89978449&url=https://www.aaro.mil/&ved=2ahUKEwjL0Kz9wOSMAxW4le4BHflZNoIQFnoECD8QAQ&usg=AOvVaw2rM6dTgvtuADyDNqLe8RDD
|
2 |
+
Auto update News stories for 2024 and a Breaking UAP Sightings Panel for 2025 make a floating button for breaking Sightings automatically add Mini QR codes that can be generated for each story that QR Code should feature the headline then the story is linked to the QR code create an ASR floating window to record a live post the ASR window should be able to create a new post and corresponding QR code
|
3 |
+
Create a floating button linking all the QR codes to an NFC (Near Field Communications) transmitter to send any QR code selctedQR code
|