Skip to content

Commit 4c0ad3e

Browse files
committed
refactor(website): improve home page
1 parent b890556 commit 4c0ad3e

File tree

5 files changed

+49
-121
lines changed

5 files changed

+49
-121
lines changed

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,7 @@
5656
"@eslint/config-inspector": "^1.0.0",
5757
"@eslint/js": "^9.19.0",
5858
"@eslint/markdown": "^6.2.2",
59-
"@napi-rs/canvas": "^0.1.65",
59+
"@napi-rs/canvas": "^0.1.66",
6060
"@stylistic/eslint-plugin": "^3.0.1",
6161
"@swc/core": "^1.10.12",
6262
"@tsconfig/node22": "^22.0.0",

pnpm-lock.yaml

Lines changed: 45 additions & 82 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

website/app/(home)/page.tsx

Lines changed: 3 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,6 @@
11
import { Link } from "next-view-transitions";
22

33
import { ESLintReact } from "#/components/eslint-react";
4-
import { TweetCards } from "#/components/tweet-cards";
54

65
const features = [
76
["Flexible", "Increased flexibility with more granular severity control."],
@@ -17,13 +16,6 @@ const packages = [
1716
["eslint-plugin-react-naming-convention", "Naming convention rules."],
1817
] as const;
1918

20-
const tweets = [
21-
"1865166494709026873",
22-
"1839913920984678890",
23-
"1841248980354941038",
24-
"1859137094976696467",
25-
];
26-
2719
export default function HomePage() {
2820
return (
2921
<main className="w-full min-w-0 max-w-6xl px-8 pt-4 pb-12 md:px-12 mx-auto">
@@ -39,8 +31,8 @@ export default function HomePage() {
3931
</li>
4032
))}
4133
</ul>
42-
<h2>Public packages</h2>
43-
<h3>All-in-one plugins</h3>
34+
<h2>ESLint Plugins</h2>
35+
<h3>All-in-one</h3>
4436
<ul>
4537
<li>
4638
<span>
@@ -51,7 +43,7 @@ export default function HomePage() {
5143
</span>
5244
</li>
5345
</ul>
54-
<h3>Modular plugins</h3>
46+
<h3>Modular</h3>
5547
<ul>
5648
{packages.map(([name, description]) => (
5749
<li key={name}>
@@ -64,10 +56,6 @@ export default function HomePage() {
6456
</li>
6557
))}
6658
</ul>
67-
<TweetCards
68-
className="not-prose"
69-
tweets={tweets}
70-
/>
7159
<h2>FAQ</h2>
7260
<Link href="/docs/faq">Frequently Asked Questions ↗</Link>
7361
<h2>License</h2>

website/components/tweet-cards.tsx

Lines changed: 0 additions & 22 deletions
This file was deleted.

website/package.json

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,6 @@
4848
"eslint-plugin-simple-import-sort": "^12.1.1",
4949
"eslint-plugin-unicorn": "^56.0.1",
5050
"postcss": "^8.5.1",
51-
"react-tweet": "^3.2.1",
5251
"tailwindcss": "3.4.17",
5352
"typescript": "^5.7.3",
5453
"typescript-eslint": "^8.22.0"

0 commit comments

Comments
 (0)