Skip to content
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

Allow navigable header sections in sidebar w/ link param #165

Merged
merged 6 commits into from
May 18, 2024

Conversation

guscost
Copy link
Contributor

@guscost guscost commented May 14, 2024

Hi, we would like to be able to show the navigation Footer on all section headers, to use those as summary sections. Would it be possible to add a param that makes these pages usable as documentation pages with bottom-of-page navigation? Great docs framework!

Copy link

vercel bot commented May 14, 2024

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
vocs ❌ Failed (Inspect) May 17, 2024 3:59pm

src/app/components/Footer.tsx Outdated Show resolved Hide resolved
@guscost guscost changed the title Allow navigable header sections in sidebar w/ force param Allow navigable header sections in sidebar w/ link param May 17, 2024
@guscost
Copy link
Contributor Author

guscost commented May 17, 2024

Updated, not sure why the build is breaking but the scripts run OK on my local build. Also, overrode these CSS styles, should they be included for navigable/link section title items?

/* Custom sidebar styles */
.vocs_Sidebar_sectionTitle:hover {
  color: var(--vocs-color_text);
}
.vocs_Sidebar_sectionTitle[data-active="true"] {
  color: var(--vocs-color_textAccent);
}

UPDATE: Added hover/active styles when the sidebar section title includes a link.

@guscost guscost requested a review from jxom May 17, 2024 14:35
@jxom jxom merged commit 191ca5c into wevm:main May 18, 2024
2 of 3 checks passed
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.

None yet

2 participants