Skip to content

Commit c2d4c98

Browse files
JohnMcLearclaude
andauthored
ui: non-docker one-liner, remove hero CTAs/BTC, rename Functionality (#366)
Four related tweaks to the home page after PRs #361 and #365 landed. - InstallOneLiner: swap the Docker one-liner for the native curl/irm installer commands from etherpad-lite README (Linux/macOS use bin/installer.sh, Windows uses bin/installer.ps1). Update the caption from "Needs Docker" to git + Node.js >= 20 with the follow-up `cd etherpad-lite && pnpm run prod` step. - MainHeadline: remove the "Read the manifesto" and "Why Etherpad" CTA buttons from the hero. The header already links to /about, and the hero was getting crowded once the InstallOneLiner landed. - MainHeadline: shrink hero h1 from 2.5rem to 2.3rem so the heading fits more naturally above the subhead on narrower viewports. - AddFunctionalities: rename heading "Add Functionalities" to "Add Functionality" — "functionality" reads as an uncountable collective here, which is more idiomatic. - Footer: remove the unverified Bitcoin donation line that PR #361 reintroduced when the positioning branch merged on top of #362. No routing or dependency changes. `pnpm run build` succeeds; all routes still generate statically. Co-authored-by: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
1 parent ea34c39 commit c2d4c98

4 files changed

Lines changed: 6 additions & 11 deletions

File tree

src/components/Footer.tsx

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,6 @@ export const Footer = ()=>{
1919
Commons Attribution-ShareAlike 3.0 Unported License</a>.</p>
2020
<p>Thanks to <a href="https://github.com/seballot" target="_blank">@seballot</a> and
2121
<a href="https://github.com/SamTV12345" target={"_blank"}> @SamTV12345</a> for the redesign</p>
22-
<p className="text-xs opacity-60 mt-2">Bitcoin: 198uyayMFVHUmrcuzWKFSMAkmwfkQgQEXj</p>
2322
</div>
2423

2524
<Suspense>

src/components/InstallOneLiner.tsx

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -10,17 +10,17 @@ const ONE_LINERS: Record<OS, {label: string; command: string; icon: typeof faLin
1010
linux: {
1111
label: 'Linux',
1212
icon: faLinux,
13-
command: 'docker run -d --name etherpad -p 9001:9001 etherpad/etherpad',
13+
command: 'curl -fsSL https://raw.githubusercontent.com/ether/etherpad-lite/master/bin/installer.sh | sh',
1414
},
1515
mac: {
1616
label: 'macOS',
1717
icon: faApple,
18-
command: 'docker run -d --name etherpad -p 9001:9001 etherpad/etherpad',
18+
command: 'curl -fsSL https://raw.githubusercontent.com/ether/etherpad-lite/master/bin/installer.sh | sh',
1919
},
2020
windows: {
2121
label: 'Windows',
2222
icon: faWindows,
23-
command: 'docker run -d --name etherpad -p 9001:9001 etherpad/etherpad',
23+
command: 'irm https://raw.githubusercontent.com/ether/etherpad-lite/master/bin/installer.ps1 | iex',
2424
},
2525
};
2626

@@ -70,7 +70,7 @@ export const InstallOneLiner = () => {
7070
</button>
7171
</div>
7272
<p className="text-xs text-gray-500 dark:text-gray-400 px-3 pb-3">
73-
Needs Docker. Then open <code>http://localhost:9001</code>.{' '}
73+
Needs <code>git</code> and Node.js &ge; 20. Then <code>cd etherpad-lite && pnpm run prod</code> and open <code>http://localhost:9001</code>.{' '}
7474
<a
7575
href="https://github.com/ether/etherpad-lite#installation"
7676
target="_blank"

src/pagesToDisplay/AddFunctionalities.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ export const AddFunctionalities = ()=>{
77
return <div className="content wrap">
88
<h2 className="text-3xl text-primary font-bold mb-4 mt-16 flex items-center">
99
<FontAwesomeIcon icon={faPlug} className="mr-4"/>
10-
Add Functionalities</h2>
10+
Add Functionality</h2>
1111
<span className="dark:text-gray-400">
1212
Etherpad is very customizable through plugins. Instructions can be found in the <a
1313
href={ADDITIONAL_PLUGINS} target="_blank">plugin wiki article</a>

src/pagesToDisplay/MainHeadline.tsx

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -7,16 +7,12 @@ import {InstallOneLiner} from "../components/InstallOneLiner.tsx";
77
export const MainHeadline = () => {
88
return <div className="content primary showcase">
99
<div className="wrap">
10-
<h1 className="font-normal ml-0 mr-0 mb-4 text-[2.5rem] mt-16 dark:text-white">
10+
<h1 className="font-normal ml-0 mr-0 mb-4 text-[2.3rem] mt-16 dark:text-white">
1111
<strong>Etherpad</strong> &mdash; the editor for <strong>documents that matter</strong>.
1212
</h1>
1313
<p className="text-xl mb-6 dark:text-gray-300">
1414
Real-time collaborative editing where authorship is the default, your server is the only server, and you decide what AI (if any) ever touches your text.
1515
</p>
16-
<div className="flex flex-wrap gap-3 mb-6">
17-
<Link href="/about" className="px-4 py-2 bg-primary text-white rounded hover:opacity-90">Read the manifesto &rarr;</Link>
18-
<Link href="/why-etherpad" className="px-4 py-2 border border-primary text-primary rounded hover:bg-primary hover:text-white">Why Etherpad &rarr;</Link>
19-
</div>
2016

2117
<InstallOneLiner/>
2218
</div>

0 commit comments

Comments
 (0)