|
8 | 8 | <meta name="viewport" content="width=device-width, user-scalable=no, minimum-scale=1.0, maximum-scale=1.0"> |
9 | 9 | <link rel="icon" type="image/png" href="./playcanvas-logo.png" /> |
10 | 10 | <link rel="stylesheet" href="styles.css"> |
| 11 | + <script src="https://cdn.tailwindcss.com"></script> |
11 | 12 | </head> |
12 | 13 | <body> |
13 | 14 | <div id='app'></div> |
| 15 | + |
| 16 | + <!-- World Clocks Section --> |
| 17 | + <div id="world-clocks" class="fixed bottom-4 right-4 bg-gray-900 bg-opacity-90 rounded-lg shadow-2xl p-6 backdrop-blur-sm border border-gray-700"> |
| 18 | + <h2 class="text-2xl font-bold text-white mb-4 text-center border-b border-gray-700 pb-2">World Clocks</h2> |
| 19 | + <div class="grid grid-cols-2 gap-4"> |
| 20 | + <div class="clock-item bg-gray-800 rounded-lg p-4 text-center hover:bg-gray-700 transition-colors"> |
| 21 | + <div class="text-sm text-gray-400 mb-1">New York</div> |
| 22 | + <div id="clock-newyork" class="text-xl font-mono text-blue-400">--:--:--</div> |
| 23 | + </div> |
| 24 | + <div class="clock-item bg-gray-800 rounded-lg p-4 text-center hover:bg-gray-700 transition-colors"> |
| 25 | + <div class="text-sm text-gray-400 mb-1">London</div> |
| 26 | + <div id="clock-london" class="text-xl font-mono text-green-400">--:--:--</div> |
| 27 | + </div> |
| 28 | + <div class="clock-item bg-gray-800 rounded-lg p-4 text-center hover:bg-gray-700 transition-colors"> |
| 29 | + <div class="text-sm text-gray-400 mb-1">Tokyo</div> |
| 30 | + <div id="clock-tokyo" class="text-xl font-mono text-purple-400">--:--:--</div> |
| 31 | + </div> |
| 32 | + <div class="clock-item bg-gray-800 rounded-lg p-4 text-center hover:bg-gray-700 transition-colors"> |
| 33 | + <div class="text-sm text-gray-400 mb-1">Local Time</div> |
| 34 | + <div id="clock-local" class="text-xl font-mono text-orange-400">--:--:--</div> |
| 35 | + </div> |
| 36 | + </div> |
| 37 | + </div> |
| 38 | + |
14 | 39 | <script src="index.js"></script> |
| 40 | + <script src="scripts/main.js"></script> |
15 | 41 | </body> |
16 | 42 | </html> |
0 commit comments