index.html 1.8 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485
  1. <!DOCTYPE html>
  2. <html lang="zh-cmn-Hans">
  3. <head>
  4. <meta charset="UTF-8">
  5. <link rel="icon" type="image/svg+xml" href="/favicon.svg">
  6. <meta content="yes" name="apple-mobile-web-app-capable"/>
  7. <link rel="apple-touch-icon" href="/favicon.ico">
  8. <meta name="viewport"
  9. content="width=device-width, initial-scale=1.0, maximum-scale=1.0, minimum-scale=1.0, viewport-fit=cover" />
  10. <title>CHILLGPT</title>
  11. <script type="text/javascript" charset="utf-8" src="//g.alicdn.com/sd/nch5/index.js?t=2015052012"></script>
  12. <script type="text/javascript" charset="utf-8" src="http://res.wx.qq.com/open/js/jweixin-1.6.0.js"></script>
  13. </head>
  14. <body class="dark:bg-black">
  15. <div id="app">
  16. <style>
  17. .loading-wrap {
  18. display: flex;
  19. justify-content: center;
  20. align-items: center;
  21. height: 100vh;
  22. }
  23. .balls {
  24. width: 4em;
  25. display: flex;
  26. flex-flow: row nowrap;
  27. align-items: center;
  28. justify-content: space-between;
  29. }
  30. .balls div {
  31. width: 0.8em;
  32. height: 0.8em;
  33. border-radius: 50%;
  34. background-color: #4b9e5f;
  35. }
  36. .balls div:nth-of-type(1) {
  37. transform: translateX(-100%);
  38. animation: left-swing 0.5s ease-in alternate infinite;
  39. }
  40. .balls div:nth-of-type(3) {
  41. transform: translateX(-95%);
  42. animation: right-swing 0.5s ease-out alternate infinite;
  43. }
  44. @keyframes left-swing {
  45. 50%,
  46. 100% {
  47. transform: translateX(95%);
  48. }
  49. }
  50. @keyframes right-swing {
  51. 50% {
  52. transform: translateX(-95%);
  53. }
  54. 100% {
  55. transform: translateX(100%);
  56. }
  57. }
  58. @media (prefers-color-scheme: dark) {
  59. body {
  60. background: #121212;
  61. }
  62. }
  63. </style>
  64. <div class="loading-wrap">
  65. <div class="balls">
  66. <div></div>
  67. <div></div>
  68. <div></div>
  69. </div>
  70. </div>
  71. </div>
  72. <script type="module" src="/src/main.ts"></script>
  73. </body>
  74. </html>