Closed mansoorbarri closed 1 year ago
Name | Link |
---|---|
Latest commit | d8db2565cab5df2ff959a7db58c694f141327795 |
Latest deploy log | https://app.netlify.com/sites/gokarna-hugo/deploys/654295ae77720a0008eb12ff |
Deploy Preview | https://deploy-preview-197--gokarna-hugo.netlify.app |
Preview on mobile | Toggle QR Code...Use your smartphone camera to open QR code link. |
To edit notification comments on pull requests, go to your Netlify site configuration.
@mansoorbarri Thanks for the PR
Can you also:
ShowBackToTopButton
param@mansoorbarri Thanks for the PR
Can you also:
- Feature gate it with the
ShowBackToTopButton
param- Add the feature in theme-basic-documentation
added
appreciate the feedback. Please have a look now
@mansoorbarri This seems to break on mobile. . Could you please double check on your side and fix it before we merge?
Otherwise if someone builds Gokarna on the latest version and tries to use it on mobile screens it wouldn't be a good user experience for them
Also, let's use an icon which doesn't have a vertical line at at all. Basically, similar to an inverted "V"
Yeah, we should either pad it in way it does not come over text or disable it for mobile
I find this a bit alright but removing the button on mobile is probably the best option in my opinion. Do let me know what you would like.
Dark | Light |
---|---|
preview: https://gokarna.mansoorbarri.com
@mansoorbarri Thanks for making the changes. In the current state the button looks okay, but we can certainly make it more visually appealing by making it match the site theme (light/dark).
I was browsing Hugo themes and came across this as an example: https://hugoloveit.com/emoji-support/#
Notice how the button's color and background color matches the current theme (light/dark).
Basically, what I mean is the blue background color on the back to top button looks a little out of place IMO. Simply changing that to match the light/dark theme should also be enough :)
definitely, my first idea was to make it the same colour as code blocks on the website but I wasn't sure about that.
preview: https://gokarna.mansoorbarri.com
they look something like this: | Dark | Light |
---|---|---|
we can also make it a bit opaque but if you have any other ideas, do let me know.
@mansoorbarri @526avijitgupta
I think we should disable this on mobile and create a different issue to track that till we come up with a better design. Lets try to get this PR merged with mobile disabled
What do you all think ?
I agree
the most we can do is move the button a bit towards right but it still comes over some of the page content:
the most we can do is move the button a bit towards right but it still comes over some of the page content:
@mansoorbarri Yeah, that is why I don't want to add this in mobile till we come up with a better solution
But I like adding a background color with the arrow
Lets:
@mansoorbarri @526avijitgupta
I think we should disable this on mobile and create a different issue to track that till we come up with a better design.
@yashmehrotra Agreed!
the most we can do is move the button a bit towards right but it still comes over some of the page content:
@mansoorbarri Yeah, that is why I don't want to add this in mobile till we come up with a better solution
But I like adding a background color with the arrow
Lets:
- Disable it for mobile
- Add background color with arrow with just the inverted v
added! preview at https://gokarna.mansoorbarri.com
Can we make the padding in such a way that the V is in the middle, right now its left-centered
I tried multiple changes to the CSS code however it still stays left aligned, the svg
doesn't have a seperate div so I don't know why it shows up like that
@mansoorbarri Doing padding-right: 8px
makes it look like its at the centre
Also, lets make this a complete circle
@yashmehrotra all changes are made, preview: https://gokarna.mansoorbarri.com/
@mansoorbarri Looks good
@526avijitgupta Should we merge this PR now ?
Fixes #155
Screenshot: