fix(website): give Homebrew users an uninstall command, share the link markup
The macOS install route recommends Homebrew, but the uninstall section only ever offered `cargo uninstall`, so anyone who followed the recommended route had no documented way to remove the binary. Adds `brew uninstall`. install.tsx also had ReleasesLink defined to wrap an external anchor, then inlined that same anchor four more times anyway - including one that rebuilt the releases link by hand, byte for byte, 290 lines below the component that already rendered it. ExtLink takes the href and covers all six sites here and in community.tsx. Rendered markup is unchanged.
This commit is contained in:
@@ -1,4 +1,5 @@
|
||||
import { Button } from '@/components/ui/button'
|
||||
import { ExtLink } from '@/components/ui/ext-link'
|
||||
import { FeatureCard } from '@/components/ui/feature-card'
|
||||
import { Code } from '@/components/ui/inline-code'
|
||||
import { Cols, Eyebrow, PageHead, Prose, Section, SectionHead } from '@/components/ui/layout'
|
||||
@@ -138,14 +139,7 @@ export const Community = () => {
|
||||
<p>
|
||||
Format and Clippy run clean on every push, and unit tests plus an end-to-end
|
||||
suite against{' '}
|
||||
<a
|
||||
href={LINKS.soulfind}
|
||||
target="_blank"
|
||||
rel="noopener noreferrer"
|
||||
className="text-link hover:text-link-hover"
|
||||
>
|
||||
soulfind
|
||||
</a>{' '}
|
||||
<ExtLink href={LINKS.soulfind}>soulfind</ExtLink>{' '}
|
||||
run in CI, so a green checkmark means it built and talked to a server.
|
||||
</p>
|
||||
<p>
|
||||
|
||||
Reference in New Issue
Block a user