Skip to content

Commit 57ad03d

Browse files
committed
Init the website with github copilot
1 parent 8fc8385 commit 57ad03d

16 files changed

Lines changed: 1444 additions & 0 deletions

.DS_Store

6 KB
Binary file not shown.

docs/.DS_Store

6 KB
Binary file not shown.

docs/README.md

Lines changed: 50 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,50 @@
1+
# Q+2077: 代码边疆
2+
3+
欢迎来到《Q+2077:代码边疆》的官方网站!本项目旨在创建一个响应式的单页网站,展示游戏的核心理念和运作方式,采用赛博朋克风格的设计。
4+
5+
## 项目结构
6+
7+
- **index.html**: 主要的HTML文件,结构化单页网站,包括固定导航栏、首屏、内容区和页脚。
8+
- **css/**: 包含所有样式文件
9+
- **style.css**: 主要样式,包含布局、排版和色彩方案。
10+
- **animations.css**: 定义网站中使用的CSS动画效果。
11+
- **responsive.css**: 媒体查询和响应式样式,确保网站在不同屏幕尺寸下适配良好。
12+
- **js/**: 包含所有JavaScript文件
13+
- **main.js**: 初始化网站功能,包括导航事件监听和平滑滚动。
14+
- **animations.js**: 处理动画效果的JavaScript代码,使用GSAP库增强视觉效果。
15+
- **scroll.js**: 管理与滚动相关的功能,包括视差效果和滚动触发的动画。
16+
- **assets/**: 包含网站使用的所有资源
17+
- **fonts/**: 自定义字体文件,提供独特的赛博朋克美学。
18+
- **icons/**: 网站图标,包括logo和各个部分的代表图标。
19+
- **lib/**: 包含第三方库
20+
- **gsap.min.js**: GSAP库的压缩版本,用于动画和过渡效果。
21+
- **three.min.js**: Three.js库的压缩版本,用于渲染3D元素。
22+
- **README.md**: 项目的文档,包含设置说明和网站功能概述。
23+
24+
## 安装与使用
25+
26+
1. 克隆此仓库到本地:
27+
```
28+
git clone <repository-url>
29+
```
30+
2. 进入项目目录:
31+
```
32+
cd qplus2077-website
33+
```
34+
3. 打开 `index.html` 文件以查看网站。
35+
36+
## 特性
37+
38+
- 赛博朋克风格的设计,结合黑白灰色调和霓虹蓝/紫光效。
39+
- 响应式布局,适配移动端设备。
40+
- 动态二进制代码流背景和Q+2077星球全息投影。
41+
- 平滑滚动和视差效果,提升用户体验。
42+
- 交互增强功能,包括导航高亮、汉堡菜单和轻触反馈。
43+
44+
## 贡献
45+
46+
欢迎任何形式的贡献!请提交问题或拉取请求以帮助我们改进项目。
47+
48+
## 联系我们
49+
50+
如有任何问题或建议,请通过社交媒体与我们联系。

docs/assets/fonts/cyberpunk.woff2

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
This file is intentionally left blank.

docs/assets/icons/code-academy.svg

Lines changed: 4 additions & 0 deletions
Loading

docs/assets/icons/logo.svg

Lines changed: 4 additions & 0 deletions
Loading

docs/assets/icons/quantum-inc.svg

Lines changed: 10 additions & 0 deletions
Loading

docs/assets/icons/social-icons.svg

Lines changed: 18 additions & 0 deletions
Loading

docs/assets/icons/synth-city.svg

Lines changed: 11 additions & 0 deletions
Loading

docs/css/animations.css

Lines changed: 61 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,61 @@
1+
/* Animations for the Q+2077 website */
2+
3+
/* Fade in effect */
4+
.fade-in {
5+
opacity: 0;
6+
animation: fadeIn 1s forwards;
7+
}
8+
9+
@keyframes fadeIn {
10+
to {
11+
opacity: 1;
12+
}
13+
}
14+
15+
/* Slide in from the left */
16+
.slide-in-left {
17+
transform: translateX(-100%);
18+
animation: slideInLeft 0.5s forwards;
19+
}
20+
21+
@keyframes slideInLeft {
22+
to {
23+
transform: translateX(0);
24+
}
25+
}
26+
27+
/* Slide in from the right */
28+
.slide-in-right {
29+
transform: translateX(100%);
30+
animation: slideInRight 0.5s forwards;
31+
}
32+
33+
@keyframes slideInRight {
34+
to {
35+
transform: translateX(0);
36+
}
37+
}
38+
39+
/* Hover effect for buttons */
40+
.button-hover {
41+
transition: background-color 0.3s, transform 0.3s;
42+
}
43+
44+
.button-hover:hover {
45+
background-color: rgba(0, 0, 0, 0.7);
46+
transform: scale(1.05);
47+
}
48+
49+
/* Pulsing effect for social media icons */
50+
.pulse {
51+
animation: pulse 1.5s infinite;
52+
}
53+
54+
@keyframes pulse {
55+
0%, 100% {
56+
transform: scale(1);
57+
}
58+
50% {
59+
transform: scale(1.1);
60+
}
61+
}

0 commit comments

Comments
 (0)