Files
ai-beautify/index.html
xiaomai 08e2518280 feat(ui): implement modern and responsive design for homepage
Replaces the barebones placeholder index.html with a visually rich, single-page design. This change introduces a modern user interface to serve as a proper landing page.

Key enhancements include:
- A clean, responsive layout using flexbox.
- Modern styling with gradients, shadows, and animations.
- Integration of Font Awesome for icons.
- Structured content with feature cards and a footer.
2025-09-10 23:26:52 +08:00

210 lines
5.8 KiB
HTML
Raw Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
<!DOCTYPE html>
<html lang="zh-CN">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>简约之美 - 网页设计</title>
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.4.0/css/all.min.css">
<style>
* {
margin: 0;
padding: 0;
box-sizing: border-box;
font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}
body {
background: linear-gradient(135deg, #6e8efb, #a777e3);
color: #333;
min-height: 100vh;
display: flex;
flex-direction: column;
align-items: center;
justify-content: center;
padding: 20px;
line-height: 1.6;
}
.container {
max-width: 800px;
width: 100%;
background: rgba(255, 255, 255, 0.95);
border-radius: 20px;
box-shadow: 0 15px 35px rgba(0, 0, 0, 0.2);
overflow: hidden;
text-align: center;
padding: 40px;
backdrop-filter: blur(10px);
animation: fadeIn 1s ease-out;
}
@keyframes fadeIn {
from { opacity: 0; transform: translateY(20px); }
to { opacity: 1; transform: translateY(0); }
}
h1 {
color: #6e8efb;
margin-bottom: 20px;
font-size: 2.5rem;
font-weight: 700;
}
.divider {
height: 4px;
width: 80px;
background: linear-gradient(to right, #6e8efb, #a777e3);
margin: 0 auto 25px;
border-radius: 2px;
}
p.lead {
font-size: 1.4rem;
color: #555;
margin-bottom: 30px;
line-height: 1.8;
}
.content-box {
background: linear-gradient(135deg, #f8f9fa, #e9ecef);
border-radius: 15px;
padding: 25px;
margin: 30px 0;
border-left: 5px solid #6e8efb;
}
.original-text {
font-size: 1.8rem;
color: #6e8efb;
font-weight: 300;
font-style: italic;
padding: 15px;
background: rgba(110, 142, 251, 0.1);
border-radius: 10px;
display: inline-block;
margin: 20px 0;
}
.features {
display: flex;
flex-wrap: wrap;
justify-content: center;
gap: 20px;
margin: 40px 0;
}
.feature {
flex: 1;
min-width: 200px;
background: white;
padding: 20px;
border-radius: 15px;
box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
transition: transform 0.3s ease;
}
.feature:hover {
transform: translateY(-5px);
}
.feature i {
font-size: 2.5rem;
color: #6e8efb;
margin-bottom: 15px;
}
.feature h3 {
color: #555;
margin-bottom: 10px;
}
footer {
margin-top: 40px;
color: white;
text-align: center;
font-size: 0.9rem;
opacity: 0.8;
}
.social-links {
display: flex;
justify-content: center;
gap: 15px;
margin-top: 15px;
}
.social-links a {
color: white;
font-size: 1.5rem;
transition: transform 0.3s ease;
}
.social-links a:hover {
transform: scale(1.2);
}
@media (max-width: 768px) {
.container {
padding: 25px;
}
h1 {
font-size: 2rem;
}
p.lead {
font-size: 1.1rem;
}
.features {
flex-direction: column;
}
}
</style>
</head>
<body>
<div class="container">
<h1>简约之美</h1>
<div class="divider"></div>
<p class="lead">有时候,最简单的设计反而能创造出最强大的视觉冲击</p>
<div class="content-box">
<p>原始内容被优雅地重新设计:</p>
<div class="original-text">
<i class="fas fa-quote-left"></i> 啥都没有 <i class="fas fa-quote-right"></i>
</div>
<p>但我们为它增添了美感和目的</p>
</div>
<div class="features">
<div class="feature">
<i class="fas fa-paint-brush"></i>
<h3>现代设计</h3>
<p>采用最新的UI设计趋势创造视觉吸引力</p>
</div>
<div class="feature">
<i class="fas fa-mobile-alt"></i>
<h3>响应式布局</h3>
<p>在任何设备上都能完美展示</p>
</div>
<div class="feature">
<i class="fas fa-bolt"></i>
<h3>性能优化</h3>
<p>快速加载,流畅动画,卓越体验</p>
</div>
</div>
<p class="lead">简约不简单,少即是多</p>
</div>
<footer>
<p>© 2023 简约网页设计 | 保留所有权利</p>
<div class="social-links">
<a href="#"><i class="fab fa-twitter"></i></a>
<a href="#"><i class="fab fa-facebook"></i></a>
<a href="#"><i class="fab fa-instagram"></i></a>
<a href="#"><i class="fab fa-github"></i></a>
</div>
</footer>
</body>
</html>