Skip to content

Commit 2791c55

Browse files
committed
Fix homepage sponsor badge layout
1 parent 5817aa9 commit 2791c55

4 files changed

Lines changed: 75 additions & 22 deletions

File tree

‎README.md‎

Lines changed: 23 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -6,11 +6,31 @@
66

77
# cxuan-ai-labs
88

9-
An open-source AI coding workflow and developer education lab for Chinese-speaking developers.
9+
An open-source lab for AI coding workflows, Agent experiments, and developer education.
1010

1111
This repository documents practical AI-assisted development workflows, Agent experiments, tool evaluations, curated resources, reproducible notes, and real failure cases. It is not a news mirror and it is not a giant tutorial collection. The focus is on what was actually tried, what broke, what worked, and what can help developers build better workflows with AI.
1212

13-
[Live Preview](https://crisxuan.github.io/bestJavaer/) · [AI Articles](./en/ai-articles/README.md) · [AI Resources](./en/ai-resources/README.md) · [Works & Open Source](./en/works/README.md) · [Development Guidelines](./en/development-guidelines/README.md) · [Legacy Archive](./archive-bestjavaer/README.md) · [Open Source Impact](./OPEN_SOURCE_IMPACT.md)
13+
<div class="home-sponsor-badge" align="center">
14+
<a href="https://vercel.com/open-source-program">
15+
<img alt="Vercel OSS Program" src="./assets/vercel-oss-program-badge.svg" width="220">
16+
</a>
17+
</div>
18+
19+
<div class="home-primary-links">
20+
<a href="https://crisxuan.github.io/bestJavaer/">Live Preview</a>
21+
<span>·</span>
22+
<a href="./en/ai-articles/README.md">AI Articles</a>
23+
<span>·</span>
24+
<a href="./en/ai-resources/README.md">AI Resources</a>
25+
<span>·</span>
26+
<a href="./en/works/README.md">Works & Open Source</a>
27+
<span>·</span>
28+
<a href="./en/development-guidelines/README.md">Development Guidelines</a>
29+
<span>·</span>
30+
<a href="./archive-bestjavaer/README.md">Legacy Archive</a>
31+
<span>·</span>
32+
<a href="./OPEN_SOURCE_IMPACT.md">Open Source Impact</a>
33+
</div>
1434

1535
## Start Here
1636

@@ -71,13 +91,7 @@ This repository documents practical AI-assisted development workflows, Agent exp
7191

7292
bestJavaer used to be a Chinese learning repository for Java developers, covering Java, concurrency, JVM, operating systems, computer networks, MySQL, Spring, interview topics, and related developer education material.
7393

74-
That material is not removed. It has been preserved in [archive-bestjavaer](./archive-bestjavaer/README.md). The current main line is now cxuan-ai-labs: AI coding workflows, Agent experiments, open-source resources, and practical developer education for Chinese-speaking developers.
75-
76-
<p align="center">
77-
<a href="https://vercel.com/open-source-program">
78-
<img alt="Vercel OSS Program" src="./assets/vercel-oss-program-badge.svg" width="260">
79-
</a>
80-
</p>
94+
That material is not removed. It has been preserved in [archive-bestjavaer](./archive-bestjavaer/README.md). The current main line is now cxuan-ai-labs: AI coding workflows, Agent experiments, open-source resources, and practical developer education.
8195

8296
## License
8397

‎README.zh-CN.md‎

Lines changed: 21 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,27 @@
1010

1111
这里不做新闻搬运,也不做大而全教程。这里记录的是:真实用过的 AI 工具、踩过的坑、值得收藏的开源项目、AI coding 工作流,以及一些看起来不一定精致但确实折腾过的实验。
1212

13-
[在线预览](https://crisxuan.github.io/bestJavaer/) · [AI 文章](./ai-articles/README.md) · [AI 资源](./ai-resources/README.md) · [我的作品 & 开源项目](./works/README.md) · [开发规约](./development-guidelines/README.md) · [旧内容归档](./archive-bestjavaer/README.md) · [开源影响力说明](./OPEN_SOURCE_IMPACT.md)
13+
<div class="home-sponsor-badge" align="center">
14+
<a href="https://vercel.com/open-source-program">
15+
<img alt="Vercel OSS Program" src="./assets/vercel-oss-program-badge.svg" width="220">
16+
</a>
17+
</div>
18+
19+
<div class="home-primary-links">
20+
<a href="https://crisxuan.github.io/bestJavaer/">在线预览</a>
21+
<span>·</span>
22+
<a href="./ai-articles/README.md">AI 文章</a>
23+
<span>·</span>
24+
<a href="./ai-resources/README.md">AI 资源</a>
25+
<span>·</span>
26+
<a href="./works/README.md">我的作品 & 开源项目</a>
27+
<span>·</span>
28+
<a href="./development-guidelines/README.md">开发规约</a>
29+
<span>·</span>
30+
<a href="./archive-bestjavaer/README.md">旧内容归档</a>
31+
<span>·</span>
32+
<a href="./OPEN_SOURCE_IMPACT.md">开源影响力说明</a>
33+
</div>
1434

1535
## 先从这几篇开始
1636

@@ -73,12 +93,6 @@
7393

7494
现在,这个仓库的新主线会慢慢转向 AI。旧内容已经整体归档到 [archive-bestjavaer](./archive-bestjavaer/README.md),仍然可以继续阅读。
7595

76-
<p align="center">
77-
<a href="https://vercel.com/open-source-program">
78-
<img alt="Vercel OSS Program" src="./assets/vercel-oss-program-badge.svg" width="260">
79-
</a>
80-
</p>
81-
8296
## 开源协议
8397

8498
本仓库采用双协议声明:

‎assets/docsify.css‎

Lines changed: 28 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -698,15 +698,40 @@ nav a:hover {
698698
text-align: center;
699699
}
700700

701-
.home-page .markdown-section > h1:first-of-type + p + p + p {
701+
.markdown-section .home-sponsor-badge {
702+
line-height: 1;
703+
margin: 24px auto 18px;
704+
text-align: center;
705+
}
706+
707+
.markdown-section .home-sponsor-badge a {
708+
background: transparent;
709+
border: 0;
710+
display: inline-flex;
711+
padding: 0;
712+
text-decoration: none;
713+
}
714+
715+
.markdown-section .home-sponsor-badge img {
716+
border: 0;
717+
border-radius: 0;
718+
box-shadow: none;
719+
display: block;
720+
height: auto;
721+
margin: 0;
722+
max-width: 220px;
723+
width: 220px;
724+
}
725+
726+
.markdown-section .home-primary-links {
702727
display: flex;
703728
flex-wrap: wrap;
704729
gap: 10px;
705730
justify-content: center;
706731
margin: 22px auto 18px;
707732
}
708733

709-
.home-page .markdown-section > h1:first-of-type + p + p + p a {
734+
.markdown-section .home-primary-links a {
710735
background: var(--taste-block);
711736
border: 1px solid var(--taste-line);
712737
border-radius: 999px;
@@ -718,7 +743,7 @@ nav a:hover {
718743
padding: 9px 14px;
719744
}
720745

721-
.home-page .markdown-section > h1:first-of-type + p + p + p a:first-child {
746+
.markdown-section .home-primary-links a:first-of-type {
722747
background: var(--taste-accent);
723748
border-color: var(--taste-accent);
724749
color: #fff;

‎index.html‎

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3,17 +3,17 @@
33
<head>
44
<meta charset="UTF-8">
55
<meta name="viewport" content="width=device-width, initial-scale=1.0">
6-
<meta name="description" content="cxuan-ai-labs: an open-source AI coding workflow and developer education lab for Chinese-speaking developers.">
6+
<meta name="description" content="cxuan-ai-labs: an open-source lab for AI coding workflows, Agent experiments, and developer education.">
77
<meta name="theme-color" content="#00b38a">
88
<meta property="og:title" content="cxuan-ai-labs">
9-
<meta property="og:description" content="An open-source AI coding workflow and developer education lab for Chinese-speaking developers.">
9+
<meta property="og:description" content="An open-source lab for AI coding workflows, Agent experiments, and developer education.">
1010
<meta property="og:type" content="website">
1111
<meta property="og:url" content="https://crisxuan.github.io/bestJavaer/">
1212
<meta property="og:image" content="https://crisxuan.github.io/bestJavaer/assets/cxuan-ai-labs.gif">
1313
<title>cxuan-ai-labs</title>
1414
<link rel="icon" href="./assets/favicon.svg" type="image/svg+xml">
1515
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/docsify-themeable@0/dist/css/theme-simple.css">
16-
<link rel="stylesheet" href="./assets/docsify.css?v=20260617-algolia-search-credit">
16+
<link rel="stylesheet" href="./assets/docsify.css?v=20260618-home-labels">
1717
</head>
1818
<body>
1919
<div id="app">Loading...</div>

0 commit comments

Comments
 (0)