Skip to content

Commit 8665177

Browse files
committed
feat: 新增“加入我们”页面及相关导航
- 在导航栏添加“加入我们”按钮链接 - 在首页添加招生信息卡片,链接到新页面 - 创建完整的“加入我们”页面,包含武汉大学及合作院校招生信息 - 优化页脚公众号描述文本,移除重复的二维码图片
1 parent cfa308c commit 8665177

4 files changed

Lines changed: 179 additions & 13 deletions

File tree

src/components/Footer.astro

Lines changed: 3 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -114,7 +114,7 @@ const friendLinks = [
114114
</div>
115115
<div class="min-h-[3.5rem] flex flex-col justify-center">
116116
<p class="font-medium text-slate-900">CVEO课题组</p>
117-
<p class="text-xs text-slate-600">扫码关注</p>
117+
<p class="text-xs text-slate-600">扫码关注公众号</p>
118118
</div>
119119
</div>
120120
<div
@@ -135,11 +135,6 @@ const friendLinks = [
135135
loading="lazy"
136136
decoding="async"
137137
/>
138-
src="/assets/social/wechat-cveo.png"
139-
alt="CVEO课题组微信公众号二维码"
140-
class="w-32 h-32 object-contain rounded-lg"
141-
loading="lazy"
142-
/>
143138
</div>
144139
</div>
145140
</div>
@@ -167,7 +162,7 @@ const friendLinks = [
167162
</div>
168163
<div class="min-h-[3.5rem] flex flex-col justify-center">
169164
<p class="font-medium text-slate-900">珞珈经纬</p>
170-
<p class="text-xs text-slate-600">扫码关注</p>
165+
<p class="text-xs text-slate-600">扫码关注公众号</p>
171166
</div>
172167
</div>
173168
<div
@@ -187,12 +182,7 @@ const friendLinks = [
187182
class="w-32 h-32 object-contain rounded-lg"
188183
loading="lazy"
189184
decoding="async"
190-
/>
191-
src="/assets/social/wechat-luojiagingwei.png"
192-
alt="珞珈经纬微信公众号二维码"
193-
class="w-32 h-32 object-contain rounded-lg"
194-
loading="lazy"
195-
/>
185+
/>
196186
</div>
197187
</div>
198188
</div>

src/components/NavBar.astro

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,7 @@
2727
<a href="/team" class="text-slate-700 hover:text-brand-900 transition-colors">团队成员</a>
2828
<a href="/research-projects" class="text-slate-700 hover:text-brand-900 transition-colors">科研项目</a>
2929
<a href="/collaboration" class="text-slate-700 hover:text-brand-900 transition-colors">合作平台</a>
30+
<a href="/join" class="px-3 py-1.5 rounded-lg bg-brand-900 text-white hover:bg-brand-800 transition-colors font-medium">加入我们</a>
3031
</nav>
3132

3233
<!-- Mobile Menu Button -->
@@ -59,6 +60,7 @@
5960
<a href="/team" class="px-3 py-2 rounded-lg text-slate-700 hover:text-brand-900 hover:bg-slate-50 transition-colors">团队成员</a>
6061
<a href="/research-projects" class="px-3 py-2 rounded-lg text-slate-700 hover:text-brand-900 hover:bg-slate-50 transition-colors">科研项目</a>
6162
<a href="/collaboration" class="px-3 py-2 rounded-lg text-slate-700 hover:text-brand-900 hover:bg-slate-50 transition-colors">合作平台</a>
63+
<a href="/join" class="px-3 py-2 rounded-lg bg-brand-900 text-white hover:bg-brand-800 transition-colors font-medium text-center">加入我们</a>
6264
</div>
6365
</nav>
6466
</div>

src/pages/index.astro

Lines changed: 39 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -152,6 +152,45 @@ const newsItems = getLatestNews(allNews, 3)
152152
</div>
153153
</section>
154154

155+
<!-- 招生信息卡片 -->
156+
<section class="max-w-7xl mx-auto px-4 sm:px-6 lg:px-8 py-8 scroll-mt-16">
157+
<div class="p-6 rounded-xl bg-gradient-to-br from-brand-50 to-white border border-brand-100 shadow-sm hover:shadow-md transition-all duration-300">
158+
<div class="flex flex-col md:flex-row items-center justify-between gap-6">
159+
<div class="flex-1">
160+
<div class="flex items-center gap-3 mb-3">
161+
<div class="w-10 h-10 rounded-lg bg-brand-900 flex items-center justify-center">
162+
<svg class="w-6 h-6 text-white" fill="none" stroke="currentColor" viewBox="0 0 24 24">
163+
<path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M12 14l9-5-9-5-9 5 9 5z"/>
164+
<path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M12 14l6.16-3.422a12.083 12.083 0 01.665 6.479A11.952 11.952 0 0012 20.055a11.952 11.952 0 00-6.824-2.998 12.078 12.078 0 01.665-6.479L12 14z"/>
165+
</svg>
166+
</div>
167+
<h2 class="text-2xl font-bold text-slate-900">🎓 加入我们</h2>
168+
</div>
169+
<p class="text-slate-600 mb-4">
170+
招收武汉大学本科生(日常科研、大创)、硕士研究生、博士研究生;
171+
同时与长江大学、三峡大学合作招收硕士研究生。
172+
</p>
173+
<div class="flex flex-wrap gap-2">
174+
<span class="inline-flex items-center px-2.5 py-1 rounded-md text-sm font-medium bg-brand-100 text-brand-900">武汉大学</span>
175+
<span class="inline-flex items-center px-2.5 py-1 rounded-md text-sm font-medium bg-brand-green-100 text-brand-green-900">长江大学</span>
176+
<span class="inline-flex items-center px-2.5 py-1 rounded-md text-sm font-medium bg-brand-green-100 text-brand-green-900">三峡大学</span>
177+
</div>
178+
</div>
179+
<a
180+
href="/join"
181+
class="inline-flex items-center justify-center px-6 py-3 rounded-lg bg-brand-900 text-white hover:bg-brand-800 transition-colors font-medium min-w-[140px]"
182+
>
183+
了解详情
184+
<svg class="w-5 h-5 ml-2" fill="none" stroke="currentColor" viewBox="0 0 24 24">
185+
<path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M9 5l7 7-7 7"/>
186+
</svg>
187+
</a>
188+
</div>
189+
</div>
190+
</section>
191+
192+
<section id="news"
193+
155194
<section id="news" class="max-w-7xl mx-auto px-4 sm:px-6 lg:px-8 py-8 scroll-mt-16">
156195
<h2 class="text-2xl font-semibold text-slate-900 mb-8">新闻动态</h2>
157196

src/pages/join.astro

Lines changed: 135 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,135 @@
1+
---
2+
import BaseLayout from '../layouts/BaseLayout.astro'
3+
---
4+
5+
<BaseLayout title="加入我们" description="CVEO课题组招生信息 - 招收武汉大学、长江大学、三峡大学本科生及研究生">
6+
<div class="max-w-4xl mx-auto px-4 sm:px-6 lg:px-8 py-12">
7+
<!-- 标题 -->
8+
<div class="text-center mb-12">
9+
<h1 class="text-3xl sm:text-4xl font-bold text-slate-900 mb-4">🎓 加入我们</h1>
10+
<p class="text-lg text-slate-600">CVEO课题组期待优秀的你加入,共同探索计算机视觉与地球观测的前沿研究</p>
11+
</div>
12+
13+
<!-- 武汉大学 -->
14+
<div class="mb-10 p-6 rounded-xl bg-gradient-to-br from-brand-50 to-white border border-brand-100 shadow-sm">
15+
<div class="flex items-center gap-3 mb-5">
16+
<div class="w-10 h-10 rounded-lg bg-brand-900 flex items-center justify-center">
17+
<svg class="w-6 h-6 text-white" fill="none" stroke="currentColor" viewBox="0 0 24 24">
18+
<path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M12 14l9-5-9-5-9 5 9 5z"></path>
19+
<path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M12 14l6.16-3.422a12.083 12.083 0 01.665 6.479A11.952 11.952 0 0012 20.055a11.952 11.952 0 00-6.824-2.998 12.078 12.078 0 01.665-6.479L12 14z"></path>
20+
</svg>
21+
</div>
22+
<div>
23+
<h2 class="text-2xl font-bold text-slate-900">武汉大学</h2>
24+
<p class="text-sm text-slate-500">测绘遥感信息工程全国重点实验室</p>
25+
</div>
26+
</div>
27+
28+
<div class="space-y-5">
29+
<!-- 本科生 -->
30+
<div class="p-4 rounded-lg bg-white border border-brand-100">
31+
<div class="flex items-center gap-3 mb-3">
32+
<span class="inline-flex items-center px-3 py-1.5 rounded-md text-sm font-semibold bg-brand-100 text-brand-900 flex-shrink-0">本科生</span>
33+
<span class="text-sm text-slate-500">不限学院,欢迎各院系同学加入</span>
34+
</div>
35+
<ul class="space-y-2 text-slate-700 ml-1">
36+
<li class="flex items-start gap-2">
37+
<svg class="w-5 h-5 text-brand-600 flex-shrink-0 mt-0.5" fill="none" stroke="currentColor" viewBox="0 0 24 24">
38+
<path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M9 12l2 2 4-4m6 2a9 9 0 11-18 0 9 9 0 0118 0z"></path>
39+
</svg>
40+
<span><strong>学科竞赛:</strong>指导参加各类计算机、遥感、GIS相关学科竞赛</span>
41+
</li>
42+
<li class="flex items-start gap-2">
43+
<svg class="w-5 h-5 text-brand-600 flex-shrink-0 mt-0.5" fill="none" stroke="currentColor" viewBox="0 0 24 24">
44+
<path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M9 12l2 2 4-4m6 2a9 9 0 11-18 0 9 9 0 0118 0z"></path>
45+
</svg>
46+
<span><strong>创新创业:</strong>支持大学生创新创业训练计划项目</span>
47+
</li>
48+
<li class="flex items-start gap-2">
49+
<svg class="w-5 h-5 text-brand-600 flex-shrink-0 mt-0.5" fill="none" stroke="currentColor" viewBox="0 0 24 24">
50+
<path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M9 12l2 2 4-4m6 2a9 9 0 11-18 0 9 9 0 0118 0z"></path>
51+
</svg>
52+
<span><strong>大创项目:</strong>国家级/省级/校级大学生创新创业项目</span>
53+
</li>
54+
<li class="flex items-start gap-2">
55+
<svg class="w-5 h-5 text-brand-600 flex-shrink-0 mt-0.5" fill="none" stroke="currentColor" viewBox="0 0 24 24">
56+
<path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M9 12l2 2 4-4m6 2a9 9 0 11-18 0 9 9 0 0118 0z"></path>
57+
</svg>
58+
<span><strong>进组科研:</strong>参与课题组日常科研活动,接触前沿研究</span>
59+
</li>
60+
</ul>
61+
</div>
62+
63+
<!-- 硕士 -->
64+
<div class="p-4 rounded-lg bg-white border border-brand-100">
65+
<div class="flex items-center gap-3">
66+
<span class="inline-flex items-center px-3 py-1.5 rounded-md text-sm font-semibold bg-brand-100 text-brand-900 flex-shrink-0">硕士研究生</span>
67+
<p class="text-slate-700">学术学位/专业学位硕士研究生,依托测绘遥感信息工程全国重点实验室开展研究</p>
68+
</div>
69+
</div>
70+
71+
<!-- 博士 -->
72+
<div class="p-4 rounded-lg bg-white border border-brand-100">
73+
<div class="flex items-center gap-3">
74+
<span class="inline-flex items-center px-3 py-1.5 rounded-md text-sm font-semibold bg-brand-100 text-brand-900 flex-shrink-0">博士研究生</span>
75+
<p class="text-slate-700">学术/工程博士研究生,培养遥感与计算机视觉交叉领域高层次人才</p>
76+
</div>
77+
</div>
78+
</div>
79+
</div>
80+
81+
<!-- 合作院校 -->
82+
<div class="mb-10 p-6 rounded-xl bg-gradient-to-br from-brand-green-50 to-white border border-brand-green-100 shadow-sm">
83+
<div class="flex items-center gap-3 mb-5">
84+
<div class="w-10 h-10 rounded-lg bg-brand-green-900 flex items-center justify-center">
85+
<svg class="w-6 h-6 text-white" fill="none" stroke="currentColor" viewBox="0 0 24 24">
86+
<path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M17 20h5v-2a3 3 0 00-5.356-1.857M17 20H7m10 0v-2c0-.656-.126-1.283-.356-1.857M7 20H2v-2a3 3 0 015.356-1.857M7 20v-2c0-.656.126-1.283.356-1.857m0 0a5.002 5.002 0 019.288 0M15 7a3 3 0 11-6 0 3 3 0 016 0zm6 3a2 2 0 11-4 0 2 2 0 014 0zM7 10a2 2 0 11-4 0 2 2 0 014 0z"></path>
87+
</svg>
88+
</div>
89+
<h2 class="text-2xl font-bold text-slate-900">合作院校</h2>
90+
</div>
91+
92+
<div class="space-y-4">
93+
<div class="p-4 rounded-lg bg-white border border-brand-green-100">
94+
<div class="flex flex-col sm:flex-row sm:items-center gap-2 mb-2">
95+
<span class="inline-flex items-center px-3 py-1.5 rounded-md text-sm font-semibold bg-brand-green-100 text-brand-green-900 w-fit">长江大学</span>
96+
<span class="text-sm text-slate-500">地球科学学院</span>
97+
</div>
98+
<p class="text-slate-700">招收硕士研究生,开展资源环境遥感、地理信息系统等相关研究</p>
99+
</div>
100+
101+
<div class="p-4 rounded-lg bg-white border border-brand-green-100">
102+
<div class="flex flex-col sm:flex-row sm:items-center gap-2 mb-2">
103+
<span class="inline-flex items-center px-3 py-1.5 rounded-md text-sm font-semibold bg-brand-green-100 text-brand-green-900 w-fit">三峡大学</span>
104+
<span class="text-sm text-slate-500">计算机与信息学院</span>
105+
</div>
106+
<p class="text-slate-700">招收硕士研究生,开展计算机视觉、人工智能、遥感图像处理等相关研究</p>
107+
</div>
108+
</div>
109+
</div>
110+
111+
<!-- 联系方式 -->
112+
<div class="p-6 rounded-xl bg-gradient-to-br from-slate-50 to-white border border-slate-200 text-center">
113+
<div class="w-16 h-16 rounded-full bg-brand-100 flex items-center justify-center mx-auto mb-4">
114+
<svg class="w-8 h-8 text-brand-900" fill="none" stroke="currentColor" viewBox="0 0 24 24">
115+
<path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M8 12h.01M12 12h.01M16 12h.01M21 12c0 4.418-4.03 8-9 8a9.863 9.863 0 01-4.255-.949L3 20l1.395-3.72C3.512 15.042 3 13.574 3 12c0-4.418 4.03-8 9-8s9 3.582 9 8z"></path>
116+
</svg>
117+
</div>
118+
<h3 class="text-xl font-semibold text-slate-900 mb-3">获取联系方式</h3>
119+
<p class="text-slate-600 mb-2">关注微信公众号<span class="font-medium text-brand-900">「CVEO课题组」</span></p>
120+
<p class="text-slate-600 mb-6">后台回复<span class="inline-flex items-center px-2 py-0.5 rounded bg-brand-100 text-brand-900 text-sm font-medium mx-1">加入CVEO</span>即可</p>
121+
122+
<a
123+
href="https://mp.weixin.qq.com/s/q8xjlmq7Fw2glBrnQifO7Q"
124+
target="_blank"
125+
rel="noopener noreferrer"
126+
class="inline-flex items-center justify-center px-6 py-3 rounded-lg bg-brand-900 text-white hover:bg-brand-800 transition-colors font-medium"
127+
>
128+
<svg class="w-5 h-5 mr-2" fill="currentColor" viewBox="0 0 24 24">
129+
<path d="M8.691 2.188C3.891 2.188 0 5.476 0 9.53c0 2.212 1.17 4.203 3.002 5.55a.59.59 0 01.213.665l-.39 1.48c-.019.07-.048.141-.048.213 0 .163.13.295.29.295a.326.326 0 00.167-.054l1.903-1.114a.864.864 0 01.717-.098 10.16 10.16 0 002.837.403c.276 0 .543-.027.811-.05-.857-2.578.157-4.972 1.932-6.446 1.703-1.415 3.882-1.98 5.853-1.838-.576-3.583-4.196-6.348-8.596-6.348zM5.785 5.991c.642 0 1.162.529 1.162 1.18a1.17 1.17 0 01-1.162 1.178A1.17 1.17 0 014.623 7.17c0-.651.52-1.18 1.162-1.18zm5.813 0c.642 0 1.162.529 1.162 1.18a1.17 1.17 0 01-1.162 1.178 1.17 1.17 0 01-1.162-1.178c0-.651.52-1.18 1.162-1.18zm5.34 2.867c-1.797-.052-3.746.512-5.28 1.786-1.72 1.428-2.687 3.72-1.78 6.22.942 2.453 3.666 4.229 6.884 4.229.826 0 1.622-.12 2.361-.336a.722.722 0 01.598.082l1.584.926a.272.272 0 00.14.045c.134 0 .24-.111.24-.247 0-.06-.023-.12-.038-.177l-.327-1.233a.49.49 0 01.177-.554C23.016 18.115 24 16.405 24 14.479c0-3.197-3.098-5.621-7.062-5.621zm-2.36 2.63c.535 0 .969.44.969.982a.976.976 0 01-.969.983.976.976 0 01-.969-.983c0-.542.434-.982.97-.982zm4.72 0c.535 0 .969.44.969.982a.976.976 0 01-.969.983.976.976 0 01-.969-.983c0-.542.434-.982.97-.982z"></path>
130+
</svg>
131+
关注公众号
132+
</a>
133+
</div>
134+
</div>
135+
</BaseLayout>

0 commit comments

Comments
 (0)