16 lines
363 B
TypeScript
16 lines
363 B
TypeScript
import clsx from 'clsx';
|
|
import './beian.css';
|
|
type Props = {
|
|
className?: string;
|
|
text?: string;
|
|
};
|
|
export const Beian = (props: Props) => {
|
|
return (
|
|
<div className={clsx('beian text-sm w-full flex justify-center text-[#e69c36]', props.className)}>
|
|
<a href='//beian.miit.gov.cn' target='_blank'>
|
|
{props.text}
|
|
</a>
|
|
</div>
|
|
);
|
|
};
|