-
-
Notifications
You must be signed in to change notification settings - Fork 56
Expand file tree
/
Copy pathpage.tsx
More file actions
71 lines (67 loc) · 2.47 KB
/
Copy pathpage.tsx
File metadata and controls
71 lines (67 loc) · 2.47 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
import { Card, Cards } from "fumadocs-ui/components/card";
import { CircleDotDashed, Gauge, Sliders, Zap } from "lucide-react";
import { Link } from "next-view-transitions";
import { ESLintReact } from "@/components/ESLintReact";
const features = [
["Modern", "First-class support for TypeScript, React 19, and more.", Zap],
["Flexible", "Fully customizable rule severity levels, allowing you to enforce or relax rules as needed.", Sliders],
[
"Performant",
"Built with performance in mind, optimized for large codebases, 4-7x faster than other ESLint plugins.",
Gauge,
],
[
"Context-aware Linting",
"Rules that understand the context of your code and project configuration to provide more accurate linting.",
CircleDotDashed,
],
] as const;
export default function HomePage() {
return (
<main className="w-full min-w-0 max-w-6xl px-8 pt-4 pb-0 md:px-12 mx-auto">
<ESLintReact />
<article className="prose max-w-none">
<h2>Features</h2>
<Cards className="grid grid-cols-1 gap-4 md:grid-cols-2 lg:grid-cols-4">
{features.map(([title, description, Icon]) => (
<Card
description={description}
icon={<Icon aria-hidden="true" />}
key={title}
title={title}
/>
))}
</Cards>
<h2>Roadmap</h2>
<p>
Check out the <Link aria-label="View the project roadmap" href="/docs/roadmap">roadmap</Link>{" "}
to see what's planned for the future.
</p>
<h2>Contributing</h2>
<p>
Want to contribute? Check out the{" "}
<Link
aria-label="Read the contributing guide on GitHub"
href="https://github.com/Rel1cx/eslint-react/blob/main/.github/CONTRIBUTING.md"
>
contributing guide
</Link>.
</p>
</article>
<footer className="text-sm text-center md:text-base text-gray-500 mt-12 mb-6">
<small>
ESLint React is not affiliated with Meta Corporation or the{" "}
<Link
aria-label="Visit the official facebook/react GitHub repository"
className="underline"
href="https://github.com/facebook/react"
>
facebook/react
</Link>{" "}
project or team, nor is it endorsed or sponsored by them.
This project is, and will remain, 90% of its code written by humans.
</small>
</footer>
</main>
);
}