mirror of
https://github.com/pterodactyl/panel.git
synced 2026-12-01 03:45:53 -05:00
26 lines
827 B
TypeScript
26 lines
827 B
TypeScript
import { replaceable, useSkin } from '@/themes/skins';
|
|
|
|
export interface PageFooterProps {
|
|
className?: string;
|
|
}
|
|
|
|
/** The copyright line below each page's content. Replace it with a component that renders nothing to drop it. */
|
|
function CorePageFooter({ className }: PageFooterProps) {
|
|
const ui = useSkin('PageFooter', {});
|
|
|
|
return (
|
|
<div {...ui('root', className)}>
|
|
<p {...ui('text')}>
|
|
<a rel='noopener nofollow noreferrer' href='https://pterodactyl.io' target='_blank' {...ui('link')}>
|
|
Pterodactyl®
|
|
</a>
|
|
© 2015 - <span suppressHydrationWarning>{new Date().getFullYear()}</span>
|
|
</p>
|
|
</div>
|
|
);
|
|
}
|
|
|
|
const PageFooter = replaceable('PageFooter', CorePageFooter);
|
|
|
|
export default PageFooter;
|