mirror of
https://github.com/kccleoc/seedpgp-web.git
synced 2026-03-07 09:57:50 +08:00
update badges, cosmetic things and UI change
This commit is contained in:
20
src/components/badges/SecurityBadge.tsx
Normal file
20
src/components/badges/SecurityBadge.tsx
Normal file
@@ -0,0 +1,20 @@
|
||||
import React from 'react';
|
||||
import { AlertTriangle } from 'lucide-react';
|
||||
|
||||
interface SecurityBadgeProps {
|
||||
onClick: () => void;
|
||||
}
|
||||
|
||||
const SecurityBadge: React.FC<SecurityBadgeProps> = ({ onClick }) => {
|
||||
return (
|
||||
<button
|
||||
className="flex items-center gap-2 text-amber-500/80 hover:text-amber-500 transition-colors"
|
||||
onClick={onClick}
|
||||
>
|
||||
<AlertTriangle className="w-4 h-4" />
|
||||
<span className="text-xs font-medium">Security Info</span>
|
||||
</button>
|
||||
);
|
||||
};
|
||||
|
||||
export default SecurityBadge;
|
||||
Reference in New Issue
Block a user