-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathindex.html
More file actions
124 lines (111 loc) · 4.24 KB
/
index.html
File metadata and controls
124 lines (111 loc) · 4.24 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>GX Commerce | The Gaming Market</title>
<script src="https://cdn.tailwindcss.com"></script>
<link href="https://fonts.googleapis.com/css2?family=Orbitron:wght@400;500;600;700;800;900&family=Inter:wght@300;400;500;600;700&display=swap" rel="stylesheet">
<style>
:root {
--bg-primary: #0b0b0d;
--bg-secondary: #161618;
--bg-tertiary: #1a1a1c;
--text-primary: #ffffff;
--text-secondary: #9ca3af;
--border-color: #1f2937;
--accent-color: #fa1e4e;
--glow-intensity: 0.8;
}
html.light {
--bg-primary: #f3f4f6;
--bg-secondary: #ffffff;
--bg-tertiary: #e5e7eb;
--text-primary: #111827;
--text-secondary: #4b5563;
--border-color: #d1d5db;
}
body {
font-family: 'Inter', sans-serif;
background-color: var(--bg-primary);
color: var(--text-primary);
overflow-x: hidden;
transition: background-color 0.3s ease, color 0.3s ease;
}
.font-orbitron {
font-family: 'Orbitron', sans-serif;
}
::-webkit-scrollbar {
width: 4px;
}
::-webkit-scrollbar-track {
background: var(--bg-primary);
}
::-webkit-scrollbar-thumb {
background: var(--accent-color);
border-radius: 10px;
}
.gx-glow {
text-shadow: 0 0 calc(20px * var(--glow-intensity)) var(--accent-color);
}
.gx-border-glow {
box-shadow: 0 0 calc(25px * var(--glow-intensity)) var(--accent-color);
}
/* Scanline Effect reactive to intensity */
.gx-scanline::before {
content: " ";
display: block;
position: fixed;
top: 0;
left: 0;
bottom: 0;
right: 0;
background: linear-gradient(rgba(18, 16, 16, 0) 50%, rgba(0, 0, 0, 0.25) 50%),
linear-gradient(90deg, rgba(255, 0, 0, 0.06), rgba(0, 255, 0, 0.02), rgba(0, 0, 255, 0.06));
z-index: 1000;
background-size: 100% 4px, 3px 100%;
pointer-events: none;
opacity: calc(0.15 * var(--glow-intensity));
}
@keyframes pulse-glow {
0%, 100% { opacity: calc(0.6 * var(--glow-intensity)); }
50% { opacity: calc(1 * var(--glow-intensity)); }
}
.gx-pulse {
animation: pulse-glow 2s ease-in-out infinite;
}
/* Utility classes for dynamic colors */
.theme-bg-primary { background-color: var(--bg-primary); }
.theme-bg-secondary { background-color: var(--bg-secondary); }
.theme-bg-tertiary { background-color: var(--bg-tertiary); }
.theme-text-primary { color: var(--text-primary); }
.theme-text-secondary { color: var(--text-secondary); }
.theme-border { border-color: var(--border-color); }
/* Direct color overrides for elements using the accent */
.text-accent { color: var(--accent-color) !important; }
.bg-accent { background-color: var(--accent-color) !important; }
.border-accent { border-color: var(--accent-color) !important; }
.shadow-accent { box-shadow: 0 0 calc(20px * var(--glow-intensity)) var(--accent-color); }
/* Interactive border that uses the theme accent */
.hover-border-accent:hover {
border-color: var(--accent-color) !important;
box-shadow: 0 0 calc(15px * var(--glow-intensity)) var(--accent-color);
}
</style>
<script type="importmap">
{
"imports": {
"@google/genai": "https://esm.sh/@google/genai@^1.34.0",
"react/": "https://esm.sh/react@^19.2.3/",
"react": "https://esm.sh/react@^19.2.3",
"lucide-react": "https://esm.sh/lucide-react@^0.561.0",
"react-dom/": "https://esm.sh/react-dom@^19.2.3/"
}
}
</script>
</head>
<body class="gx-scanline">
<div id="root"></div>
<script type="module" src="index.tsx"></script>
</body>
</html>