Spaces:
Running
Running
file:///C:/Users/user/Desktop/g.html give me the futuristic and advanced way of this with url and convert it into QR code
Browse files- README.md +8 -5
- index.html +185 -18
README.md
CHANGED
|
@@ -1,10 +1,13 @@
|
|
| 1 |
---
|
| 2 |
-
title:
|
| 3 |
-
|
| 4 |
-
|
| 5 |
-
|
| 6 |
sdk: static
|
| 7 |
pinned: false
|
|
|
|
|
|
|
| 8 |
---
|
| 9 |
|
| 10 |
-
|
|
|
|
|
|
| 1 |
---
|
| 2 |
+
title: QuantumLink QRizer 🚀
|
| 3 |
+
colorFrom: red
|
| 4 |
+
colorTo: blue
|
| 5 |
+
emoji: 🐳
|
| 6 |
sdk: static
|
| 7 |
pinned: false
|
| 8 |
+
tags:
|
| 9 |
+
- deepsite-v3
|
| 10 |
---
|
| 11 |
|
| 12 |
+
# Welcome to your new DeepSite project!
|
| 13 |
+
This project was created with [DeepSite](https://deepsite.hf.co).
|
index.html
CHANGED
|
@@ -1,19 +1,186 @@
|
|
| 1 |
-
<!
|
| 2 |
-
<html>
|
| 3 |
-
|
| 4 |
-
|
| 5 |
-
|
| 6 |
-
|
| 7 |
-
|
| 8 |
-
|
| 9 |
-
|
| 10 |
-
|
| 11 |
-
|
| 12 |
-
|
| 13 |
-
|
| 14 |
-
|
| 15 |
-
|
| 16 |
-
|
| 17 |
-
|
| 18 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 19 |
</html>
|
|
|
|
| 1 |
+
<!DOCTYPE html>
|
| 2 |
+
<html lang="en">
|
| 3 |
+
<head>
|
| 4 |
+
<meta charset="UTF-8">
|
| 5 |
+
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
| 6 |
+
<title>QuantumLink QRizer</title>
|
| 7 |
+
<script src="https://cdn.tailwindcss.com"></script>
|
| 8 |
+
<script src="https://unpkg.com/feather-icons"></script>
|
| 9 |
+
<script src="https://cdn.jsdelivr.net/npm/vanta@latest/dist/vanta.net.min.js"></script>
|
| 10 |
+
<script src="https://cdn.jsdelivr.net/npm/qrcode@1.5.1/build/qrcode.min.js"></script>
|
| 11 |
+
<style>
|
| 12 |
+
.glow {
|
| 13 |
+
text-shadow: 0 0 10px rgba(100, 255, 255, 0.7);
|
| 14 |
+
}
|
| 15 |
+
.input-glow {
|
| 16 |
+
box-shadow: 0 0 15px rgba(100, 200, 255, 0.5);
|
| 17 |
+
}
|
| 18 |
+
.qr-container {
|
| 19 |
+
transition: all 0.5s ease;
|
| 20 |
+
}
|
| 21 |
+
.qr-container:hover {
|
| 22 |
+
transform: scale(1.05);
|
| 23 |
+
filter: drop-shadow(0 0 15px rgba(100, 255, 255, 0.7));
|
| 24 |
+
}
|
| 25 |
+
</style>
|
| 26 |
+
</head>
|
| 27 |
+
<body class="bg-gray-900 text-white min-h-screen">
|
| 28 |
+
<div id="vanta-bg"></div>
|
| 29 |
+
|
| 30 |
+
<div class="container mx-auto px-4 py-12 relative z-10">
|
| 31 |
+
<div class="max-w-3xl mx-auto text-center mb-12">
|
| 32 |
+
<h1 class="text-5xl md:text-6xl font-bold mb-4 glow">
|
| 33 |
+
Quantum<span class="text-cyan-400">Link</span> QRizer
|
| 34 |
+
</h1>
|
| 35 |
+
<p class="text-xl text-cyan-200">
|
| 36 |
+
Transform any URL into a futuristic QR code with quantum encryption
|
| 37 |
+
</p>
|
| 38 |
+
</div>
|
| 39 |
+
|
| 40 |
+
<div class="bg-gray-800 bg-opacity-70 backdrop-blur-lg rounded-xl p-8 shadow-2xl border border-cyan-500 border-opacity-30">
|
| 41 |
+
<div class="grid md:grid-cols-2 gap-8 items-center">
|
| 42 |
+
<div>
|
| 43 |
+
<div class="mb-6">
|
| 44 |
+
<label for="url-input" class="block text-cyan-300 mb-2 text-lg">
|
| 45 |
+
<i data-feather="link" class="inline mr-2"></i> Enter URL
|
| 46 |
+
</label>
|
| 47 |
+
<input
|
| 48 |
+
type="text"
|
| 49 |
+
id="url-input"
|
| 50 |
+
placeholder="https://example.com"
|
| 51 |
+
class="w-full px-4 py-3 rounded-lg bg-gray-700 border border-cyan-500 text-white focus:outline-none focus:ring-2 focus:ring-cyan-400 input-glow"
|
| 52 |
+
>
|
| 53 |
+
</div>
|
| 54 |
+
<div class="flex flex-wrap gap-4">
|
| 55 |
+
<button
|
| 56 |
+
id="generate-btn"
|
| 57 |
+
class="px-6 py-3 bg-gradient-to-r from-cyan-500 to-blue-600 rounded-lg font-medium hover:from-cyan-400 hover:to-blue-500 transition-all transform hover:scale-105 flex items-center"
|
| 58 |
+
>
|
| 59 |
+
<i data-feather="zap" class="mr-2"></i> Generate QR
|
| 60 |
+
</button>
|
| 61 |
+
<button
|
| 62 |
+
id="download-btn"
|
| 63 |
+
class="px-6 py-3 bg-gray-700 rounded-lg font-medium hover:bg-gray-600 transition-all flex items-center"
|
| 64 |
+
disabled
|
| 65 |
+
>
|
| 66 |
+
<i data-feather="download" class="mr-2"></i> Download
|
| 67 |
+
</button>
|
| 68 |
+
</div>
|
| 69 |
+
</div>
|
| 70 |
+
|
| 71 |
+
<div class="qr-container p-6 bg-white rounded-lg">
|
| 72 |
+
<div id="qr-code" class="mx-auto w-48 h-48 flex items-center justify-center text-gray-400">
|
| 73 |
+
<p class="text-center">Your QR will appear here</p>
|
| 74 |
+
</div>
|
| 75 |
+
</div>
|
| 76 |
+
</div>
|
| 77 |
+
|
| 78 |
+
<div class="mt-12 pt-8 border-t border-gray-700">
|
| 79 |
+
<h3 class="text-xl font-semibold text-cyan-300 mb-4">
|
| 80 |
+
<i data-feather="info" class="inline mr-2"></i> How it works
|
| 81 |
+
</h3>
|
| 82 |
+
<div class="grid md:grid-cols-3 gap-6">
|
| 83 |
+
<div class="bg-gray-800 p-4 rounded-lg border-l-4 border-cyan-500">
|
| 84 |
+
<div class="text-cyan-400 mb-2">
|
| 85 |
+
<i data-feather="edit" class="inline mr-2"></i>
|
| 86 |
+
<span class="font-medium">1. Enter URL</span>
|
| 87 |
+
</div>
|
| 88 |
+
<p class="text-gray-300">Paste any web address you want to convert</p>
|
| 89 |
+
</div>
|
| 90 |
+
<div class="bg-gray-800 p-4 rounded-lg border-l-4 border-cyan-500">
|
| 91 |
+
<div class="text-cyan-400 mb-2">
|
| 92 |
+
<i data-feather="zap" class="inline mr-2"></i>
|
| 93 |
+
<span class="font-medium">2. Generate</span>
|
| 94 |
+
</div>
|
| 95 |
+
<p class="text-gray-300">Click generate to create your quantum QR code</p>
|
| 96 |
+
</div>
|
| 97 |
+
<div class="bg-gray-800 p-4 rounded-lg border-l-4 border-cyan-500">
|
| 98 |
+
<div class="text-cyan-400 mb-2">
|
| 99 |
+
<i data-feather="download" class="inline mr-2"></i>
|
| 100 |
+
<span class="font-medium">3. Download</span>
|
| 101 |
+
</div>
|
| 102 |
+
<p class="text-gray-300">Save your QR code as PNG for future use</p>
|
| 103 |
+
</div>
|
| 104 |
+
</div>
|
| 105 |
+
</div>
|
| 106 |
+
</div>
|
| 107 |
+
</div>
|
| 108 |
+
|
| 109 |
+
<footer class="text-center py-6 text-gray-400 text-sm mt-12">
|
| 110 |
+
<p>Powered by Quantum Technology © 2023</p>
|
| 111 |
+
<p class="mt-1">Scan the future today</p>
|
| 112 |
+
</footer>
|
| 113 |
+
|
| 114 |
+
<script>
|
| 115 |
+
// Initialize Vanta.js background
|
| 116 |
+
VANTA.NET({
|
| 117 |
+
el: "#vanta-bg",
|
| 118 |
+
mouseControls: true,
|
| 119 |
+
touchControls: true,
|
| 120 |
+
gyroControls: false,
|
| 121 |
+
minHeight: 200.00,
|
| 122 |
+
minWidth: 200.00,
|
| 123 |
+
scale: 1.00,
|
| 124 |
+
scaleMobile: 1.00,
|
| 125 |
+
color: 0x00ffff,
|
| 126 |
+
backgroundColor: 0x0a0a14,
|
| 127 |
+
points: 10.00,
|
| 128 |
+
maxDistance: 18.00,
|
| 129 |
+
spacing: 16.00
|
| 130 |
+
});
|
| 131 |
+
|
| 132 |
+
// Initialize feather icons
|
| 133 |
+
feather.replace();
|
| 134 |
+
|
| 135 |
+
// QR Code Generation
|
| 136 |
+
document.getElementById('generate-btn').addEventListener('click', function() {
|
| 137 |
+
const urlInput = document.getElementById('url-input').value.trim();
|
| 138 |
+
|
| 139 |
+
if (!urlInput) {
|
| 140 |
+
alert('Please enter a valid URL');
|
| 141 |
+
return;
|
| 142 |
+
}
|
| 143 |
+
|
| 144 |
+
// Add http:// if not present
|
| 145 |
+
let finalUrl = urlInput;
|
| 146 |
+
if (!/^https?:\/\//i.test(urlInput)) {
|
| 147 |
+
finalUrl = 'http://' + urlInput;
|
| 148 |
+
}
|
| 149 |
+
|
| 150 |
+
// Generate QR code
|
| 151 |
+
const qrCodeElement = document.getElementById('qr-code');
|
| 152 |
+
qrCodeElement.innerHTML = '';
|
| 153 |
+
|
| 154 |
+
QRCode.toCanvas(qrCodeElement, finalUrl, {
|
| 155 |
+
width: 180,
|
| 156 |
+
margin: 2,
|
| 157 |
+
color: {
|
| 158 |
+
dark: '#000000',
|
| 159 |
+
light: '#ffffff'
|
| 160 |
+
}
|
| 161 |
+
}, function(error) {
|
| 162 |
+
if (error) {
|
| 163 |
+
console.error(error);
|
| 164 |
+
alert('Error generating QR code');
|
| 165 |
+
} else {
|
| 166 |
+
document.getElementById('download-btn').disabled = false;
|
| 167 |
+
}
|
| 168 |
+
});
|
| 169 |
+
});
|
| 170 |
+
|
| 171 |
+
// Download QR Code
|
| 172 |
+
document.getElementById('download-btn').addEventListener('click', function() {
|
| 173 |
+
const canvas = document.querySelector('#qr-code canvas');
|
| 174 |
+
if (!canvas) {
|
| 175 |
+
alert('Please generate a QR code first');
|
| 176 |
+
return;
|
| 177 |
+
}
|
| 178 |
+
|
| 179 |
+
const link = document.createElement('a');
|
| 180 |
+
link.download = 'quantum-qr.png';
|
| 181 |
+
link.href = canvas.toDataURL('image/png');
|
| 182 |
+
link.click();
|
| 183 |
+
});
|
| 184 |
+
</script>
|
| 185 |
+
</body>
|
| 186 |
</html>
|