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

23 lines
670 B
TypeScript
Raw Normal View History

2023-02-11 12:54:02 -05:00
import React from 'react';
import { useGetStartupConfig } from 'librechat-data-provider';
import { useLocalize } from '~/hooks';
2023-02-11 12:54:02 -05:00
export default function Footer() {
const { data: config } = useGetStartupConfig();
const localize = useLocalize();
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"
>
2023-10-22 14:42:56 -04:00
{config?.appTitle || 'LibreChat'} v0.6.0
2023-02-11 12:54:02 -05:00
</a>
{' - '}. {localize('com_ui_pay_per_call')}
2023-02-11 12:54:02 -05:00
</div>
);
}