-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathindex.html
More file actions
120 lines (114 loc) · 3.65 KB
/
Copy pathindex.html
File metadata and controls
120 lines (114 loc) · 3.65 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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Atharv Portfolio</title>
<script src="https://cdn.tailwindcss.com"></script>
<script>
tailwind.config = {
theme: {
extend: {
keyframes: {
swing: {
'0%, 100%': { transform: 'rotate(0deg)' },
'20%': { transform: 'rotate(15deg)' },
'40%': { transform: 'rotate(-10deg)' },
'60%': { transform: 'rotate(5deg)' },
'80%': { transform: 'rotate(-5deg)' },
},
'spin-slow': {
from: { transform: 'rotate(0deg)' },
to: { transform: 'rotate(360deg)' }
}
},
animation: {
swing: 'swing 1s ease-in-out',
'spin-slow': 'spin-slow 3s linear infinite',
}
}
}
}
</script>
<link href="https://fonts.googleapis.com/css2?family=Fira+Code:wght@300;400;500;600;700&display=swap" rel="stylesheet">
<style>
:root {
--bg-editor: #1e1e1e;
--bg-sidebar: #252526;
--bg-activity: #333333;
--bg-status: #007acc;
--bg-tab-active: #1e1e1e;
--bg-tab-inactive: #2d2d2d;
--text-main: #cccccc;
--text-muted: #858585;
--border: #333333;
--accent: #007acc;
}
[data-theme='light'] {
--bg-editor: #ffffff;
--bg-sidebar: #f3f3f3;
--bg-activity: #2c2c2c;
--bg-status: #007acc;
--bg-tab-active: #ffffff;
--bg-tab-inactive: #ececec;
--text-main: #333333;
--text-muted: #616161;
--border: #e5e5e5;
--accent: #007acc;
}
[data-theme='monokai'] {
--bg-editor: #272822;
--bg-sidebar: #1e1f1c;
--bg-activity: #333333;
--bg-status: #414339;
--bg-tab-active: #272822;
--bg-tab-inactive: #34352f;
--text-main: #f8f8f2;
--text-muted: #75715e;
--border: #414339;
--accent: #f92672;
}
body {
margin: 0;
padding: 0;
background-color: var(--bg-editor);
color: var(--text-main);
font-family: 'Fira Code', monospace;
overflow: hidden;
transition: background-color 0.3s ease, color 0.3s ease;
}
::-webkit-scrollbar {
width: 10px;
height: 10px;
}
::-webkit-scrollbar-track {
background: var(--bg-editor);
}
::-webkit-scrollbar-thumb {
background: var(--border);
}
::-webkit-scrollbar-thumb:hover {
background: var(--text-muted);
}
.theme-transition {
transition: all 0.2s ease-in-out;
}
</style>
<script type="importmap">
{
"imports": {
"react/": "https://esm.sh/react@^19.2.3/",
"react": "https://esm.sh/react@^19.2.3",
"react-dom/": "https://esm.sh/react-dom@^19.2.3/",
"lucide-react": "https://esm.sh/lucide-react@^0.562.0",
"@google/genai": "https://esm.sh/@google/genai@^1.34.0"
}
}
</script>
<link rel="stylesheet" href="/index.css">
</head>
<body>
<div id="root"></div>
<script type="module" src="/index.tsx"></script>
</body>
</html>