feat(theme): redesign the homepage around the mascot and the projects - #116
Merged
Merged
Conversation
The homepage is the entry for every clice.io project, so it now says what the group builds and shows the projects, without repeating the same links. Hero: the mascot, redrawn standing quietly with her hands clasped (the bow keeps its gold C clasp), stands on the right so she no longer sits under the navbar logo. The headline and the introduction share one speech balloon whose tail is computed to reach her mouth. The introduction says what the tools do, and the only button is "Get started with clice". Projects: one manga page instead of three cards. catter, clice and kotatsu are panels with slanted gutters, drawn from the grid layout at runtime; an arrow labelled compile_commands.json crosses from catter to clice, and two arrows rise from kotatsu into both. Each panel has a narration box, a line-icon portrait, a one-sentence summary and links to its docs (kotatsu, which has none, to GitHub). Removed: the editors/platforms chips, the Q&A strip, the "Get involved" cards and the per-card GitHub links, which repeated the navbar and footer. Body text: M PLUS Rounded 1c carries only Japanese kanji, so Chinese paragraphs mixed its glyphs (and Japanese punctuation) with Noto Sans SC. Body text is now Nunito for Latin with Noto Sans SC for all Chinese. The footer uses the new logo instead of the old avatar. Images and font packages nothing references any more are deleted; the new hero's source and build script are in art/home, and art/logo also writes favicon.ico.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
The homepage is the entry for every clice.io project. It should say at a glance what the group builds and show the projects, and it shouldn't repeat the same links. It also replaces the remaining AI-looking homepage art.
Hero
Projects
compile_commands.jsoncrosses from catter to clice, and two arrows rise from kotatsu into both.Removed because they repeated the navbar and footer:
Body font
@fontsource/m-plus-rounded-1cand the never-imported@fontsource/kosugi-maruare dropped.Other
image.png.art/home/.art/logo/build.shnow also writesfavicon.ico, which some clients request regardless of the<link>tags.Verified with
vitepress buildandvitepress preview. I loaded/,/zh/,/clice/,/zh/catter/,/blog, a guide page, a feature page and a 404 in light at 1440 px and dark at 390 px. None had failed requests, broken images, page errors or horizontal overflow. The homepage was also checked at 800 and 1600 px invitepress dev.