|
|
|
|
|
<!doctype html>
|
|
|
|
|
|
<html>
|
|
|
|
|
|
|
|
|
|
|
|
<head>
|
|
|
|
|
|
<meta charset="UTF-8">
|
|
|
|
|
|
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
|
|
|
|
|
<meta name="description" content="vhtmlJS Framework" details="下一代Web组件框架">
|
|
|
|
|
|
<title>vhtmlJS - 现代Web组件框架</title>
|
|
|
|
|
|
<link rel="stylesheet" href="https://unpkg.com/animations@latest/css/animate.min.css">
|
|
|
|
|
|
</head>
|
|
|
|
|
|
<style>
|
|
|
|
|
|
body {
|
|
|
|
|
|
font-family: var(--font-family);
|
|
|
|
|
|
line-height: 1.6;
|
|
|
|
|
|
overflow-x: hidden;
|
|
|
|
|
|
margin: 0;
|
|
|
|
|
|
color: var(--text-color);
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
.navbar {
|
|
|
|
|
|
position: fixed;
|
|
|
|
|
|
width: 100%;
|
|
|
|
|
|
background-color: rgba(255, 255, 255, 0.9);
|
|
|
|
|
|
backdrop-filter: blur(10px);
|
|
|
|
|
|
z-index: 50;
|
|
|
|
|
|
box-shadow: var(--shadow-sm);
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
.nav-container {
|
|
|
|
|
|
max-width: 1200px;
|
|
|
|
|
|
margin: 0 auto;
|
|
|
|
|
|
display: flex;
|
|
|
|
|
|
align-items: center;
|
|
|
|
|
|
justify-content: space-between;
|
|
|
|
|
|
padding: 1rem;
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
.logo {
|
|
|
|
|
|
font-size: 1.5rem;
|
|
|
|
|
|
font-weight: bold;
|
|
|
|
|
|
color: var(--color-primary);
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
.nav-links {
|
|
|
|
|
|
display: flex;
|
|
|
|
|
|
gap: 1.5rem;
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
.nav-links a {
|
|
|
|
|
|
text-decoration: none;
|
|
|
|
|
|
color: var(--text-color);
|
|
|
|
|
|
transition: color 0.3s;
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
.nav-links a:hover {
|
|
|
|
|
|
color: var(--color-primary);
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
.hero {
|
|
|
|
|
|
min-height: 100vh;
|
|
|
|
|
|
display: flex;
|
|
|
|
|
|
align-items: center;
|
|
|
|
|
|
background: linear-gradient(135deg, var(--color-primary) 0%, color-mix(in srgb, var(--color-primary), #000 20%) 100%);
|
|
|
|
|
|
position: relative;
|
|
|
|
|
|
overflow: hidden;
|
|
|
|
|
|
color: white;
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
.hero-content {
|
|
|
|
|
|
max-width: 1200px;
|
|
|
|
|
|
margin: 0 auto;
|
|
|
|
|
|
padding: 0 1rem;
|
|
|
|
|
|
position: relative;
|
|
|
|
|
|
z-index: 20;
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
.hero-title {
|
|
|
|
|
|
font-size: 3.75rem;
|
|
|
|
|
|
font-weight: bold;
|
|
|
|
|
|
margin-bottom: 1.5rem;
|
|
|
|
|
|
line-height: 1.2;
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
.hero-subtitle {
|
|
|
|
|
|
font-size: 1.25rem;
|
|
|
|
|
|
opacity: 0.9;
|
|
|
|
|
|
margin-bottom: 2rem;
|
|
|
|
|
|
max-width: 48rem;
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
.hero-buttons {
|
|
|
|
|
|
display: flex;
|
|
|
|
|
|
gap: 1rem;
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
.btn-start {
|
|
|
|
|
|
background-color: white;
|
|
|
|
|
|
color: var(--color-primary);
|
|
|
|
|
|
padding: 0.75rem 1.5rem;
|
|
|
|
|
|
border-radius: 9999px;
|
|
|
|
|
|
font-weight: 600;
|
|
|
|
|
|
border: none;
|
|
|
|
|
|
cursor: pointer;
|
|
|
|
|
|
transition: all 0.3s;
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
.btn-start:hover {
|
|
|
|
|
|
box-shadow: var(--shadow-lg);
|
|
|
|
|
|
transform: translateY(-2px);
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
.btn-github {
|
|
|
|
|
|
background-color: transparent;
|
|
|
|
|
|
border: 1px solid white;
|
|
|
|
|
|
color: white;
|
|
|
|
|
|
padding: 0.75rem 1.5rem;
|
|
|
|
|
|
border-radius: 9999px;
|
|
|
|
|
|
font-weight: 600;
|
|
|
|
|
|
cursor: pointer;
|
|
|
|
|
|
transition: all 0.3s;
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
.btn-github:hover {
|
|
|
|
|
|
background-color: rgba(255, 255, 255, 0.1);
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
@media (max-width: 768px) {
|
|
|
|
|
|
.hero {
|
|
|
|
|
|
padding-top: 6rem;
|
|
|
|
|
|
text-align: center;
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
.hero-title {
|
|
|
|
|
|
font-size: 2.5rem;
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
.hero-buttons {
|
|
|
|
|
|
justify-content: center;
|
|
|
|
|
|
}
|
|
|
|
|
|
}
|
|
|
|
|
|
</style>
|
|
|
|
|
|
|
|
|
|
|
|
<body>
|
|
|
|
|
|
<nav class="navbar">
|
|
|
|
|
|
<div class="nav-container">
|
|
|
|
|
|
<div class="logo">vhtmlJS</div>
|
|
|
|
|
|
<div class="nav-links">
|
|
|
|
|
|
<a href="#features">特性</a>
|
|
|
|
|
|
<a href="#docs">文档</a>
|
|
|
|
|
|
<a href="#examples">示例</a>
|
|
|
|
|
|
</div>
|
|
|
|
|
|
</div>
|
|
|
|
|
|
</nav>
|
|
|
|
|
|
|
|
|
|
|
|
<section class="hero">
|
|
|
|
|
|
<div class="hero-content">
|
|
|
|
|
|
<h1 class="hero-title animate__animated animate__fadeInUp">
|
|
|
|
|
|
下一代Web组件框架
|
|
|
|
|
|
</h1>
|
|
|
|
|
|
<p class="hero-subtitle animate__animated animate__fadeInUp animate__delay-1s">
|
|
|
|
|
|
用熟悉的HTML语法,构建现代Web应用。无需构建工具,开箱即用。
|
|
|
|
|
|
</p>
|
|
|
|
|
|
<div class="hero-buttons animate__animated animate__fadeInUp animate__delay-2s">
|
|
|
|
|
|
<button class="btn-start">快速开始</button>
|
|
|
|
|
|
<button class="btn-github">GitHub</button>
|
|
|
|
|
|
</div>
|
|
|
|
|
|
</div>
|
|
|
|
|
|
</section>
|
|
|
|
|
|
</body>
|
|
|
|
|
|
<script setup>
|
|
|
|
|
|
// Interactive logic can be added here
|
|
|
|
|
|
</script>
|
|
|
|
|
|
|
|
|
|
|
|
</html>
|