feat: redesign usage limits section on about pages (#173)

- Redesign usage limits card with gradient border and modern styling
- Remove emojis and combine title/subtitle on same line
- Make all 3 language pages (EN/CN/JP) consistent in design
- Update text content with exact localized wording
- Add warning triangle icon in chat panel linking to about page
- Add 'Learn more' link in quota limit toast
- Open about page links in new tab to preserve diagram state
This commit is contained in:
Dayuan Jiang
2025-12-08 20:26:51 +09:00
committed by GitHub
parent 622829b903
commit ac09f9f8f9
5 changed files with 303 additions and 32 deletions

View File

@@ -1,6 +1,7 @@
"use client"
import { Coffee, X } from "lucide-react"
import Link from "next/link"
import type React from "react"
import { FaGithub } from "react-icons/fa"
@@ -70,7 +71,15 @@ export function QuotaLimitToast({
Oops you've reached the daily{" "}
{isTokenLimit ? "token" : "API"} limit for this demo! As an
indie developer covering all the API costs myself, I have to
set these limits to keep things sustainable.
set these limits to keep things sustainable.{" "}
<Link
href="/about"
target="_blank"
rel="noopener noreferrer"
className="inline-flex items-center gap-1 text-amber-600 font-medium hover:text-amber-700 hover:underline"
>
Learn more →
</Link>
</p>
<p>
The good news is that you can self-host the project in