From 62b093a5572920005ad4c6c2122c17bf8a0d2cde Mon Sep 17 00:00:00 2001 From: maxnorm Date: Sat, 21 Mar 2026 11:58:29 -0400 Subject: [PATCH] improve landing --- website/package-lock.json | 11 + website/package.json | 1 + website/src/components/home/CtaSection.js | 62 ++-- .../src/components/home/FeaturesSection.js | 29 +- website/src/components/home/StatsSection.js | 32 +- .../components/home/codeShowcase.module.css | 238 ++++++++++++-- .../src/components/home/ctaSection.module.css | 258 +++++++++++++-- .../home/featuresSection.module.css | 297 ++++++++++++++++-- .../components/home/statsSection.module.css | 257 +++++++++++++-- website/src/css/variables.css | 9 + website/src/pages/index.js | 2 +- 11 files changed, 1046 insertions(+), 150 deletions(-) diff --git a/website/package-lock.json b/website/package-lock.json index 6a2f9a72..c9136ca8 100644 --- a/website/package-lock.json +++ b/website/package-lock.json @@ -28,6 +28,7 @@ "devDependencies": { "@docusaurus/module-type-aliases": "3.9.2", "@docusaurus/types": "3.9.2", + "@fontsource/geist-sans": "^5.2.5", "@fontsource/inter": "^5.2.8" }, "engines": { @@ -4623,6 +4624,16 @@ "node": ">=20.0" } }, + "node_modules/@fontsource/geist-sans": { + "version": "5.2.5", + "resolved": "https://registry.npmjs.org/@fontsource/geist-sans/-/geist-sans-5.2.5.tgz", + "integrity": "sha512-anllOHyJbElRs9fV15TeDRqAeb1IKm4bSknPl6ZMoyPTx1BBy7logudcUwpNjmQLkzn4Q0JGQLRCUKJYoyST6A==", + "dev": true, + "license": "OFL-1.1", + "funding": { + "url": "https://github.com/sponsors/ayuhito" + } + }, "node_modules/@fontsource/inter": { "version": "5.2.8", "resolved": "https://registry.npmjs.org/@fontsource/inter/-/inter-5.2.8.tgz", diff --git a/website/package.json b/website/package.json index 7c24befb..36fdd53c 100644 --- a/website/package.json +++ b/website/package.json @@ -34,6 +34,7 @@ "devDependencies": { "@docusaurus/module-type-aliases": "3.9.2", "@docusaurus/types": "3.9.2", + "@fontsource/geist-sans": "^5.2.5", "@fontsource/inter": "^5.2.8" }, "browserslist": { diff --git a/website/src/components/home/CtaSection.js b/website/src/components/home/CtaSection.js index beae437e..43904d10 100644 --- a/website/src/components/home/CtaSection.js +++ b/website/src/components/home/CtaSection.js @@ -1,30 +1,52 @@ import clsx from 'clsx'; import Link from '@docusaurus/Link'; import Heading from '@theme/Heading'; -import Icon from '../ui/Icon'; import styles from './ctaSection.module.css'; export default function CtaSection() { return ( -
-
-
- - Ready to build with Compose? - -

- Start creating modular, maintainable smart contracts with our comprehensive documentation. -

-
- - Get Started - - - {/* - - View Quick Start - - */} +
+
+
+