@@ -24,7 +24,6 @@ import {
2424 TrendingUp ,
2525} from "lucide-react" ;
2626import { PPTGenerationSection } from "@/components/PPTGenerationSection" ;
27- import { TemplateSection } from "@/components/TemplateSection" ;
2827import { useAuth } from "@/contexts/AuthContext" ;
2928import { useLoginModal } from "@/contexts/LoginModalContext" ;
3029import { useRouter } from "next/navigation" ;
@@ -49,9 +48,6 @@ export default function HomePageClient() {
4948 case "generate" :
5049 router . push ( "/generate" ) ;
5150 break ;
52- case "templates" :
53- router . push ( "/templates" ) ;
54- break ;
5551 case "copywriting" :
5652 router . push ( "/copywriting" ) ;
5753 break ;
@@ -66,9 +62,6 @@ export default function HomePageClient() {
6662 case "generate" :
6763 router . push ( "/generate" ) ;
6864 break ;
69- case "templates" :
70- router . push ( "/templates" ) ;
71- break ;
7265 case "copywriting" :
7366 router . push ( "/copywriting" ) ;
7467 break ;
@@ -87,15 +80,6 @@ export default function HomePageClient() {
8780 action : ( ) => handleFeatureClick ( "generate" ) ,
8881 stats : t ( "home.features.aiGeneration.stats" ) ,
8982 } ,
90- {
91- title : t ( "home.features.templateLibrary.title" ) ,
92- description : t ( "home.features.templateLibrary.description" ) ,
93- icon : FileText ,
94- gradient : "from-blue-500 to-cyan-500" ,
95- bgGradient : "from-blue-50 to-cyan-50" ,
96- action : ( ) => handleFeatureClick ( "templates" ) ,
97- stats : t ( "home.features.templateLibrary.stats" ) ,
98- } ,
9983 {
10084 title : t ( "home.features.smartDesign.title" ) ,
10185 description : t ( "home.features.smartDesign.description" ) ,
@@ -142,7 +126,6 @@ export default function HomePageClient() {
142126 ] ;
143127
144128 const stats = [
145- { label : t ( "home.stats.templates" ) , value : "100,000+" , icon : FileText , color : "text-blue-600" , bgColor : "bg-blue-100" } ,
146129 { label : t ( "home.stats.users" ) , value : "500,000+" , icon : Users , color : "text-purple-600" , bgColor : "bg-purple-100" } ,
147130 { label : t ( "home.stats.generations" ) , value : "2,000,000+" , icon : Sparkles , color : "text-pink-600" , bgColor : "bg-pink-100" } ,
148131 { label : t ( "home.stats.satisfaction" ) , value : "98%" , icon : Star , color : "text-yellow-600" , bgColor : "bg-yellow-100" } ,
@@ -200,7 +183,7 @@ export default function HomePageClient() {
200183 < p className = "text-xl lg:text-2xl text-tech-600 mb-10 leading-relaxed max-w-4xl mx-auto" >
201184 { t ( "home.hero.description" ) }
202185 < br />
203- < span className = "text-purple-600 font-medium" > { t ( "home.hero.templateCount" ) } </ span > , { t ( "home.hero.oneClickGenerate" ) } ,{ t ( "home.hero.makePresentation" ) }
186+ { t ( "home.hero.oneClickGenerate" ) } ,{ t ( "home.hero.makePresentation" ) }
204187 </ p >
205188
206189 < div className = "flex flex-col sm:flex-row gap-6 justify-center mb-12" >
@@ -215,15 +198,6 @@ export default function HomePageClient() {
215198 </ span >
216199 < div className = "absolute inset-0 bg-gradient-to-r from-purple-600 to-pink-600 opacity-0 group-hover:opacity-100 transition-opacity duration-300" > </ div >
217200 </ Button >
218- < Button
219- variant = "outline"
220- size = "lg"
221- className = "border-2 border-purple-200 text-purple-600 hover:bg-purple-50 hover:border-purple-300 text-lg px-10 py-6 shadow-md hover:shadow-lg transition-all duration-300 group"
222- onClick = { ( ) => handleFeatureClick ( "templates" ) }
223- >
224- < Play className = "w-5 h-5 mr-3 group-hover:scale-110 transition-transform" />
225- { t ( "home.cta.viewTemplates" ) }
226- </ Button >
227201 </ div >
228202
229203 { /* 快速统计 */ }
@@ -425,14 +399,6 @@ export default function HomePageClient() {
425399 < ArrowRight className = "w-5 h-5 ml-3 group-hover:translate-x-1 transition-transform" />
426400 </ span >
427401 </ Button >
428- < Button
429- variant = "outline"
430- size = "lg"
431- className = "border-2 border-white/30 text-white hover:bg-white/10 text-lg px-10 py-6 backdrop-blur-sm transition-all duration-300"
432- onClick = { ( ) => handleFeatureClick ( "templates" ) }
433- >
434- { t ( "home.cta.browseTemplates" ) }
435- </ Button >
436402 </ div >
437403
438404 { /* 底部统计 */ }
0 commit comments