Skip to content

Hero download button leaves the site instead of scrolling to the download instructions #6

Description

@rvanbaalen

What happens

  1. Open https://spreadpaper.app/
  2. Click "Download for macOS" in the hero

The browser leaves the site for https://github.com/spreadpaper/SpreadPaper/releases/latest, a page of release assets with no installation instructions. The visitor never sees the Download section further down the page, which carries the DMG and ZIP links, the macOS and Apple Silicon requirements, and the xattr -dr com.apple.quarantine command the app needs because it is not signed with a paid Developer ID. Without that command the app refuses to open, so the fastest path off the site is also the one most likely to end in a broken first run.

The nav bar button already points at #download and behaves correctly. Only the hero button leaves the page.

What should happen

The hero download button scrolls down to the Download section, the same as the nav button, so the visitor reads the requirements and the quarantine step before downloading.

Where

src/components/sections/Hero.astro, line 20: href="https://github.com/spreadpaper/SpreadPaper/releases/latest".

#download already has scroll-margin-top: 5rem to clear the sticky nav, and reduced motion is already honoured in src/styles/style.css.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions