ci(deploy): restrict build job to datawhalechina owner
docs: update README phrasing for better clarity style: improve responsive text wrapping in home hero and text components Add conditional to only run build job for datawhalechina repository Update README wording for better flow and understanding Modify CSS to handle text wrapping on mobile while maintaining desktop behavior
This commit is contained in:
@@ -23,6 +23,7 @@ concurrency:
|
|||||||
jobs:
|
jobs:
|
||||||
# Build job
|
# Build job
|
||||||
build:
|
build:
|
||||||
|
if: github.repository_owner == 'datawhalechina'
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
steps:
|
steps:
|
||||||
- name: Checkout
|
- name: Checkout
|
||||||
|
|||||||
@@ -26,7 +26,7 @@
|
|||||||
|
|
||||||
本教程专门设计,从0到1,带你逐步掌握 Vibe Coding 技巧:
|
本教程专门设计,从0到1,带你逐步掌握 Vibe Coding 技巧:
|
||||||
- 第零阶段:从**小游戏快速入门** 上手 vibe coding 技能
|
- 第零阶段:从**小游戏快速入门** 上手 vibe coding 技能
|
||||||
- 第一阶段:获得产品经理级 **vibe coding 技能和业务理解**、完成Web应用原型
|
- 第一阶段:产品经理视角下的 **vibe coding 技能和业务理解**,实现 Web 应用原型
|
||||||
- 第二阶段:学习**前后端开发与 AI 能力**相关的 vibecoding 技巧,完成完整应用
|
- 第二阶段:学习**前后端开发与 AI 能力**相关的 vibecoding 技巧,完成完整应用
|
||||||
- 第三阶段:掌握**多平台复杂应用**的构建方案,走向生产级应用
|
- 第三阶段:掌握**多平台复杂应用**的构建方案,走向生产级应用
|
||||||
|
|
||||||
|
|||||||
@@ -227,12 +227,23 @@ const shouldHideCursor = computed(() => {
|
|||||||
.text-type {
|
.text-type {
|
||||||
display: inline-flex;
|
display: inline-flex;
|
||||||
align-items: baseline;
|
align-items: baseline;
|
||||||
white-space: nowrap;
|
white-space: pre-wrap;
|
||||||
|
word-break: break-word;
|
||||||
}
|
}
|
||||||
|
|
||||||
.text-type__content {
|
.text-type__content {
|
||||||
display: inline-block;
|
display: inline;
|
||||||
white-space: nowrap;
|
white-space: inherit;
|
||||||
|
}
|
||||||
|
|
||||||
|
@media (min-width: 960px) {
|
||||||
|
.text-type {
|
||||||
|
white-space: nowrap;
|
||||||
|
}
|
||||||
|
.text-type__content {
|
||||||
|
display: inline-block;
|
||||||
|
white-space: nowrap;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
.text-type__cursor {
|
.text-type__cursor {
|
||||||
|
|||||||
@@ -94,6 +94,13 @@
|
|||||||
|
|
||||||
/* Fix tagline wrapping issues */
|
/* Fix tagline wrapping issues */
|
||||||
.VPHomeHero .tagline {
|
.VPHomeHero .tagline {
|
||||||
white-space: nowrap;
|
white-space: pre-wrap;
|
||||||
|
word-break: break-word;
|
||||||
max-width: none !important;
|
max-width: none !important;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@media (min-width: 960px) {
|
||||||
|
.VPHomeHero .tagline {
|
||||||
|
white-space: nowrap;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user