File tree Expand file tree Collapse file tree 6 files changed +21
-20
lines changed Expand file tree Collapse file tree 6 files changed +21
-20
lines changed Original file line number Diff line number Diff line change 1- import FooterLinks from " @/components/footer/FooterLinks" ;
2- import FooterProducts from " @/components/footer/FooterProducts" ;
3- import LangLinks from " @/components/footer/LangLinks" ;
4- import { siteConfig } from " @/config/site" ;
5- import Link from " next/link" ;
1+ import FooterLinks from ' @/components/footer/FooterLinks' ;
2+ import FooterProducts from ' @/components/footer/FooterProducts' ;
3+ import LangLinks from ' @/components/footer/LangLinks' ;
4+ import { siteConfig } from ' @/config/site' ;
5+ import Link from ' next/link' ;
66
77const Footer = ( ) => {
88 const d = new Date ( ) ;
@@ -16,10 +16,10 @@ const Footer = () => {
1616 < FooterProducts />
1717 < LangLinks />
1818 < div className = "flex space-x-2" >
19- < div > { `©${ currentYear } ` } </ div > { " " }
19+ < div > { `©${ currentYear } ` } </ div >
2020 < Link href = { authors [ 0 ] . twitter || authors [ 0 ] . url } target = "_blank" >
2121 { authors [ 0 ] . name }
22- </ Link > { " " }
22+ </ Link >
2323 < div > All rights reserved.</ div >
2424 </ div >
2525 </ div >
Original file line number Diff line number Diff line change 1- import { siteConfig } from " @/config/site" ;
2- import Link from " next/link" ;
3- import React from " react" ;
1+ import { siteConfig } from ' @/config/site' ;
2+ import Link from ' next/link' ;
3+ import React from ' react' ;
44
55const FooterLinks = ( ) => {
66 const links = siteConfig . footerLinks ;
@@ -15,8 +15,7 @@ const FooterLinks = () => {
1515 rel = "noopener noreferrer nofollow"
1616 className = "mx-3 flex max-w-[24px] flex-col items-center justify-center"
1717 >
18- { link . icon &&
19- React . createElement ( link . icon , { className : "text-lg" } ) }
18+ { link . icon && React . createElement ( link . icon , { className : 'text-lg' } ) }
2019 </ Link >
2120 ) ) }
2221 </ div >
Original file line number Diff line number Diff line change 1- import { siteConfig } from " @/config/site" ;
2- import Link from " next/link" ;
1+ import { siteConfig } from ' @/config/site' ;
2+ import Link from ' next/link' ;
33
44const FooterProducts = ( ) => {
55 const footerProducts = siteConfig . footerProducts ;
@@ -14,7 +14,7 @@ const FooterProducts = () => {
1414 </ Link >
1515 { index !== footerProducts . length - 1 ? (
1616 < >
17- < span > { " • " } </ span >
17+ < span > { ' • ' } </ span >
1818 </ >
1919 ) : (
2020 < > </ >
Original file line number Diff line number Diff line change 1- import { defaultLocale , localeNames } from " @/lib/i18n" ;
2- import Link from " next/link" ;
1+ import { defaultLocale , localeNames } from ' @/lib/i18n' ;
2+ import Link from ' next/link' ;
33
44const LangLinks = ( ) => {
55 return (
@@ -8,7 +8,7 @@ const LangLinks = () => {
88 const name = localeNames [ key ] ;
99 return (
1010 < span key = { key } >
11- < Link href = { `/${ key === defaultLocale ? "/" : key } ` } > { name } </ Link >
11+ < Link href = { `/${ key === defaultLocale ? '/' : key } ` } > { name } </ Link >
1212 </ span >
1313 ) ;
1414 } ) }
Original file line number Diff line number Diff line change @@ -54,7 +54,9 @@ const baseSiteConfig = {
5454 { url : 'https://sealos.io' , name : 'Sealos' } ,
5555 { url : 'https://doc.fastgpt.in' , name : 'Docs' } ,
5656 { url : 'https://doc.fastgpt.in/docs/community/' , name : 'Forum' } ,
57- { url : 'https://uuhyahynnudq.hzh.sealos.run/status/in' , name : 'Status' }
57+ { url : 'https://uuhyahynnudq.hzh.sealos.run/status/in' , name : 'Status' } ,
58+ { url : 'https://doc.fastgpt.in/docs/agreement/terms' , name : 'Terms of Service' } ,
59+ { url : 'https://doc.fastgpt.in/docs/agreement/privacy' , name : 'Privacy Policy' }
5860 ]
5961} ;
6062
Original file line number Diff line number Diff line change 5353 "description1" : " Create" ,
5454 "description2" : " your own AI-powered customer support," ,
5555 "description3" : " integrate it with" ,
56- "description4" : " your products, and" ,
56+ "description4" : " your products, and " ,
5757 "description5" : " accelerate" ,
5858 "description6" : " your growth today!"
5959 },
You can’t perform that action at this time.
0 commit comments