File size: 1,942 Bytes
010695b
 
 
 
 
306aa23
010695b
 
 
 
 
 
2bf8ed5
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
010695b
 
 
 
2bf8ed5
 
 
306aa23
2bf8ed5
 
010695b
 
 
 
 
 
2bf8ed5
 
 
010695b
 
 
 
2bf8ed5
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
<!DOCTYPE html>
<html lang="en">
  <head>
    <meta charset="UTF-8" />
    <meta name="viewport" content="width=device-width, initial-scale=1.0" />
    <title>open-avatar-chat</title>
    <style>
      html,
      body {
        margin: 0;
        padding: 0;
        overflow: hidden;
        height: 100%; /* Ensure full height */
      }
      .github-container {
        position: absolute;
        top: 10px;
        left: 50%;
        transform: translateX(-50%);
        display: flex;
        align-items: center; /* Vertically align content */
        background: white;
        padding: 10px; /* Spacing inside container */
        border-radius: 6px;
        box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1); /* Optional: Add shadow */
        z-index: 1; /* Ensure it's above the iframe */
      }
      .github-container img {
        width: 24px;
        height: 24px;
        margin-right: 8px; /* Spacing between icon and text */
      }
      .github-container a {
        text-decoration: none;
        color: #0366d6; /* GitHub link color */
        font-size: 14px;
      }
      .github-container a:hover {
        text-decoration: underline;
      }
    </style>
  </head>
  <body>
    <div class="github-container">
      <img src="https://github.githubassets.com/images/modules/logos_page/GitHub-Mark.png" alt="GitHub" />
      <a href="https://github.com/HumanAIGC-Engineering/OpenAvatarChat" target="_blank">
        open-avatar-chat🔥
      </a>
    </div>
    <script>
      (function () {
        const iframe = document.createElement("iframe");
        iframe.style.width = "100%";
        iframe.style.height = "100vh";
        iframe.style.border = "none";
        iframe.allow = "microphone; camera";
        iframe.src = "https://open-avatar.holoworld.com.cn:8282/";
        iframe.sandbox = "allow-scripts allow-same-origin";
        document.body.appendChild(iframe);
      })();
    </script>
  </body>
</html>