-
-
Notifications
You must be signed in to change notification settings - Fork 104
Upgrade the docs site to VitePress 2 and add a custom landing page #809
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
Merged
Changes from all commits
Commits
Show all changes
21 commits
Select commit
Hold shift + click to select a range
d4c75f2
Fix JSR ref plugin priority order in docs
dahlia 91c00b1
Upgrade to VitePress 2 and rebrand the docs site
dahlia 70dacdc
Merge the feature grid into the Why Fedify? stack
dahlia 7cacd1b
Show interop software as a linked logo wall
dahlia 1a3e38c
Add a web framework integration section
dahlia a4cbb11
Add a reliable delivery section to the landing page
dahlia 59c8375
Add an observability section to the landing page
dahlia 24df580
Add a type-safe vocabulary section to the landing page
dahlia 750f651
Add an ActivityPub API section to the landing page
dahlia 33f837b
Add a community line to the landing page
dahlia 6f21f88
Add Sovereign Tech Agency credit to landing page
dahlia 0cd87fd
Enlarge hero logo on desktop viewports
dahlia d04e2db
Reframe landing copy as a modular framework
dahlia 80bb391
Expand and reorder landing page sections
dahlia c8f4377
Use meaningful icons in landing checklists
dahlia c592d11
Switch from lucide-vue-next to @lucide/vue
dahlia 0574ba5
Add an Open Graph image for the docs site
dahlia 8f0e860
Fix code block overflow on mobile
dahlia ec739d4
Point the OG image URL at the deploying host
dahlia f65f60c
Mention BotKit and DrFed in the landing footer
dahlia 7fc695d
Comment why JSR ref plugins apply in reverse
dahlia File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
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
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
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,64 @@ | ||
| /* | ||
| * Fedify brand theming for the VitePress default theme. | ||
| * | ||
| * The palette is derived from the Fedify logo, whose blues are Tailwind's `sky` | ||
| * scale (#bae6fd = sky-200, #0284c7 = sky-600, #0c4a6e = sky-900). Brand tokens | ||
| * below are contrast-checked against WCAG AA. The home page uses a fully custom | ||
| * landing layout (see theme/components/HomeLanding.vue); this file only carries | ||
| * the global tokens and the documentation-page typography. | ||
| */ | ||
|
|
||
| /* ------------------------------------------------------------------ * | ||
| * Brand color tokens * | ||
| * ------------------------------------------------------------------ */ | ||
|
|
||
| :root { | ||
| --vp-c-brand-1: #075985; /* sky-800 — links / active text (~7.4:1 on white) */ | ||
| --vp-c-brand-2: #0369a1; /* sky-700 — hover */ | ||
| --vp-c-brand-3: #0284c7; /* sky-600 — solid button bg (AA-large on white) */ | ||
| --vp-c-brand-soft: rgba(2, 132, 199, 0.14); | ||
|
|
||
| /* Legacy alias still referenced by a few default-theme rules. */ | ||
| --vp-c-brand: var(--vp-c-brand-1); | ||
| } | ||
|
|
||
| .dark { | ||
| --vp-c-brand-1: #7dd3fc; /* sky-300 */ | ||
| --vp-c-brand-2: #38bdf8; /* sky-400 */ | ||
| --vp-c-brand-3: #0284c7; /* sky-600 */ | ||
| --vp-c-brand-soft: rgba(56, 189, 248, 0.16); | ||
| } | ||
|
|
||
| /* ------------------------------------------------------------------ * | ||
| * Display typography (documentation headings; the landing component * | ||
| * applies the same family to its own headings via the variable) * | ||
| * ------------------------------------------------------------------ */ | ||
|
|
||
| :root { | ||
| --vp-font-family-display: | ||
| "Bricolage Grotesque Variable", "Bricolage Grotesque", | ||
| var(--vp-font-family-base); | ||
| } | ||
|
|
||
| .vp-doc h1, | ||
| .vp-doc h2, | ||
| .vp-doc h3 { | ||
| font-family: var(--vp-font-family-display); | ||
| font-optical-sizing: auto; | ||
| } | ||
|
|
||
| .vp-doc h1, | ||
| .vp-doc h2 { | ||
| letter-spacing: -0.02em; | ||
| } | ||
|
|
||
| /* ------------------------------------------------------------------ * | ||
| * Custom landing layout * | ||
| * ------------------------------------------------------------------ */ | ||
|
|
||
| /* The landing uses `isHome: true`, so VPContent gets `.is-home`. Neutralize | ||
| its nav-height top padding so HomeLanding's hero owns the offset (consistent | ||
| across breakpoints). */ | ||
| .VPContent.is-home { | ||
| padding-top: 0; | ||
| } |
Oops, something went wrong.
Oops, something went wrong.
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.
Uh oh!
There was an error while loading. Please reload this page.