LibreChat/client/src/components/Input/Footer.tsx

21 lines
630 B
TypeScript
Raw Normal View History

2023-02-11 12:54:02 -05:00
import React from 'react';
import { useGetStartupConfig } from 'librechat-data-provider';
2023-02-11 12:54:02 -05:00
export default function Footer() {
const { data: config } = useGetStartupConfig();
2023-02-11 12:54:02 -05:00
return (
<div className="hidden px-3 pb-1 pt-2 text-center text-xs text-black/50 dark:text-white/50 md:block md:px-4 md:pb-4 md:pt-3">
2023-02-11 12:54:02 -05:00
<a
href="https://github.com/danny-avila/LibreChat"
2023-02-11 12:54:02 -05:00
target="_blank"
rel="noreferrer"
className="underline"
>
{config?.appTitle || 'LibreChat'} v0.5.5
2023-02-11 12:54:02 -05:00
</a>
{' - '}. All AI conversations in one place. Pay per call and not per month.
2023-02-11 12:54:02 -05:00
</div>
);
}