nextjs-notion-starter-kit
nextjs-notion-starter-kit copied to clipboard
Adding optional custom logo to header with darkmode support
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.
Notion Test Page ID
I have it implemented on my page - https://alexchaveriat.com/
@si1k is attempting to deploy a commit to the Saasify Team on Vercel.
A member of the Team first needs to authorize it.