-
Notifications
You must be signed in to change notification settings - Fork 1.5k
404 footer navbar #2219
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
404 footer navbar #2219
Conversation
|
@hasparus is attempting to deploy a commit to the The GraphQL Foundation Team on Vercel. A member of the Team first needs to authorize it. |
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
jonathanawesome
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Fantastic work! This is a major block-remover that will allow us to start migrating from pages router to app.
src/components/navbar/navbar.tsx
Outdated
| type ReactNode, | ||
| } from "react" | ||
| import React, { useEffect, type ReactElement, type ReactNode } from "react" | ||
| import { useMenu, useThemeConfig } from "nextra-theme-docs" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
useThemeConfig is unused
src/components/footer/index.tsx
Outdated
| </div> | ||
| <p className="typography-body-xs flex flex-col text-pretty max-md:gap-5"> | ||
| {renderComponent(themeConfig.footer.content)} | ||
| Copyright © 2025 The GraphQL Foundation. All rights reserved. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
can we do new Date().getFullYear() here?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
good call
Description
Also made the text match highlight bright neutral with underline (like in Fumadocs) instead of primary as it's more legible on blurred background.
Added a navbar and footer to the 404 page.
Had to eject the search input from Nextra (but we talked with designers about restyling it anyway, so this is a first step.).