Spaces:
Running
Running
File size: 1,799 Bytes
372531f |
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 |
import Image from "next/image";
import Link from "next/link";
import Modal from './Settings/Modal';
interface ChatBoxSettings {
report_source: string;
report_type: string;
tone: string;
}
interface ChatBoxProps {
chatBoxSettings: ChatBoxSettings;
setChatBoxSettings: React.Dispatch<React.SetStateAction<ChatBoxSettings>>;
}
const Footer = ({ setChatBoxSettings, chatBoxSettings}: ChatBoxProps) => {
return (
<>
<div className="container flex min-h-[72px] mt-2 items-center justify-between border-t border-[#D2D2D2] px-4 pb-3 pt-5 lg:min-h-[72px] lg:px-0 lg:py-5">
<Modal setChatBoxSettings={setChatBoxSettings} chatBoxSettings={chatBoxSettings} />
<div className="text-sm text-gray-100">
© {new Date().getFullYear()} GPT Researcher. All rights reserved.
</div>
<div className="flex items-center gap-3">
<Link href={"https://github.com/assafelovic/gpt-researcher"} target="_blank">
<Image
src={"/img/github.svg"}
alt="github"
width={30}
height={30}
/>{" "}
</Link>
<Link href={"https://discord.gg/QgZXvJAccX"} target="_blank">
<Image
src={"/img/discord.svg"}
alt="discord"
width={30}
height={30}
/>{" "}
</Link>
<Link href={"https://hub.docker.com/r/gptresearcher/gpt-researcher"} target="_blank">
<Image
src={"/img/docker.svg"}
alt="docker"
width={30}
height={30}
/>{" "}
</Link>
</div>
</div>
</>
);
};
export default Footer; |