mirror of
https://github.com/DayuanJiang/next-ai-draw-io.git
synced 2026-01-02 14:22:28 +08:00
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:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user