feat(ui): 保时捷语法复刻收尾(ADR-0008/0009/0011/0012/0013) #65
No files matched your search
@@ -71,7 +71,7 @@ export function StandaloneProductClient({ item }: StandaloneProductClientProps)
|
||||
|
||||
{status === 'coming-soon' ? (
|
||||
<section className="bg-bg-primary py-16 lg:py-20">
|
||||
<div className="container-wide">
|
||||
<div className="container-x">
|
||||
<motion.div
|
||||
initial={{ opacity: 0, y: 20 }}
|
||||
whileInView={{ opacity: 1, y: 0 }}
|
||||
@@ -129,7 +129,7 @@ export function StandaloneProductClient({ item }: StandaloneProductClientProps)
|
||||
) : (
|
||||
<>
|
||||
<section className="bg-bg-primary py-16 lg:py-20">
|
||||
<div className="container-wide">
|
||||
<div className="container-x">
|
||||
<div className="grid grid-cols-1 gap-12 lg:grid-cols-2">
|
||||
<motion.div
|
||||
initial={{ opacity: 0, x: -20 }}
|
||||
@@ -164,7 +164,7 @@ export function StandaloneProductClient({ item }: StandaloneProductClientProps)
|
||||
|
||||
{technicalParameters.length > 0 && (
|
||||
<section className="bg-bg-secondary py-16 lg:py-20">
|
||||
<div className="container-wide">
|
||||
<div className="container-x">
|
||||
<motion.div
|
||||
initial={{ opacity: 0, y: 20 }}
|
||||
whileInView={{ opacity: 1, y: 0 }}
|
||||
@@ -207,7 +207,7 @@ export function StandaloneProductClient({ item }: StandaloneProductClientProps)
|
||||
|
||||
{complianceCertifications.length > 0 && (
|
||||
<section className="bg-bg-primary py-16 lg:py-20">
|
||||
<div className="container-wide">
|
||||
<div className="container-x">
|
||||
<motion.div
|
||||
initial={{ opacity: 0, y: 20 }}
|
||||
whileInView={{ opacity: 1, y: 0 }}
|
||||
|
||||
+1
-1
@@ -19,7 +19,7 @@ export default function Error({
|
||||
|
||||
return (
|
||||
<div className="min-h-screen bg-[var(--color-bg-primary)] flex items-center justify-center">
|
||||
<div className="container-wide px-4 py-20">
|
||||
<div className="container-x px-4 py-20">
|
||||
<div className="max-w-2xl mx-auto text-center">
|
||||
<div className="mb-8">
|
||||
<div className="w-24 h-24 bg-[var(--color-brand-bg)] rounded-full flex items-center justify-center mx-auto mb-6">
|
||||
|
||||
@@ -8,7 +8,7 @@ import { ArrowLeft, Search } from 'lucide-react';
|
||||
export function NotFoundContent() {
|
||||
return (
|
||||
<div className="min-h-screen bg-[var(--color-bg-primary)] flex items-center justify-center">
|
||||
<div className="container-wide px-4 py-20">
|
||||
<div className="container-x px-4 py-20">
|
||||
<div className="max-w-xl mx-auto text-center">
|
||||
<div className="mb-8">
|
||||
<h1 className="text-8xl sm:text-[120px] font-bold text-brand-ink/80 leading-none mb-4">
|
||||
|
||||
@@ -13,7 +13,7 @@ export const revalidate = 3600;
|
||||
|
||||
function PrivacyContent() {
|
||||
return (
|
||||
<div className="prose prose-lg max-w-none">
|
||||
<div className="max-w-none">
|
||||
<section className="mb-12">
|
||||
<h2 className="text-2xl font-bold text-[var(--color-text-primary)] mb-4">引言</h2>
|
||||
<p className="text-[var(--color-text-muted)] leading-relaxed mb-4">
|
||||
@@ -250,7 +250,7 @@ export default async function PrivacyPolicyPage() {
|
||||
return (
|
||||
<div className="min-h-screen bg-[var(--color-bg-primary)]">
|
||||
<div className="bg-gradient-to-br from-[var(--color-brand)] via-brand/80 to-[var(--color-brand-section)] py-20">
|
||||
<div className="container-wide">
|
||||
<div className="container-x">
|
||||
<h1 className="text-4xl md:text-5xl font-bold text-white mb-4">
|
||||
{heroTitle}
|
||||
</h1>
|
||||
@@ -260,11 +260,11 @@ export default async function PrivacyPolicyPage() {
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div className="container-wide py-16">
|
||||
<div className="container-x py-16">
|
||||
<div className="max-w-4xl">
|
||||
{cmsContent ? (
|
||||
<div
|
||||
className="prose prose-lg max-w-none"
|
||||
className="max-w-none"
|
||||
dangerouslySetInnerHTML={{ __html: sanitizeRichText(cmsContent) }}
|
||||
/>
|
||||
) : (
|
||||
|
||||
@@ -13,7 +13,7 @@ export const revalidate = 3600;
|
||||
|
||||
function TermsContent() {
|
||||
return (
|
||||
<div className="prose prose-lg max-w-none">
|
||||
<div className="max-w-none">
|
||||
<section className="mb-12">
|
||||
<h2 className="text-2xl font-bold text-[var(--color-text-primary)] mb-4">引言</h2>
|
||||
<p className="text-[var(--color-text-muted)] leading-relaxed mb-4">
|
||||
@@ -195,7 +195,7 @@ export default async function TermsOfServicePage() {
|
||||
return (
|
||||
<div className="min-h-screen bg-[var(--color-bg-primary)]">
|
||||
<div className="bg-gradient-to-br from-[var(--color-brand)] via-brand/80 to-[var(--color-brand-section)] py-20">
|
||||
<div className="container-wide">
|
||||
<div className="container-x">
|
||||
<h1 className="text-4xl md:text-5xl font-bold text-white mb-4">
|
||||
{heroTitle}
|
||||
</h1>
|
||||
@@ -205,11 +205,11 @@ export default async function TermsOfServicePage() {
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div className="container-wide py-16">
|
||||
<div className="container-x py-16">
|
||||
<div className="max-w-4xl">
|
||||
{cmsContent ? (
|
||||
<div
|
||||
className="prose prose-lg max-w-none"
|
||||
className="max-w-none"
|
||||
dangerouslySetInnerHTML={{ __html: sanitizeRichText(cmsContent) }}
|
||||
/>
|
||||
) : (
|
||||
|
||||
@@ -135,7 +135,7 @@ export function SkeletonHero({ className }: SkeletonHeroProps) {
|
||||
aria-label="页面标题加载中"
|
||||
aria-busy="true"
|
||||
>
|
||||
<div className="container-wide max-w-3xl space-y-6">
|
||||
<div className="container-x max-w-3xl space-y-6">
|
||||
<Skeleton className="h-4 w-24" />
|
||||
<Skeleton className="h-12 md:h-14 w-full max-w-2xl" />
|
||||
<Skeleton className="h-6 w-full max-w-xl" />
|
||||
|
||||
Reference in new issue
Block a user