You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Once #84 lands, the initial seeds for content as data will be available (via patch package patches), which means we can now leverage this in the header to generate the navigation menus.
With this, we should also be able to add an "active" class to each navigation item to give it an underline when it is the active page.
Details
Basically we would want to add collection and order to the frontmatter of each of the relevant pages, once they have been done / merged
We might also want to make it so that the active link gets a style for it, at minumum an underline would be nice, especially when you're on the Docs or Guides pages, since they have similar layouts so having that visual breadcrumb would be nice.
The text was updated successfully, but these errors were encountered:
thescientist13
changed the title
leverage content as data for the header component navigation
leverage content as data for the header component navigation content
Sep 5, 2024
Summary
Once #84 lands, the initial seeds for content as data will be available (via patch package patches), which means we can now leverage this in the header to generate the navigation menus.
With this, we should also be able to add an "active" class to each navigation item to give it an underline when it is the active page.
Details
Basically we would want to add
collection
andorder
to the frontmatter of each of the relevant pages, once they have been done / mergedWe might also want to make it so that the active link gets a style for it, at minumum an underline would be nice, especially when you're on the Docs or Guides pages, since they have similar layouts so having that visual breadcrumb would be nice.
![Screenshot 2024-10-15 at 8 07 11 PM](https://private-user-images.githubusercontent.com/895923/376841689-3192f01c-876e-4295-832e-0ada83491996.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3Mzg5OTc4ODMsIm5iZiI6MTczODk5NzU4MywicGF0aCI6Ii84OTU5MjMvMzc2ODQxNjg5LTMxOTJmMDFjLTg3NmUtNDI5NS04MzJlLTBhZGE4MzQ5MTk5Ni5wbmc_WC1BbXotQWxnb3JpdGhtPUFXUzQtSE1BQy1TSEEyNTYmWC1BbXotQ3JlZGVudGlhbD1BS0lBVkNPRFlMU0E1M1BRSzRaQSUyRjIwMjUwMjA4JTJGdXMtZWFzdC0xJTJGczMlMkZhd3M0X3JlcXVlc3QmWC1BbXotRGF0ZT0yMDI1MDIwOFQwNjUzMDNaJlgtQW16LUV4cGlyZXM9MzAwJlgtQW16LVNpZ25hdHVyZT02MmI3NTlhZGVmMTk4N2Q0ZTBjYTcwZjZlY2RhMjU5NTJkYzY4OGM2ZGIxMDQ4ZWUyNTZlYzNlMWQyNGNiMjVmJlgtQW16LVNpZ25lZEhlYWRlcnM9aG9zdCJ9.pR6MgaMMohgwDz7pTycEmS8wORdcUpHCfHYE1pjRJ-0)
The text was updated successfully, but these errors were encountered: