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

Fix top bar on mobile and remove Notion branding #83

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

pranaygp
Copy link

@pranaygp pranaygp commented Feb 4, 2021

This PR fixes the top bar on mobile by

  1. Removing the "three dots" menu that lets you duplicate the page or log into notion. (it's now div.notion-topbar-mobile > div:nth-child(5))
  2. Adding some padding to the dark mode slider, which was flush with the screen.

It now looks like this (can be seen on https://sayhurro.com)
image

It also removes some notion branding:

  1. "@notionhq" from twitter:site
  2. "Notion" from og:site_name
  3. When sharing a link, it removes the default notion "og:image" and "twitter:image"

We could use a new PR to add a for input to let people use their own hosted og:image instead or simply deleting the notion image. On https://sayhurro.com, I've modified my script to use an image hosted directly through notion

This PR fixes the top bar on mobile by 
1. Removing the "three dots" menu that lets you duplicate the page or log into notion. (it's now `div.notion-topbar-mobile > div:nth-child(5)`)
2. Adding some padding to the dark mode slider, which was flush with the screen. 

It now looks like this (can be seen on https://sayhurro.com)

It also removes some notion branding:
1. "@notionhq" from twitter:site
2. "Notion" from og:site_name
3. When sharing a link, it removes the default notion "og:image" and "twitter:image"

We could use a new PR to add a for input to let people use their own hosted og:image instead or simply deleting the notion image. On https://sayhurro.com, I've modified my script to use an image hosted directly through notion
@pranaygp pranaygp mentioned this pull request Feb 5, 2021
@PatelN123 PatelN123 mentioned this pull request Oct 12, 2021
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.

1 participant