feat: add back to home button on all list pages
This commit is contained in:
@@ -23,6 +23,10 @@ export default function CasesPage() {
|
|||||||
|
|
||||||
<div className="container-wide relative z-10 py-16" ref={contentRef}>
|
<div className="container-wide relative z-10 py-16" ref={contentRef}>
|
||||||
<div className="max-w-6xl mx-auto">
|
<div className="max-w-6xl mx-auto">
|
||||||
|
<Link href="/" className="inline-flex items-center text-[#5C5C5C] hover:text-[#C41E3A] transition-colors mb-8">
|
||||||
|
<ArrowLeft className="w-4 h-4 mr-2" />
|
||||||
|
返回首页
|
||||||
|
</Link>
|
||||||
<div className="grid md:grid-cols-2 gap-8">
|
<div className="grid md:grid-cols-2 gap-8">
|
||||||
{CASES.map((caseItem, index) => (
|
{CASES.map((caseItem, index) => (
|
||||||
<motion.div
|
<motion.div
|
||||||
|
|||||||
@@ -8,7 +8,7 @@ import { Button } from '@/components/ui/button';
|
|||||||
import { Badge } from '@/components/ui/badge';
|
import { Badge } from '@/components/ui/badge';
|
||||||
import { Card, CardContent, CardHeader, CardTitle, CardDescription } from '@/components/ui/card';
|
import { Card, CardContent, CardHeader, CardTitle, CardDescription } from '@/components/ui/card';
|
||||||
import { PageHeader } from '@/components/ui/page-header';
|
import { PageHeader } from '@/components/ui/page-header';
|
||||||
import { ArrowRight, Check, TrendingUp } from 'lucide-react';
|
import { ArrowRight, ArrowLeft, Check, TrendingUp } from 'lucide-react';
|
||||||
import { PRODUCTS } from '@/lib/constants';
|
import { PRODUCTS } from '@/lib/constants';
|
||||||
|
|
||||||
export default function ProductsPage() {
|
export default function ProductsPage() {
|
||||||
@@ -24,6 +24,10 @@ export default function ProductsPage() {
|
|||||||
|
|
||||||
<div className="container-wide relative z-10 py-16" ref={contentRef}>
|
<div className="container-wide relative z-10 py-16" ref={contentRef}>
|
||||||
<div className="max-w-6xl mx-auto">
|
<div className="max-w-6xl mx-auto">
|
||||||
|
<Link href="/" className="inline-flex items-center text-[#5C5C5C] hover:text-[#C41E3A] transition-colors mb-8">
|
||||||
|
<ArrowLeft className="w-4 h-4 mr-2" />
|
||||||
|
返回首页
|
||||||
|
</Link>
|
||||||
<div className="grid grid-cols-1 md:grid-cols-2 gap-8">
|
<div className="grid grid-cols-1 md:grid-cols-2 gap-8">
|
||||||
{PRODUCTS.map((product, index) => (
|
{PRODUCTS.map((product, index) => (
|
||||||
<motion.div
|
<motion.div
|
||||||
|
|||||||
@@ -8,7 +8,7 @@ import { Button } from '@/components/ui/button';
|
|||||||
import { Badge } from '@/components/ui/badge';
|
import { Badge } from '@/components/ui/badge';
|
||||||
import { PageHeader } from '@/components/ui/page-header';
|
import { PageHeader } from '@/components/ui/page-header';
|
||||||
import { ServiceCardSkeleton } from '@/components/ui/loading-skeleton';
|
import { ServiceCardSkeleton } from '@/components/ui/loading-skeleton';
|
||||||
import { ArrowRight, Code, Cloud, BarChart3, Shield } from 'lucide-react';
|
import { ArrowRight, ArrowLeft, Code, Cloud, BarChart3, Shield } from 'lucide-react';
|
||||||
import { SERVICES } from '@/lib/constants';
|
import { SERVICES } from '@/lib/constants';
|
||||||
|
|
||||||
const iconMap: Record<string, React.ComponentType<{ className?: string }>> = {
|
const iconMap: Record<string, React.ComponentType<{ className?: string }>> = {
|
||||||
@@ -37,6 +37,10 @@ export default function ServicesPage() {
|
|||||||
|
|
||||||
<div className="container-wide relative z-10 py-16" ref={contentRef}>
|
<div className="container-wide relative z-10 py-16" ref={contentRef}>
|
||||||
<div className="max-w-6xl mx-auto">
|
<div className="max-w-6xl mx-auto">
|
||||||
|
<Link href="/" className="inline-flex items-center text-[#5C5C5C] hover:text-[#C41E3A] transition-colors mb-8">
|
||||||
|
<ArrowLeft className="w-4 h-4 mr-2" />
|
||||||
|
返回首页
|
||||||
|
</Link>
|
||||||
{isLoading ? (
|
{isLoading ? (
|
||||||
<div className="grid md:grid-cols-2 gap-8">
|
<div className="grid md:grid-cols-2 gap-8">
|
||||||
{Array.from({ length: 4 }).map((_, index) => (
|
{Array.from({ length: 4 }).map((_, index) => (
|
||||||
|
|||||||
@@ -8,7 +8,7 @@ import { Badge } from '@/components/ui/badge';
|
|||||||
import { Input } from '@/components/ui/input';
|
import { Input } from '@/components/ui/input';
|
||||||
import { Button } from '@/components/ui/button';
|
import { Button } from '@/components/ui/button';
|
||||||
import { PageHeader } from '@/components/ui/page-header';
|
import { PageHeader } from '@/components/ui/page-header';
|
||||||
import { Search, Calendar, ArrowRight, Filter } from 'lucide-react';
|
import { Search, Calendar, ArrowRight, ArrowLeft, Filter } from 'lucide-react';
|
||||||
import Link from 'next/link';
|
import Link from 'next/link';
|
||||||
import { motion } from 'framer-motion';
|
import { motion } from 'framer-motion';
|
||||||
|
|
||||||
@@ -38,6 +38,10 @@ export default function NewsListPage() {
|
|||||||
/>
|
/>
|
||||||
|
|
||||||
<div className="container-wide relative z-10 py-12" ref={contentRef}>
|
<div className="container-wide relative z-10 py-12" ref={contentRef}>
|
||||||
|
<Link href="/" className="inline-flex items-center text-[#5C5C5C] hover:text-[#C41E3A] transition-colors mb-8">
|
||||||
|
<ArrowLeft className="w-4 h-4 mr-2" />
|
||||||
|
返回首页
|
||||||
|
</Link>
|
||||||
<motion.div
|
<motion.div
|
||||||
initial={{ opacity: 0, y: 20 }}
|
initial={{ opacity: 0, y: 20 }}
|
||||||
animate={isContentInView ? { opacity: 1, y: 0 } : {}}
|
animate={isContentInView ? { opacity: 1, y: 0 } : {}}
|
||||||
|
|||||||
Reference in New Issue
Block a user