Files
SWebStatic/softwares/minesentinel/index.html
T

372 lines
12 KiB
HTML
Raw Normal View History

2026-07-08 15:11:33 +08:00
<!DOCTYPE html>
<html lang="zh-CN">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Mint Runtime - 安全的 Lua 运行时</title>
<script src='https://gitee.com/snoware/mint/widget_preview' async defer></script>
<style>
* {
margin: 0;
padding: 0;
box-sizing: border-box;
}
body {
font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
line-height: 1.6;
color: #333;
background: linear-gradient(135deg, #00bcd4 0%, #26a69a 100%);
min-height: 100vh;
}
.container {
max-width: 1200px;
margin: 0 auto;
padding: 20px;
}
header {
text-align: center;
padding: 60px 20px;
color: white;
}
.logo-container {
margin-bottom: 25px;
}
.logo-container svg {
max-width: 200px;
height: auto;
filter: drop-shadow(2px 2px 4px rgba(0,0,0,0.3));
}
h1 {
font-size: 3rem;
margin-bottom: 20px;
text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
}
.subtitle {
font-size: 1.5rem;
opacity: 0.95;
margin-bottom: 40px;
}
.features {
display: grid;
grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
gap: 30px;
margin-top: 40px;
}
.feature-card {
background: white;
border-radius: 10px;
padding: 30px;
box-shadow: 0 10px 30px rgba(0,0,0,0.2);
transition: transform 0.3s ease;
}
.feature-card:hover {
transform: translateY(-5px);
}
.feature-card h3 {
color: #0097a7;
font-size: 1.5rem;
margin-bottom: 15px;
}
.feature-card p {
color: #666;
line-height: 1.8;
}
.cta-section {
text-align: center;
margin-top: 60px;
padding: 40px 20px;
}
.btn {
display: inline-block;
padding: 15px 40px;
background: white;
color: #0097a7;
text-decoration: none;
border-radius: 30px;
font-weight: bold;
font-size: 1.1rem;
margin: 10px;
box-shadow: 0 5px 15px rgba(0,0,0,0.2);
transition: all 0.3s ease;
cursor: pointer;
border: none;
}
.btn:hover {
transform: scale(1.05);
box-shadow: 0 8px 20px rgba(0,0,0,0.3);
}
.btn-primary {
background: #00bcd4;
color: white;
}
.modal {
display: none;
position: fixed;
top: 0;
left: 0;
width: 100%;
height: 100%;
background-color: rgba(0,0,0,0.7);
z-index: 1000;
justify-content: center;
align-items: center;
}
.modal.show {
display: flex;
}
.modal-content {
background: white;
border-radius: 10px;
padding: 40px;
max-width: 500px;
width: 90%;
box-shadow: 0 20px 60px rgba(0,0,0,0.3);
position: relative;
animation: modalSlideIn 0.3s ease-out;
}
@keyframes modalSlideIn {
from {
transform: translateY(-50px);
opacity: 0;
}
to {
transform: translateY(0);
opacity: 1;
}
}
.modal-close {
position: absolute;
top: 15px;
right: 20px;
font-size: 28px;
cursor: pointer;
color: #999;
transition: color 0.3s;
}
.modal-close:hover {
color: #333;
}
.modal-title {
color: #0097a7;
font-size: 1.8rem;
margin-bottom: 20px;
}
.modal-body {
color: #666;
line-height: 1.8;
margin-bottom: 25px;
}
.download-info {
background: #f5f5f5;
padding: 20px;
border-radius: 8px;
border-left: 4px solid #00bcd4;
}
.download-link {
color: #00bcd4;
text-decoration: none;
font-weight: bold;
}
.download-link:hover {
text-decoration: underline;
}
.password-info {
margin-top: 15px;
padding: 10px;
background: #fff3cd;
border-radius: 5px;
color: #856404;
}
.gitee-widget-container {
margin-bottom: 60px;
padding: 30px 20px;
text-align: center;
background: rgba(46, 47, 41, 0.95);
border-radius: 10px;
box-shadow: 0 10px 30px rgba(0,0,0,0.3);
}
#osc-gitee-widget-tag {
display: inline-block;
}
.osc_pro_color {color: #eae9d7 !important;}
.osc_panel_color {background-color: #2e2f29 !important;}
.osc_background_color {background-color: #272822 !important;}
.osc_border_color {border-color: #484a45 !important;}
.osc_desc_color {color: #eae9d7 !important;}
.osc_link_color * {color: #747571 !important;}
footer {
text-align: center;
padding: 40px 20px;
color: white;
opacity: 0.8;
margin-top: 60px;
}
.links {
margin-top: 20px;
}
.links a {
color: white;
text-decoration: none;
margin: 0 15px;
opacity: 0.9;
}
.links a:hover {
opacity: 1;
text-decoration: underline;
}
</style>
</head>
<body>
<div class="container">
<header>
<div class="logo-container">
<svg viewBox="0 0 10 8" xmlns="http://www.w3.org/2000/svg">
<style>
:root {
--line-color: #ffffff;
--line-width: 0.6;
--scale: 10;
}
</style>
<g transform="scale(var(--scale))">
<path d="M0,0.1 H10" stroke="var(--line-color)" stroke-width="var(--line-width)" fill="none" />
<path d="M0,2 H3" stroke="var(--line-color)" stroke-width="var(--line-width)" fill="none" />
<path d="M0,4 H3 L4,2 L6,6 L7,4 H10" stroke="var(--line-color)" stroke-width="var(--line-width)" fill="none" />
<path d="M7,6 H10" stroke="var(--line-color)" stroke-width="var(--line-width)" fill="none" />
<path d="M0,7.9 H10" stroke="var(--line-color)" stroke-width="var(--line-width)" fill="none" />
</g>
</svg>
</div>
<h1>🍃 Mint Runtime</h1>
<p class="subtitle">安全特性驱动的 Lua 运行时环境</p>
<p style="font-size: 1.2rem; margin-top: 20px; font-weight: bold; letter-spacing: 3px;">开放 · 平等 · 共享</p>
</header>
<!-- Gitee 仓库预览部件 -->
<div class="gitee-widget-container">
<div id="osc-gitee-widget-tag"></div>
</div>
<div class="features">
<div class="feature-card">
<h3>🔒 安全保障</h3>
<p>提供强大的安全隔离机制,支持字节码限制、环境修改防护、深度外部调用钩子等多层次安全特性,确保代码执行的安全性。</p>
</div>
<div class="feature-card">
<h3>⚡ 高性能</h3>
<p>基于 Rust 构建,结合 Lua 5.5 的高性能引擎,通过 LTO 链接时优化和代码生成单元优化,提供卓越的执行效率。</p>
</div>
<div class="feature-card">
<h3>🌍 国际化支持</h3>
<p>内置 i10n 国际化框架,支持多语言日志和输出翻译,让全球开发者都能轻松使用。</p>
</div>
<div class="feature-card">
<h3>📦 易于集成</h3>
<p>简洁的 API 设计,完善的文档支持,可快速集成到您的项目中。支持 Cargo 包管理,一键安装使用。</p>
</div>
<div class="feature-card">
<h3>🛠️ 灵活配置</h3>
<p>支持 RON 配置文件格式,可自定义运行时行为、安全策略、日志级别等参数,满足各种使用场景。</p>
</div>
<div class="feature-card">
<h3>📊 动态加载</h3>
<p>支持模块动态加载和日志速率限制,提供更细粒度的控制和资源管理能力。</p>
</div>
</div>
<div class="cta-section">
<button onclick="openDownloadModal()" class="btn btn-primary">⬇️ 下载软件</button>
<a href="https://docs.rs/mintrt" class="btn">📖 查看文档</a>
<a href="https://gitee.com/snoware/mint" class="btn">⭐ Gitee 源码</a>
</div>
<!-- 下载对话框 -->
<div id="downloadModal" class="modal">
<div class="modal-content">
<span class="modal-close" onclick="closeDownloadModal()">&times;</span>
<h2 class="modal-title">⬇️ 下载 Mint Runtime</h2>
<div class="modal-body">
<div class="download-info">
<p><strong>下载地址:</strong></p>
<p><a href="https://snowcloud.lanzoum.com/b0zkqeipe" target="_blank" class="download-link">https://snowcloud.lanzoum.com/b0zkqeipe</a></p>
<div class="password-info">
<strong>🔐 提取码:</strong><code style="font-size: 1.2em; background: white; padding: 5px 10px; border-radius: 3px; margin-left: 10px;">guc5</code>
<p style="margin-top: 8px; font-size: 0.9em;">(部分作品)</p>
</div>
</div>
<p style="margin-top: 20px; color: #666; font-size: 0.9em;">💡 提示:如果链接无法访问,请通过 Gitee 仓库获取最新版本。</p>
</div>
</div>
</div>
<footer>
<p>&copy; 2026 Mint Runtime. Licensed under MPL-2.0 OR Commercial</p>
<div class="links">
<a href="https://docs.rs/mintrt">API 文档</a>
<a href="https://gitee.com/snoware/mint/issues">问题反馈</a>
<a href="https://gitee.com/snoware/mint">贡献代码</a>
</div>
</footer>
</div>
<script>
function openDownloadModal() {
document.getElementById('downloadModal').classList.add('show');
}
function closeDownloadModal() {
document.getElementById('downloadModal').classList.remove('show');
}
// 点击模态框外部关闭
window.onclick = function(event) {
const modal = document.getElementById('downloadModal');
if (event.target === modal) {
closeDownloadModal();
}
}
</script>
</body>
</html>