fix: clarify test card number format and clean up imports in page component

This commit is contained in:
javayhu 2025-08-31 21:58:05 +08:00
parent e2dfab2ca7
commit a92ef86a71
3 changed files with 5 additions and 4 deletions

View File

@ -26,7 +26,7 @@ Then you can click the "Upgrade Now" button to upgrade to a premium plan.
You can use the test card number to pay for monthly or yearly PRO plan or LIFETIME plan. You can use the test card number to pay for monthly or yearly PRO plan or LIFETIME plan.
``` ```
4242 4242 4242 4242 Card number: 4242 4242 4242 4242
Exp: 12/34 Exp: 12/34
CVV: 567 CVV: 567
``` ```

View File

@ -26,7 +26,7 @@ image: "/images/blog/post-7.png"
你可以使用测试卡号来支付月度或年度 PRO 计划或终身计划。 你可以使用测试卡号来支付月度或年度 PRO 计划或终身计划。
``` ```
4242 4242 4242 4242 Card number: 4242 4242 4242 4242
Exp: 12/34 Exp: 12/34
CVV: 567 CVV: 567
``` ```

View File

@ -1,7 +1,9 @@
import AllPostsButton from '@/components/blog/all-posts-button'; import AllPostsButton from '@/components/blog/all-posts-button';
import BlogGrid from '@/components/blog/blog-grid'; import BlogGrid from '@/components/blog/blog-grid';
import { PremiumBadge } from '@/components/blog/premium-badge';
import { PremiumGuard } from '@/components/blog/premium-guard'; import { PremiumGuard } from '@/components/blog/premium-guard';
import { getMDXComponents } from '@/components/docs/mdx-components'; import { getMDXComponents } from '@/components/docs/mdx-components';
import { NewsletterCard } from '@/components/newsletter/newsletter-card';
import { websiteConfig } from '@/config/website'; import { websiteConfig } from '@/config/website';
import { LocaleLink } from '@/i18n/navigation'; import { LocaleLink } from '@/i18n/navigation';
import { formatDate } from '@/lib/formatter'; import { formatDate } from '@/lib/formatter';
@ -15,6 +17,7 @@ import {
categorySource, categorySource,
} from '@/lib/source'; } from '@/lib/source';
import { getUrlWithLocale } from '@/lib/urls/urls'; import { getUrlWithLocale } from '@/lib/urls/urls';
import { InlineTOC } from 'fumadocs-ui/components/inline-toc';
import { CalendarIcon, FileTextIcon } from 'lucide-react'; import { CalendarIcon, FileTextIcon } from 'lucide-react';
import type { Metadata } from 'next'; import type { Metadata } from 'next';
import type { Locale } from 'next-intl'; import type { Locale } from 'next-intl';
@ -23,8 +26,6 @@ import Image from 'next/image';
import { notFound } from 'next/navigation'; import { notFound } from 'next/navigation';
import '@/styles/mdx.css'; import '@/styles/mdx.css';
import { PremiumBadge } from '@/components/blog/premium-badge';
import { InlineTOC } from 'fumadocs-ui/components/inline-toc';
/** /**
* get related posts, random pick from all posts with same locale, different slug, * get related posts, random pick from all posts with same locale, different slug,