first add files

This commit is contained in:
2025-08-15 14:58:11 +08:00
parent 4291639d4f
commit b745cae8eb
11 changed files with 648 additions and 0 deletions

43
templates/base.html Normal file
View File

@@ -0,0 +1,43 @@
<!DOCTYPE html>
<html lang="zh-CN">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>{{ company.name }} - {% block title %}{% endblock %}</title>
<link rel="stylesheet" href="{{ url_for('static', filename='css/style.css') }}">
<link href="https://fonts.googleapis.com/css2?family=Noto+Sans+SC:wght@300;400;500;700&display=swap"
rel="stylesheet">
</head>
<body>
<header>
<div class="container">
<h1><a href="{{ url_for('index') }}">{{ company.name }}</a></h1>
<nav>
<ul>
<li><a href="{{ url_for('index') }}">首页</a></li>
<li><a href="{{ url_for('about') }}">关于我们</a></li>
<li><a href="{{ url_for('services') }}">服务</a></li>
<li><a href="{{ url_for('contact') }}">联系我们</a></li>
</ul>
</nav>
</div>
</header>
<main>
{% block content %}{% endblock %}
</main>
<footer>
<div class="container">
<p>&copy; 2023 {{ company.name }}. 保留所有权利。</p>
<div class="footer-links">
<a href="#">隐私政策</a>
<a href="#">使用条款</a>
</div>
</div>
</footer>
</body>
</html>