Skip to content

Landing page fixes#284

Merged
mislav merged 5 commits intoadd-landing-page-v2from
landing-page-fixes
Jan 31, 2020
Merged

Landing page fixes#284
mislav merged 5 commits intoadd-landing-page-v2from
landing-page-fixes

Conversation

@mislav
Copy link
Copy Markdown
Contributor

@mislav mislav commented Jan 30, 2020

  • Fixes typing animation

    • Makes animated terminal section easier to understand & maintain
    • Remove jQuery since it's no longer needed
  • Dynamically generate repo & download URLs instead of hardcoding them

  • Remove “Sign in, Sign up” links from navigation bar

  • Make it easier for user to copy select brew install instructions by triple-clicking them on macOS

- They don't accurately reflect the visitor's current signed-in status on github.com
- They don't redirect back to GitHub CLI site when used
- Signing in to GitHub doesn't benefit the visitor of the GitHub CLI
  site at all, since the page won't be different in any way.
This makes it easer for the user to copy to clipboard without having to
precisely adjust their selection.
I couldn't figure out what's broken with typed.js library, so I've
reimplemented the typing animation from scratch in a simpler way.

Now the typing contents is read from HTML (instead of being hardcoded in
JS) and should be easy to understand and to maintain.
@mislav mislav requested a review from ampinsk January 30, 2020 23:28
Copy link
Copy Markdown

@ampinsk ampinsk left a comment

Choose a reason for hiding this comment

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

I can't speak to all the details of the code here, but almost everything works as expected, and looks easy to understand what's going on!

The one thing I noticed is that triple clicking doesn't seem to copy for me. 🤔

@mislav
Copy link
Copy Markdown
Contributor Author

mislav commented Jan 31, 2020

The one thing I noticed is that triple clicking doesn't seem to copy for me. 🤔

To clarify: the thing I added is not that triple-click auto-copies, but that triple clicking will select only the installation instructions text and not the rest of the text around the <code> area. This makes it easier to make a selection before pressing Cmd-C to copy.

@mislav mislav merged commit 673d77b into add-landing-page-v2 Jan 31, 2020
@mislav mislav deleted the landing-page-fixes branch January 31, 2020 11:41
Stonre pushed a commit to Stonre/strands-fork that referenced this pull request Jul 21, 2025
* feat: add Mistral model support to strands

* fix: testcase and better error handling

* fix: Minor doc update
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.

3 participants