diff --git a/src/components/Footer.tsx b/src/components/Footer.tsx index fe373e8..7153c21 100644 --- a/src/components/Footer.tsx +++ b/src/components/Footer.tsx @@ -3,9 +3,24 @@ import Link from "next/link"; const navigation = { legal: [ - {name: 'Privacy Policy', href: '/privacy-policy'}, - {name: 'Terms & Conditions', href: '/terms-of-service'}, + {name: 'Privacy Policy', href: '#'}, + {name: 'Terms & Conditions', href: '#'}, ], + social: [ + { + name: 'GitHub', + href: 'https://github.com/SoraWebui/SoraWebui', + icon: (props) => ( + + + + ), + } + ] } export default function Footer({ @@ -18,15 +33,31 @@ export default function Footer({
- - Sorawebui.com - +
+ + Sorawebui.com + +

+ A browser interface for OpenAI Sora, generate text-to-video simply. +

+

+ Copyright © 2024 - All rights reserved. +

+
+ {navigation.social.map((item) => ( + + {item.name} + + ))} +
+
@@ -38,6 +69,7 @@ export default function Footer({

    +
@@ -48,23 +80,23 @@ export default function Footer({
-

+

Legal

    - {/*{navigation.legal.map((item) => {*/} - {/* let hrefTo = `/${locale}${item.href}`;*/} - {/* if (locale == 'en') {*/} - {/* hrefTo = `${item.href}`;*/} - {/* }*/} - {/* return (*/} - {/*
  • */} - {/* */} - {/* {item.name}*/} - {/* */} - {/*
  • */} - {/* )*/} - {/* }*/} - {/*)}*/} + {navigation.legal.map((item) => { + let hrefTo = `/${locale}${item.href}`; + if (locale == 'en') { + hrefTo = `${item.href}`; + } + return ( +
  • + + {item.name} + +
  • + ) + } + )}