|
<!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%; |
|
} |
|
.github-container { |
|
position: absolute; |
|
top: 10px; |
|
left: 50%; |
|
transform: translateX(-50%); |
|
display: flex; |
|
align-items: center; |
|
background: white; |
|
padding: 10px; |
|
border-radius: 6px; |
|
box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1); |
|
z-index: 1; |
|
} |
|
.github-container img { |
|
width: 24px; |
|
height: 24px; |
|
margin-right: 8px; |
|
} |
|
.github-container a { |
|
text-decoration: none; |
|
color: #0366d6; |
|
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> |
|
|