Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
104 changes: 14 additions & 90 deletions components/HomePage/FeaturesSection/index.jsx
Original file line number Diff line number Diff line change
@@ -1,125 +1,49 @@
import styles from './index.module.css';
import {
Waypoints,
Split,
Trees,
RefreshCcwDot,
DatabaseZap,
Puzzle,
} from 'lucide-preact';

const Features = [
{
title: 'Module Federation',
description:
'Share code across separately-deployed applications at runtime. The micro-frontend pattern, done right.',
icon: (
<svg
fill="none"
stroke="currentColor"
viewBox="0 0 24 24"
xmlns="http://www.w3.org/2000/svg"
>
<path
strokeLinecap="round"
strokeLinejoin="round"
strokeWidth="1.5"
d="M20 7l-8-4-8 4m16 0l-8 4m8-4v10l-8 4m0-10L4 7m8 4v10M4 7v10l8 4"
></path>
</svg>
),
icon: <Waypoints />,
},
{
title: 'Code splitting',
description:
"Split bundles by route, by demand, or by vendor. Load what's needed, when it's needed.",
icon: (
<svg
fill="none"
stroke="currentColor"
viewBox="0 0 24 24"
xmlns="http://www.w3.org/2000/svg"
>
<path
strokeLinecap="round"
strokeLinejoin="round"
strokeWidth="1.5"
d="M14 10l-2 1m0 0l-2-1m2 1v2.5M20 7l-8-4-8 4m16 0l-8 4m8-4v10l-8 4m0-10L4 7m8 4v10M4 7v10l8 4"
></path>
</svg>
),
icon: <Split />,
},
{
title: 'Tree shaking',
description:
'Static analysis of ES modules eliminates dead code in production builds — automatically.',
icon: (
<svg
fill="none"
stroke="currentColor"
viewBox="0 0 24 24"
xmlns="http://www.w3.org/2000/svg"
>
<path
strokeLinecap="round"
strokeLinejoin="round"
strokeWidth="1.5"
d="M5 3v4M3 5h4M6 17v4m-2-2h4m5-16l2.286 6.857L21 12l-5.714 2.143L13 21l-2.286-6.857L5 12l5.714-2.143L13 3z"
></path>
</svg>
),
icon: <Trees />,
},
{
title: 'Hot module replacement',
description:
'Edit and see the result without losing application state. The fastest feedback loop in JavaScript tooling.',
icon: (
<svg
fill="none"
stroke="currentColor"
viewBox="0 0 24 24"
xmlns="http://www.w3.org/2000/svg"
>
<path
strokeLinecap="round"
strokeLinejoin="round"
strokeWidth="1.5"
d="M4 4v5h.582m15.356 2A8.001 8.001 0 004.582 9m0 0H9m11 11v-5h-.581m0 0a8.003 8.003 0 01-15.357-2m15.357 2H15"
></path>
</svg>
),
icon: <RefreshCcwDot />,
},
{
title: 'Persistent caching',
description:
"v5's filesystem cache makes warm builds near-instant. Cold builds are 38% faster than v4 on large monorepos.",
icon: (
<svg
fill="none"
stroke="currentColor"
viewBox="0 0 24 24"
xmlns="http://www.w3.org/2000/svg"
>
<path
strokeLinecap="round"
strokeLinejoin="round"
strokeWidth="1.5"
d="M7 16V4m0 0L3 8m4-4l4 4m6 0v12m0 0l4-4m-4 4l-4-4"
></path>
</svg>
),
icon: <DatabaseZap />,
},
{
title: '11,000+ plugins',
description:
"The largest ecosystem in JavaScript tooling. If a build problem exists, there's a webpack plugin for it.",
icon: (
<svg
fill="none"
stroke="currentColor"
viewBox="0 0 24 24"
xmlns="http://www.w3.org/2000/svg"
>
<path
strokeLinecap="round"
strokeLinejoin="round"
strokeWidth="1.5"
d="M11 16l-4-4m0 0l4-4m-4 4h14m-5 4v1a3 3 0 01-3 3H6a3 3 0 01-3-3V7a3 3 0 013-3h7a3 3 0 013 3v1"
></path>
</svg>
),
icon: <Puzzle />,
},
];

Expand Down
53 changes: 10 additions & 43 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 1 addition & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,7 @@
"@tailwindcss/node": "^4.3.0",
"classnames": "^2.5.1",
"gray-matter": "^4.0.3",
"lucide-preact": "^1.25.0",
"npm-run-all": "^4.1.5",
"semver": "^7.8.1",
"typedoc": "^0.28.19",
Expand Down
Loading