Skip to content

Conversation

@jvns
Copy link
Collaborator

@jvns jvns commented Oct 30, 2025

This replaces the computer monitor on the homepage (and the links below it) with a single box.

You can see it in action here: https://jvns.github.io/git-scm.com/

I'm not totally sure about the "GitHub Repository" link, since it says elsewhere that technically the GitHub repo is a "mirror", but I think it is an official mirror and it's the most convenient way (at least for me) to view the current version of the source code.

image

I've removed the links below the monitor. Here's the new way to access the removed links, open to hearing that they should be made more prominent.

  • Tarballs: Install -> Build from source
  • Windows Build: Install -> Windows
  • Mac GUIs: Tools -> GUIs

I expect this has the same issues with the screenshot not matching as #2088, haven't dealt with that yet.

Also I need to run the WCAG checker on this contrast in dark mode, not sure it's high enough.

image


&:hover {
background-image: linear-gradient(#1a7e84, #165b60);
transform: translateY(-1px);
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I'm not a fan of this effect. To me it would feel more natural if the button moves down on hover. But I think I would prefer a highlighted border or something (I haven't decided yet).

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I can just change the background colour instead, I think that's more in line with what the other buttons on the site do

Copy link
Collaborator Author

@jvns jvns Oct 30, 2025

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It's a bit tricky to find hover background colours that work both in dark mode and light mode so I just removed the hover effect

@jvns jvns force-pushed the homepage-monitor branch from b67a1de to 9fdb5a2 Compare October 30, 2025 20:51
Co-authored-by: Marie Claire LeBlanc Flanagan <hello@marieflanagan.com>
@jvns jvns force-pushed the homepage-monitor branch from 9fdb5a2 to b509051 Compare October 30, 2025 20:54
@jvns jvns force-pushed the homepage-monitor branch from b509051 to 6512c40 Compare October 30, 2025 20:55
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.

2 participants