💄 Optimize meet page

This commit is contained in:
LittleSheep 2025-04-06 14:49:00 +08:00
parent aa3c0a9dbf
commit 413ad0629a

View File

@ -3,48 +3,22 @@
<head> <head>
<meta charset="UTF-8" /> <meta charset="UTF-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" /> <meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>Solar Network Captcha</title> <title>Solar Network Meet</title>
<link <link
href="https://fonts.googleapis.com/css2?family=Roboto+Mono&display=swap" href="https://fonts.googleapis.com/css2?family=Roboto+Mono&display=swap"
rel="stylesheet" rel="stylesheet"
/> />
<style> <style>
body { body {
display: flex; width: 100vw;
flex-direction: column;
justify-content: center;
align-items: center;
height: 100vh; height: 100vh;
background-color: #2d2d2d; padding: 0;
font-family: "Roboto Mono", monospace; margin: 0;
color: #c9d1d9;
} }
.container { .container {
width: 100vw; width: 100vw;
height: 100vh; height: 100vh;
} }
.parent {
padding: 20px;
max-width: 480px;
margin: 0 auto;
}
h2 {
font-size: 18px;
font-weight: 300;
color: #ffffff;
margin-bottom: 15px;
}
.footer {
margin-top: 20px;
font-size: 11px;
opacity: 0.6;
}
.footer-product {
font-size: 12px;
font-weight: bold;
margin-bottom: 5px;
opacity: 0.8;
}
</style> </style>
<script src='https://meet.element.io/external_api.js'></script> <script src='https://meet.element.io/external_api.js'></script>
</head> </head>
@ -64,8 +38,8 @@
const domain = 'meet.element.io'; const domain = 'meet.element.io';
const options = { const options = {
roomName: "{{ .RoomName }}", roomName: "{{ .RoomName }}",
width: node.clientWidth, width: '100%',
height: node.clientHeight, height: '100%',
parentNode: node, parentNode: node,
userInfo: { userInfo: {
avatar: {{ .User.Avatar }}, avatar: {{ .User.Avatar }},