Skip to content

fix: restrict ProjectShowcase to root pages and fix clice doc links#15

Merged
16bit-ykiko merged 1 commit into
mainfrom
fix/clice-subpage-routing
Jun 9, 2026
Merged

fix: restrict ProjectShowcase to root pages and fix clice doc links#15
16bit-ykiko merged 1 commit into
mainfrom
fix/clice-subpage-routing

Conversation

@16bit-ykiko

@16bit-ykiko 16bit-ykiko commented Jun 9, 2026

Copy link
Copy Markdown
Member

Summary

  • HomeHeroProjects was rendering on all layout: home pages (including /clice/), showing the main site's project showcase on subproject pages. Add v-if to restrict it to root pages only (/ and /zh/).
  • Fix clice index.md hero action links from absolute (/guide/...) to relative (./guide/...) so they resolve correctly under the /clice/ prefix.

Test plan

  • Visit / — ProjectShowcase should appear
  • Visit /clice/ — only clice hero + features, no ProjectShowcase
  • Click "What is clice?" on /clice/ — navigates to /clice/guide/what-is-clice
  • Same checks for /zh/ and /zh/clice/

HomeHeroProjects was rendering on all `layout: home` pages, including
/clice/. Add v-if to only show on root pages (/ and /zh/).

Also fix clice index.md hero links from absolute to relative paths so
they resolve correctly under /clice/ prefix.
@16bit-ykiko 16bit-ykiko merged commit 08597a0 into main Jun 9, 2026
1 check passed
@16bit-ykiko 16bit-ykiko deleted the fix/clice-subpage-routing branch June 9, 2026 15:20
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant