Znfeoqm commited on
Commit
ee2ebe0
·
verified ·
1 Parent(s): 77edea3

Update index.html

Browse files
Files changed (1) hide show
  1. index.html +119 -1
index.html CHANGED
@@ -4,7 +4,125 @@
4
  <meta charset="UTF-8" />
5
  <link rel="icon" type="image/svg+xml" href="/vite.svg" />
6
  <meta name="viewport" content="width=device-width, initial-scale=1.0" />
7
- <title>Vite + React</title>
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
8
  </head>
9
  <body>
10
  <div id="root"></div>
 
4
  <meta charset="UTF-8" />
5
  <link rel="icon" type="image/svg+xml" href="/vite.svg" />
6
  <meta name="viewport" content="width=device-width, initial-scale=1.0" />
7
+ <title>QuantumQR Studio</title>
8
+
9
+ <!-- Moved all CDN links here from App.jsx -->
10
+ <!-- Tailwind CSS CDN -->
11
+ <script src="https://cdn.tailwindcss.com"></script>
12
+ <!-- Google Fonts - Inter for general text, Orbitron for headings -->
13
+ <link href="https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&family=Orbitron:wght@400;500;600;700;800;900&display=swap" rel="stylesheet" />
14
+ <!-- Font Awesome for icons -->
15
+ <link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.0.0-beta3/css/all.min.css" crossOrigin="anonymous" referrerPolicy="no-referrer" />
16
+
17
+ <!-- IMPORTANT: The QR Code Generation/Decoding libraries are now imported directly in App.jsx
18
+ so these CDN scripts are no longer needed here. They were removed from App.jsx previously.
19
+ If you still have them in App.jsx, ensure they are removed from there.
20
+ The previous instructions were to install them via npm and import directly.
21
+ If you did not do that, please ensure you run `npm install qrcode jsqr` locally
22
+ and add `import QRCode from 'qrcode';` and `import jsQR from 'jsqr';` to App.jsx
23
+ and replace `window.QRCode` with `QRCode` and `window.jsQR` with `jsQR`.
24
+ -->
25
+
26
+ <!-- Custom CSS for animations and scrollbar - Moved here from App.jsx -->
27
+ <style>
28
+ /* These styles were inline in App.jsx, moved here for correctness */
29
+ .font-orbitron { font-family: 'Orbitron', sans-serif; }
30
+ .font-inter { font-family: 'Inter', sans-serif; }
31
+
32
+ /* Neon Glow for the header - Adjusted for readability */
33
+ @keyframes neon-glow {
34
+ 0%, 100% {
35
+ /* Base text shadow for sharp inner glow */
36
+ text-shadow:
37
+ 0 0 4px rgba(0, 255, 255, 0.8), /* Cyan */
38
+ 0 0 8px rgba(255, 255, 0, 0.6), /* Yellow */
39
+ 0 0 12px rgba(0, 150, 255, 0.4); /* Electric Blue */
40
+ transform: scale(1);
41
+ }
42
+ 50% {
43
+ /* Expanded text shadow for soft outer glow */
44
+ text-shadow:
45
+ 0 0 6px rgba(0, 255, 255, 1),
46
+ 0 0 12px rgba(0, 255, 255, 0.8),
47
+ 0 0 20px rgba(255, 255, 0, 0.7),
48
+ 0 0 30px rgba(255, 255, 0, 0.5),
49
+ 0 0 40px rgba(0, 150, 255, 0.6),
50
+ 0 0 50px rgba(0, 150, 255, 0.4);
51
+ transform: scale(1.01);
52
+ }
53
+ }
54
+ .animate-neon-glow {
55
+ animation: neon-glow 2s infinite alternate; /* Slower pulse for elegance */
56
+ }
57
+
58
+ @keyframes scan-light {
59
+ 0% {
60
+ transform: translateX(-100%);
61
+ }
62
+ 100% {
63
+ transform: translateX(100%);
64
+ }
65
+ }
66
+ .scan-line {
67
+ background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
68
+ width: 100%;
69
+ height: 2px;
70
+ animation: scan-light 3s infinite linear;
71
+ }
72
+
73
+ .custom-scrollbar::-webkit-scrollbar {
74
+ width: 8px;
75
+ }
76
+ .custom-scrollbar::-webkit-scrollbar-track {
77
+ background: rgba(255, 255, 255, 0.05);
78
+ border-radius: 10px;
79
+ }
80
+ .custom-scrollbar::-webkit-scrollbar-thumb {
81
+ background: rgba(255, 255, 255, 0.2);
82
+ border-radius: 10px;
83
+ }
84
+ .custom-scrollbar::-webkit-scrollbar-thumb:hover {
85
+ background: rgba(255, 255, 255, 0.4);
86
+ }
87
+
88
+ /* Custom style for select dropdown arrow */
89
+ select {
90
+ -webkit-appearance: none;
91
+ -moz-appearance: none;
92
+ appearance: none;
93
+ background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20' fill='currentColor'%3E%3Cpath fill-rule='evenodd' d='M5.293 7.293a1 1 0 011.414 0L10 10.586l3.293-3.293a1 1 0 111.414 1.414l-4 4a1 1 0 01-1.414 0l-4-4a1 1 0 010-1.414z' clip-rule='evenodd'%3E%3C/path%3E%3C/svg%3E");
94
+ background-repeat: no-repeat;
95
+ background-position: right 0.75rem center;
96
+ background-size: 1.5em 1.5em;
97
+ }
98
+
99
+ /* Animated background gradient - Cyberpunk style */
100
+ @keyframes cyberpunk-gradient-shift {
101
+ 0% { background-position: 0% 0%; background-color: #1a0033; } /* Deep Purple */
102
+ 25% { background-position: 25% 50%; background-color: #001a33; } /* Deep Blue */
103
+ 50% { background-position: 50% 100%; background-color: #33001a; } /* Dark Magenta */
104
+ 75% { background-position: 75% 50%; background-color: #003333; } /* Dark Teal */
105
+ 100% { background-position: 100% 0%; background-color: #1a0033; } /* Back to Deep Purple */
106
+ }
107
+ .animate-gradient-shift {
108
+ background-size: 400% 400%;
109
+ animation: cyberpunk-gradient-shift 20s ease infinite; /* Slower, more immersive shift */
110
+ }
111
+
112
+ /* Light theme animated background gradient (if needed, adjust colors) */
113
+ @keyframes gradient-shift-light {
114
+ 0% { background-position: 0% 0%; }
115
+ 25% { background-position: 25% 50%; }
116
+ 50% { background-position: 50% 100%; }
117
+ 75% { background-position: 75% 50%; }
118
+ 100% { background-position: 100% 0%; }
119
+ }
120
+ .animate-gradient-shift-light {
121
+ background-size: 400% 400%;
122
+ animation: gradient-shift-light 15s ease infinite;
123
+ }
124
+ </style>
125
+
126
  </head>
127
  <body>
128
  <div id="root"></div>