Jonell01 commited on
Commit
129ba63
·
verified ·
1 Parent(s): 58ad271

Update public/docs.html

Browse files
Files changed (1) hide show
  1. public/docs.html +102 -56
public/docs.html CHANGED
@@ -3,22 +3,10 @@
3
  <head>
4
  <meta charset="UTF-8">
5
  <meta name="viewport" content="width=device-width, initial-scale=1.0">
6
- <title>JONELL MAGALLANES CC API EXPLORER</title>
7
  <link href="https://cdn.jsdelivr.net/npm/tailwindcss@2.2.19/dist/tailwind.min.css" rel="stylesheet">
8
  <link rel="icon" type="image/png" href="favicon.png">
9
  <style>
10
- .hidden { display: none; }
11
- .slide-in { animation: slide-in 0.5s forwards; }
12
- .slide-out { animation: slide-out 0.5s forwards; }
13
- @keyframes slide-in { from { transform: translateX(-100%); } to { transform: translateX(0); } }
14
- @keyframes slide-out { from { transform: translateX(0); } to { transform: translateX(-100%); } }
15
- .pop-up { animation: pop-up 0.3s forwards; }
16
- @keyframes pop-up { from { transform: scale(0.95); opacity: 0; } to { transform: scale(1); opacity: 1; } }
17
- .fade-in { animation: fade-in 0.5s forwards; }
18
- @keyframes fade-in { from { opacity: 0; } to { opacity: 1; } }
19
- .watermark { position: fixed; bottom: 10px; left: 50%; transform: translateX(-50%); opacity: 0.3; font-size: 12px; color: black; }
20
- .z-max { z-index: 1001; }
21
-
22
 
