Spaces:
Running
Running
File size: 1,075 Bytes
ffcad5d | 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 | import React from 'react';
const CopyrightNotice = ({ variant = 'footer', className = '' }) => {
const isSidebar = variant === 'sidebar';
const textClass = isSidebar ? 'sidebar-copyright-text' : 'footer-text';
const patentsClass = isSidebar ? 'sidebar-patents-link' : 'footer-patents-link';
const combinedClass = className ? `${textClass} ${className}` : textClass;
return (
<p className={combinedClass}>
{'\u00A9 '}
{isSidebar ? (
'Neon.ai'
) : (
<a
href="https://neon.ai"
target="_blank"
rel="noopener noreferrer"
className="footer-neon-link"
>
<img src="/neon-logo.png" alt="" className="footer-neon-logo" />
Neon.ai
</a>
)}
. All rights reserved.{' '}
<a
href="https://www.neon.ai/contact"
target="_blank"
rel="noopener noreferrer"
className={patentsClass}
>
Patents and licensing.
</a>
</p>
);
};
export default CopyrightNotice;
|