From a1362b946a99460b2b7499b80978168cc9f3b666 Mon Sep 17 00:00:00 2001 From: "Paul Gauthier (aider)" Date: Wed, 19 Mar 2025 09:04:05 -0700 Subject: [PATCH] style: Enhance stats section with modern cards and hover effects --- aider/website/home.html | 86 +++++++++++++++++++++++++++++++++++++---- 1 file changed, 79 insertions(+), 7 deletions(-) diff --git a/aider/website/home.html b/aider/website/home.html index 0a33f540a..2daa24b63 100644 --- a/aider/website/home.html +++ b/aider/website/home.html @@ -285,6 +285,66 @@ font-size: 0.9rem; } + .stats-container { + margin-bottom: 40px; + background: linear-gradient(135deg, rgba(76, 110, 245, 0.1) 0%, rgba(76, 110, 245, 0.2) 100%); + padding: 30px; + border-radius: 16px; + box-shadow: 0 10px 30px rgba(76, 110, 245, 0.1); + max-width: 800px; + margin-left: auto; + margin-right: auto; + } + + .stats-heading { + margin-bottom: 20px; + color: var(--primary); + font-size: 1.6rem; + text-align: center; + font-weight: 700; + } + + .stats-grid { + display: flex; + justify-content: center; + gap: 30px; + flex-wrap: wrap; + } + + .stat-card { + background: white; + border-radius: 12px; + padding: 20px; + min-width: 160px; + text-align: center; + box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05); + transition: transform 0.3s, box-shadow 0.3s; + border: 1px solid rgba(76, 110, 245, 0.1); + } + + .stat-card:hover { + transform: translateY(-5px); + box-shadow: 0 8px 25px rgba(76, 110, 245, 0.15); + } + + .stat-icon { + font-size: 2rem; + margin-bottom: 10px; + } + + .stat-number { + font-size: 2.2rem; + font-weight: 800; + color: var(--primary); + margin-bottom: 5px; + line-height: 1.1; + } + + .stat-label { + color: #495057; + font-weight: 500; + } + @media (max-width: 768px) { .hero h1 { font-size: 2.5rem; @@ -330,13 +390,25 @@

AI Pair Programming in Your Terminal

Aider lets you pair program with LLMs, to edit code in your local git repository. Start a new project or work with an existing code base.

-
-

Folks love aider:

- +
+

Folks love aider:

+
+
+
📈
+
1.6M
+
installs
+
+
+
🏆
+
Top 20
+
app on OpenRouter
+
+
+
💬
+
9B
+
tokens/week
+
+