23
  .background {
24
  position: fixed;
@@ -26,73 +14,131 @@
26
  left: 0;
27
  width: 100%;
28
  height: 100vh;
29
- background: linear-gradient(135deg, #4FC3F7, #1E88E5);
30
  overflow: hidden;
31
  z-index: -1;
32
  }
33
 
34
- .circles {
35
  position: absolute;
36
- top: 0;
37
- left: 0;
38
  width: 100%;
39
  height: 100%;
40
- overflow: hidden;
41
  }
42
 
43
- .circles li {
44
  position: absolute;
45
  display: block;
46
- list-style: none;
47
- width: 20px;
48
- height: 20px;
49
- background: rgba(255, 255, 255, 0.2);
50
- animation: animate 25s linear infinite;
51
- bottom: -150px;
 
 
 
52
  }
53
 
54
- .circles li:nth-child(1) { left: 25%; width: 80px; height: 80px; animation-delay: 0s; }
55
- .circles li:nth-child(2) { left: 10%; width: 20px; height: 20px; animation-delay: 2s; animation-duration: 12s; }
56
- .circles li:nth-child(3) { left: 70%; width: 20px; height: 20px; animation-delay: 4s; }
57
- .circles li:nth-child(4) { left: 40%; width: 60px; height: 60px; animation-delay: 0s; animation-duration: 18s; }
58
- .circles li:nth-child(5) { left: 65%; width: 20px; height: 20px; animation-delay: 0s; }
59
- .circles li:nth-child(6) { left: 75%; width: 110px; height: 110px; animation-delay: 3s; }
60
- .circles li:nth-child(7) { left: 35%; width: 150px; height: 150px; animation-delay: 7s; }
61
- .circles li:nth-child(8) { left: 50%; width: 25px; height: 25px; animation-delay: 15s; animation-duration: 45s; }
62
- .circles li:nth-child(9) { left: 20%; width: 15px; height: 15px; animation-delay: 2s; animation-duration: 35s; }
63
- .circles li:nth-child(10) { left: 85%; width: 150px; height: 150px; animation-delay: 0s; animation-duration: 11s; }
64
-
65
- @keyframes animate {
66
- 0% { transform: translateY(0) scale(1); opacity: 1; }
67
- 100% { transform: translateY(-1000px) scale(0); opacity: 0; }
 
 
 
 
 
 
 
68
  }
69
  </style>
70
  </head>
71
  <body class="bg-gray-100 p-6">
 
72
  <div class="background">
73
- <ul class="circles">
74
- <li></li><li></li><li></li><li></li><li></li>
75
- <li></li><li></li><li></li><li></li><li></li>
76
- </ul>
77
  </div>
78
- <audio id="background-music" src="https://files.catbox.moe/d72apa.mp3" autoplay loop></audio>
79
- <button id="toggle-button" onclick="toggleMenu()" class="fixed top-4 left-4 text-gray-700 hover:text-indigo-500 transition duration-300 ease-in-out transform hover:scale-105 z-max">☰</button>
80
- <div id="menu" class="hidden fixed top-0 left-0 bg-white shadow-lg w-64 h-full p-6 overflow-y-auto z-50">
81
- <div class="uppercase tracking-wide text-sm text-indigo-500 font-semibold mb-4">API Categories</div>
82
- <div id="api-list" class="space-y-4"></div>
 
 
 
 
 
 
83
  </div>
84
- <div class="flex flex-col items-center justify-center min-h-screen text-center relative z-10">
85
- <h1 class="text-3xl font-bold mb-4">WELCOME CC API EXPLORER</h1>
86
- <div class="bg-white rounded-lg shadow p-6 w-full max-w-md fade-in">
87
- <div id="device-info" class="text-sm text-gray-700 mb-6">
88
- <p id="user-agent"></p>
89
- <p id="ip"></p>
90
- <p id="current-time"></p>
91
- <p id="request-count"></p>
 
 
92
  </div>
93
  </div>
94
  </div>
 
 
95
  <div class="watermark">Dev: Jonell Hutchin Magallanes</div>
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
96
  <script src="script.js"></script>
 
97
  </body>
98
  </html>
 
3
  <head>
4
  <meta charset="UTF-8">
5
  <meta name="viewport" content="width=device-width, initial-scale=1.0">
6
+ <title>CC API EXPLORER - Jonell Magallanes</title>
7
  <link href="https://cdn.jsdelivr.net/npm/tailwindcss@2.2.19/dist/tailwind.min.css" rel="stylesheet">
8
  <link rel="icon" type="image/png" href="favicon.png">
9
  <style>
 
 
 
 
 
 
 
 
 
 
 
 
10
 
11
  .background {
12
  position: fixed;
 
14
  left: 0;
15
  width: 100%;
16
  height: 100vh;
17
+ background: linear-gradient(135deg, #3B82F6, #1E40AF);
18
  overflow: hidden;
19
  z-index: -1;
20
  }
21
 
22
+ .particles {
23
  position: absolute;
 
 
24
  width: 100%;
25
  height: 100%;
 
26
  }
27
 
28
+ .particles span {
29
  position: absolute;
30
  display: block;
31
+ width: 10px;
32
+ height: 10px;
33
+ background: rgba(255, 255, 255, 0.3);
34
+ border-radius: 50%;
35
+ animation: floatUp 12s linear infinite;
36
+ }
37
+
38
+ .particles span:nth-child(odd) {
39
+ animation-duration: 15s;
40
  }
41
 
42
+ @keyframes floatUp {
43
+ 0% { transform: translateY(100vh) scale(1); opacity: 1; }
44
+ 100% { transform: translateY(-10vh) scale(0.5); opacity: 0; }
45
+ }
46
+
47
+
48
+ .hidden { display: none; }
49
+ .slide-in { animation: slide-in 0.4s forwards; }
50
+ .slide-out { animation: slide-out 0.4s forwards; }
51
+
52
+ @keyframes slide-in { from { transform: translateX(-100%); } to { transform: translateX(0); } }
53
+ @keyframes slide-out { from { transform: translateX(0); } to { transform: translateX(-100%); } }
54
+
55
+ .watermark {
56
+ position: fixed;
57
+ bottom: 10px;
58
+ left: 50%;
59
+ transform: translateX(-50%);
60
+ opacity: 0.4;
61
+ font-size: 12px;
62
+ color: white;
63
  }
64
  </style>
65
  </head>
66
  <body class="bg-gray-100 p-6">
67
+
68
  <div class="background">
69
+ <div class="particles"></div>
 
 
 
70
  </div>
71
+
72
+
73
+ <button id="toggle-button" onclick="toggleMenu()" class="fixed top-4 left-4 text-white bg-indigo-600 px-3 py-2 rounded-md shadow-lg z-50">☰</button>
74
+
75
+
76
+ <div id="menu" class="hidden fixed top-0 left-0 bg-white shadow-xl w-64 h-full p-6 overflow-y-auto z-50 slide-out">
77
+ <div class="flex justify-between items-center">
78
+ <h2 class="text-lg font-semibold text-indigo-600 uppercase">API Categories</h2>
79
+ <button onclick="toggleMenu()" class="text-gray-600 hover:text-red-500 text-xl">✖</button>
80
+ </div>
81
+ <div id="api-list" class="space-y-3 mt-4"></div>
82
  </div>
83
+
84
+
85
+ <div class="flex flex-col items-center justify-center min-h-screen text-center relative z-10 fade-in">
86
+ <h1 class="text-4xl font-extrabold text-white shadow-md mb-4">Welcome to CC API Explorer</h1>
87
+ <div class="bg-white rounded-lg shadow-lg p-6 w-full max-w-md pop-up">
88
+ <div id="device-info" class="text-gray-700 text-sm mb-4">
89
+ <p id="user-agent">User Agent: <span>Loading...</span></p>
90
+ <p id="ip">IP Address: <span>Loading...</span></p>
91
+ <p id="current-time">Current Time: <span>Loading...</span></p>
92
+ <p id="request-count">Request Count: <span>Loading...</span></p>
93
  </div>
94
  </div>
95
  </div>
96
+
97
+
98
  <div class="watermark">Dev: Jonell Hutchin Magallanes</div>
99
+
100
+
101
+ <script>
102
+ function toggleMenu() {
103
+ const menu = document.getElementById("menu");
104
+ const toggleButton = document.getElementById("toggle-button");
105
+
106
+ if (menu.classList.contains("hidden")) {
107
+ menu.classList.remove("hidden", "slide-out");
108
+ menu.classList.add("slide-in");
109
+ toggleButton.style.display = "none";
110
+ } else {
111
+ menu.classList.remove("slide-in");
112
+ menu.classList.add("slide-out");
113
+ setTimeout(() => {
114
+ menu.classList.add("hidden");
115
+ toggleButton.style.display = "block";
116
+ }, 400);
117
+ }
118
+ }
119
+
120
+
121
+ document.addEventListener("DOMContentLoaded", function() {
122
+ const particleContainer = document.querySelector(".particles");
123
+ for (let i = 0; i < 15; i++) {
124
+ let particle = document.createElement("span");
125
+ let size = Math.random() * 20 + 5;
126
+ let delay = Math.random() * 10;
127
+ let positionX = Math.random() * 100;
128
+ let duration = Math.random() * 10 + 8;
129
+
130
+ particle.style.width = `${size}px`;
131
+ particle.style.height = `${size}px`;
132
+ particle.style.left = `${positionX}%`;
133
+ particle.style.animationDelay = `${delay}s`;
134
+ particle.style.animationDuration = `${duration}s`;
135
+
136
+ particleContainer.appendChild(particle);
137
+ }
138
+ });
139
+ </script>
140
+
141
  <script src="script.js"></script>
142
+
143
  </body>
144
  </html>