-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathindex.html
More file actions
52 lines (51 loc) · 1.58 KB
/
Copy pathindex.html
File metadata and controls
52 lines (51 loc) · 1.58 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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8" />
<link rel="icon" type="image/svg+xml" href="/vite.svg" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>Cartoon 3D Model Viewer</title>
<script src="https://cdn.tailwindcss.com"></script>
<link rel="preconnect" href="https://fonts.googleapis.com">
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin>
<link href="https://fonts.googleapis.com/css2?family=Bangers&family=Comic+Neue:wght@400;700&display=swap" rel="stylesheet">
<script>
tailwind.config = {
theme: {
extend: {
fontFamily: {
'sans': ['Comic Neue', 'sans-serif'],
'display': ['Bangers', 'cursive'],
},
animation: {
'bounce-slow': 'bounce 3s infinite',
'spin-slow': 'spin 5s linear infinite',
}
}
}
}
</script>
<style>
body {
font-family: 'Comic Neue', sans-serif;
}
</style>
<script type="importmap">
{
"imports": {
"@react-three/fiber": "https://esm.sh/@react-three/fiber@^9.3.0",
"react/": "https://esm.sh/react@^19.1.1/",
"react": "https://esm.sh/react@^19.1.1",
"@react-three/drei": "https://esm.sh/@react-three/drei@^10.6.1",
"react-dom/": "https://esm.sh/react-dom@^19.1.1/",
"three": "https://esm.sh/three@^0.179.1"
}
}
</script>
<link rel="stylesheet" href="/index.css">
</head>
<body>
<div id="root"></div>
<script type="module" src="/index.tsx"></script>
</body>
</html>