diff --git a/.github/workflows/deploy.yml b/.github/workflows/deploy.yml index 7d03b25..0668a5d 100644 --- a/.github/workflows/deploy.yml +++ b/.github/workflows/deploy.yml @@ -23,6 +23,7 @@ concurrency: jobs: # Build job build: + if: github.repository_owner == 'datawhalechina' runs-on: ubuntu-latest steps: - name: Checkout diff --git a/README.md b/README.md index 3c303b3..d5de194 100644 --- a/README.md +++ b/README.md @@ -26,7 +26,7 @@ 本教程专门设计,从0到1,带你逐步掌握 Vibe Coding 技巧: - 第零阶段:从**小游戏快速入门** 上手 vibe coding 技能 -- 第一阶段:获得产品经理级 **vibe coding 技能和业务理解**、完成Web应用原型 +- 第一阶段:产品经理视角下的 **vibe coding 技能和业务理解**,实现 Web 应用原型 - 第二阶段:学习**前后端开发与 AI 能力**相关的 vibecoding 技巧,完成完整应用 - 第三阶段:掌握**多平台复杂应用**的构建方案,走向生产级应用 diff --git a/docs/.vitepress/theme/components/TextType.vue b/docs/.vitepress/theme/components/TextType.vue index 139e527..d419a5c 100644 --- a/docs/.vitepress/theme/components/TextType.vue +++ b/docs/.vitepress/theme/components/TextType.vue @@ -227,12 +227,23 @@ const shouldHideCursor = computed(() => { .text-type { display: inline-flex; align-items: baseline; - white-space: nowrap; + white-space: pre-wrap; + word-break: break-word; } .text-type__content { - display: inline-block; - white-space: nowrap; + display: inline; + white-space: inherit; +} + +@media (min-width: 960px) { + .text-type { + white-space: nowrap; + } + .text-type__content { + display: inline-block; + white-space: nowrap; + } } .text-type__cursor { diff --git a/docs/.vitepress/theme/style.css b/docs/.vitepress/theme/style.css index ba801bc..55cbf0c 100644 --- a/docs/.vitepress/theme/style.css +++ b/docs/.vitepress/theme/style.css @@ -94,6 +94,13 @@ /* Fix tagline wrapping issues */ .VPHomeHero .tagline { - white-space: nowrap; + white-space: pre-wrap; + word-break: break-word; max-width: none !important; } + +@media (min-width: 960px) { + .VPHomeHero .tagline { + white-space: nowrap; + } +}