| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869 |
- <!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" />
- <script src="https://4dkk.4dage.com/v4-test/www/viewer/static/lib/vconsole.js"></script>
- <title>Getty Show</title>
- <style>
- body {
- background-color: #000;
- overflow: hidden;
- }
- .load-wrap {
- display: flex;
- flex-direction: column;
- height: 100vh;
- justify-content: center;
- align-items: center;
- }
- .load-wrap img {
- width: 80px;
- height: auto;
- }
- .load-wrap div:nth-child(3) {
- align-items: flex-start;
- }
- .page-loader {
- margin-top: 20px;
- color: #fff;
- line-height: 1.4;
- font-size: 1rem;
- font-weight: 600;
- font-family: sans-serif;
- }
- </style>
- </head>
- <body>
- <div id="root">
- <div class="load-wrap">
- <div>
- <img src="/src/assets/infinite-spinner.svg" />
- </div>
- <div>
- <div id="page-process" class="page-process">0%</div>
- </div>
- </div>
- </div>
- <script type="module" src="/src/main.jsx"></script>
- <script>
- let loadProgress = 0;
- const pageLoader = document.querySelector("#page-process"),
- loadAnimation = setInterval(() => {
- if (
- (loadProgress++,
- (pageLoader.innerText = loadProgress + "%"),
- 72 === loadProgress)
- ) {
- clearInterval(loadAnimation);
- const e = setInterval(() => {
- loadProgress++,
- (pageLoader.innerText = loadProgress + "%"),
- 83 === loadProgress && clearInterval(e);
- }, 86);
- }
- }, 32);
- </script>
- </body>
- </html>
|