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

Adding optional custom logo to header with darkmode support #325

Open
wants to merge 6 commits into
base: main
Choose a base branch
from

Conversation

si1k
Copy link
Contributor

@si1k si1k commented Jun 11, 2022

Description

Added the ability to add a logo to the top header. This feature is optional. It also supports using just one logo/image or having different ones for both light and dark mode.

On non-root pages the logo will link to the home page and on the root page the logo is shown without a link. I added padding to ensure the logo does not shift when switching between pages and root.

Note: It does require navigationStyle: 'custom' - last commit added this to the site.config.ts comments.

image

image

Notion Test Page ID

I have it implemented on my page - https://alexchaveriat.com/

@vercel
Copy link

vercel bot commented Jun 11, 2022

@si1k is attempting to deploy a commit to the Saasify Team on Vercel.

A member of the Team first needs to authorize it.

theoffbeatdoc added a commit to theoffbeatdoc/nextjs-frontend-notion that referenced this pull request Jan 25, 2023
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

1 participant