You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
OneAuth/ui/page/latest.html

152 lines
3.4 KiB
HTML

11 months ago
<!doctype html>
<html>
3 weeks ago
3 weeks ago
<head>
3 weeks ago
<meta charset="UTF-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<meta name="description" content="vhtml.js Features" details="vhtml 框架特性介绍">
<title>vhtml - 现代前端框架</title>
3 weeks ago
</head>
<style>
3 weeks ago
body {
3 weeks ago
margin: 0;
font-family: var(--font-family);
background-color: var(--bg-color-secondary);
color: var(--text-color);
3 weeks ago
}
header {
3 weeks ago
background: linear-gradient(120deg, var(--color-primary), color-mix(in srgb, var(--color-primary), #000 20%));
color: white;
padding: 40px 20px;
text-align: center;
box-shadow: var(--shadow-md);
3 weeks ago
}
header h1 {
3 weeks ago
font-size: 3rem;
margin: 0;
3 weeks ago
}
header p {
3 weeks ago
font-size: 1.2rem;
margin-top: 10px;
opacity: 0.9;
3 weeks ago
}
.container {
3 weeks ago
max-width: 1200px;
margin: 0 auto;
padding: 20px;
3 weeks ago
}
.features {
3 weeks ago
display: flex;
flex-wrap: wrap;
gap: 20px;
justify-content: center;
margin-top: 40px;
3 weeks ago
}
.feature-card {
3 weeks ago
background: var(--bg-color);
border-radius: var(--radius-lg);
box-shadow: var(--shadow-sm);
padding: 20px;
width: 300px;
text-align: center;
transition: transform 0.3s ease, box-shadow 0.3s ease;
border: 1px solid var(--border-color);
3 weeks ago
}
.feature-card:hover {
3 weeks ago
transform: translateY(-10px);
box-shadow: var(--shadow-lg);
3 weeks ago
}
.feature-card h2 {
3 weeks ago
font-size: 1.5rem;
margin-bottom: 10px;
color: var(--color-primary);
3 weeks ago
}
.feature-card p {
3 weeks ago
font-size: 1rem;
color: var(--text-color-secondary);
3 weeks ago
}
.cta-button {
3 weeks ago
display: inline-block;
background: var(--color-primary);
color: white;
padding: 10px 20px;
border-radius: var(--radius-md);
text-decoration: none;
font-size: 1rem;
margin-top: 20px;
transition: background 0.3s ease;
border: none;
cursor: pointer;
3 weeks ago
}
.cta-button:hover {
3 weeks ago
background: color-mix(in srgb, var(--color-primary), black 10%);
3 weeks ago
}
footer {
3 weeks ago
background: var(--bg-color);
color: var(--text-color);
text-align: center;
padding: 20px;
margin-top: 40px;
border-top: 1px solid var(--border-color);
3 weeks ago
}
@keyframes fadeIn {
3 weeks ago
from {
3 weeks ago
opacity: 0;
transform: translateY(20px);
3 weeks ago
}
3 weeks ago
3 weeks ago
to {
3 weeks ago
opacity: 1;
transform: translateY(0);
11 months ago
}
3 weeks ago
}
.fade-in {
3 weeks ago
animation: fadeIn 1s ease-out;
3 weeks ago
}
3 weeks ago
</style>
3 weeks ago
3 weeks ago
<body>
3 weeks ago
<header>
<h1 class="fade-in">vhtml.js</h1>
<p class="fade-in">现代化、轻量级的前端框架</p>
<a href="#" class="cta-button fade-in">立即开始</a>
</header>
<div class="container">
<div class="features">
<div class="feature-card fade-in" v-for="feature in features">
<h2>{{ feature.title }}</h2>
<p>{{ feature.desc }}</p>
</div>
11 months ago
</div>
3 weeks ago
</div>
<footer>
<p>&copy; 2024 vhtml Team. All rights reserved.</p>
</footer>
3 weeks ago
</body>
<script setup>
3 weeks ago
features = [
{title: "轻量级", desc: "核心库仅 10KB加载速度飞快。"},
{title: "组件化", desc: "基于 Web Components支持原生组件复用。"},
{title: "响应式", desc: "内置响应式数据绑定,状态管理更简单。"},
{title: "零配置", desc: "无需复杂的构建工具,引入即可使用。"},
{title: "高性能", desc: "虚拟 DOM 优化,渲染性能卓越。"},
{title: "易扩展", desc: "丰富的插件系统,满足各种开发需求。"}
]
3 weeks ago
</script>
3 weeks ago
</html>