-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathbindex10.html
More file actions
84 lines (78 loc) · 3.33 KB
/
bindex10.html
File metadata and controls
84 lines (78 loc) · 3.33 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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Zui Protocol</title>
<link href="https://fonts.googleapis.com/css2?family=Viga&display=swap" rel="stylesheet">
<link href="https://cdn.jsdelivr.net/npm/tailwindcss@2.2.19/dist/tailwind.min.css" rel="stylesheet">
<link href="https://fonts.googleapis.com/icon?family=Material+Icons" rel="stylesheet">
<style>
body {
font-family: 'Viga', sans-serif;
background-color: #000;
color: #fff;
}
</style>
</head>
<body>
<header class="fixed top-0 left-0 right-0 flex justify-between items-center p-4 bg-black bg-opacity-50">
<div class="flex items-center">
<span class="text-2xl font-bold mr-4">Zui Protocol</span>
</div>
<button class="lg:hidden flex justify-center w-8 h-8 bg-gray-800 hover:bg-gray-700 rounded">
<span class="material-icons text-3xl">menu</span>
</button>
<nav class="hidden lg:flex items-center space-x-4">
<!-- Navigation links will be shown on large screens -->
</nav>
</header>
<main class="flex flex-col items-center justify-center h-screen">
<h1 class="text-5xl font-bold mb-4">Welcome to Zui Protocol</h1>
<!-- Three.js animation will be added here -->
<div id="threejs-container" class="w-full h-full"></div>
</main>
<nav class="fixed bottom-0 left-0 right-0 flex justify-around items-center p-4 bg-black bg-opacity-50">
<button class="flex flex-col items-center justify-center space-y-2">
<span class="material-icons">home</span>
<span>Home</span>
</button>
<button class="flex flex-col items-center justify-center space-y-2">
<span class="material-icons">share</span>
<span>Referrals</span>
</button>
<button class="flex flex-col items-center justify-center space-y-2">
<span class="material-icons">dashboard</span>
<span>Board</span>
</button>
<button class="flex flex-col items-center justify-center space-y-2">
<span class="material-icons">person</span>
<span>Profile</span>
</button>
</nav>
<script src="https://cdnjs.cloudflare.com/ajax/libs/three.js/r128/three.min.js"></script>
<script>
// Basic Three.js scene setup
const scene = new THREE.Scene();
const camera = new THREE.PerspectiveCamera(75, window.innerWidth / window.innerHeight, 0.1, 1000);
const renderer = new THREE.WebGLRenderer({
canvas: document.createElement('canvas'),
antialias: true
});
renderer.setSize(window.innerWidth, window.innerHeight);
document.getElementById('threejs-container').appendChild(renderer.domElement);
const geometry = new THREE.BoxGeometry();
const material = new THREE.MeshBasicMaterial({ color: 0x00ff00 });
const cube = new THREE.Mesh(geometry, material);
scene.add(cube);
camera.position.z = 5;
function animate() {
requestAnimationFrame(animate);
cube.rotation.x += 0.01;
cube.rotation.y += 0.01;
renderer.render(scene, camera);
}
animate();
</script>
</body>
</html>