diff --git a/projects/fastgpt/app/[[...lang]]/page.tsx b/projects/fastgpt/app/[[...lang]]/page.tsx index 7d27fe9..a6972ab 100644 --- a/projects/fastgpt/app/[[...lang]]/page.tsx +++ b/projects/fastgpt/app/[[...lang]]/page.tsx @@ -4,8 +4,7 @@ import CTA from '@/components/home/CTA'; import FAQ from '@/components/home/FAQ'; import Feature from '@/components/home/Feature'; import Hero from '@/components/home/Hero'; -import Pricing from '@/components/home/Pricing'; -import SocialProof from '@/components/home/SocialProof'; +// import SocialProof from '@/components/home/SocialProof'; import VideoPlayer from '@/components/home/Video'; import { defaultLocale, getDictionary, localeNames } from '@/lib/i18n'; @@ -21,15 +20,15 @@ export default async function LangHome({ params: { lang } }: { params: { lang?: if (stargazers_count) { stars = stargazers_count; } - } catch (error) {} + } catch (error) { } return ( <>
-
+
{/* Hero Section */} - + {/* */} {/* Can be used to display technology stack, partners, project honors, etc. */} {/**/} @@ -40,12 +39,12 @@ export default async function LangHome({ params: { lang } }: { params: { lang?: {/* Pricing */} - + {/* */} {/* FAQ (Frequently Asked Questions) */} - {/* CTA (Call to Action) */} + {/* CTA (Call to Action) Footer */}
diff --git a/projects/fastgpt/app/layout.tsx b/projects/fastgpt/app/layout.tsx index 935e96e..ec9af48 100644 --- a/projects/fastgpt/app/layout.tsx +++ b/projects/fastgpt/app/layout.tsx @@ -2,7 +2,6 @@ import BaiDuAnalytics from '@/app/BaiDuAnalytics'; import GoogleAnalytics from '@/app/GoogleAnalytics'; import { TailwindIndicator } from '@/components/TailwindIndicator'; import { ThemeProvider } from '@/components/ThemeProvider'; -import Footer from '@/components/footer/Footer'; import { siteConfig } from '@/config/site'; import { defaultLocale } from '@/lib/i18n'; import { cn } from '@/lib/utils'; @@ -51,7 +50,7 @@ export default async function RootLayout({ {children} -
); }; diff --git a/projects/fastgpt/components/header/HeaderLinks.tsx b/projects/fastgpt/components/header/HeaderLinks.tsx index 1799fd0..ed05acb 100644 --- a/projects/fastgpt/components/header/HeaderLinks.tsx +++ b/projects/fastgpt/components/header/HeaderLinks.tsx @@ -1,5 +1,4 @@ import { siteConfig } from "@/config/site"; -import { Button } from "@/components/ui/button"; import Link from "next/link"; import React from "react"; @@ -7,17 +6,18 @@ const HeaderLinks = () => { const links = siteConfig.headerLinks; return ( -
+
{links.map((link, index) => ( {link.icon && - React.createElement(link.icon, { className: "text-lg" })} + React.createElement(link.icon, { className: "text-xl" })} +
{link.name}
))}
diff --git a/projects/fastgpt/components/header/LangSwitcher.tsx b/projects/fastgpt/components/header/LangSwitcher.tsx index b5abbeb..ff1ff21 100644 --- a/projects/fastgpt/components/header/LangSwitcher.tsx +++ b/projects/fastgpt/components/header/LangSwitcher.tsx @@ -6,8 +6,8 @@ import { SelectTrigger, SelectValue } from '@/components/ui/select'; -import { useParams, useRouter } from 'next/navigation'; import { defaultLocale, localeNames } from '@/lib/i18n'; +import { useParams, useRouter } from 'next/navigation'; import { useEffect } from 'react'; export const LangSwitcher = () => { @@ -36,7 +36,7 @@ export const LangSwitcher = () => { return (