diff --git a/ui/app/(prowler)/lighthouse/_components/chat/empty-state.tsx b/ui/app/(prowler)/lighthouse/_components/chat/empty-state.tsx index 995095b908..021be182e2 100644 --- a/ui/app/(prowler)/lighthouse/_components/chat/empty-state.tsx +++ b/ui/app/(prowler)/lighthouse/_components/chat/empty-state.tsx @@ -3,7 +3,7 @@ import { Cloud, FileCheck2, Network, ShieldAlert } from "lucide-react"; import { type ReactNode, type SubmitEvent } from "react"; -import { LighthouseIcon } from "@/components/icons/Icons"; +import { LighthouseIconWithAura } from "@/components/icons"; import { Button } from "@/components/shadcn/button/button"; import { ChatComposerPanel } from "./composer"; @@ -54,7 +54,7 @@ export function ChatEmptyState({ return (
- +

= ({ ); }; -export const LighthouseIcon: React.FC = ({ +interface LighthouseIconProps extends IconSvgProps { + animatedAura?: boolean; +} + +export const LighthouseIcon: React.FC = ({ + animatedAura = false, size = 19, width, height, ...props }) => { + const gradientId = (id: string) => (animatedAura ? `${id}_animated` : id); + return ( = ({ > + {animatedAura ? ( + + ) : null} = ({ = ({ = ({ = ({ = ({ = ({ - - + + {animatedAura ? ( + + ) : null} + + + {animatedAura ? ( + + ) : null} + = ({ = ({ = ({ + {animatedAura ? ( + + + + + + + + ) : null} ); diff --git a/ui/components/icons/index.ts b/ui/components/icons/index.ts index 7912d466fd..649e0c1b4c 100644 --- a/ui/components/icons/index.ts +++ b/ui/components/icons/index.ts @@ -1,4 +1,5 @@ export * from "./compliance/IconCompliance"; export * from "./Icons"; +export * from "./lighthouse-icon-with-aura"; export * from "./prowler/ProwlerIcons"; export * from "./services/IconServices"; diff --git a/ui/components/icons/lighthouse-icon-with-aura.tsx b/ui/components/icons/lighthouse-icon-with-aura.tsx new file mode 100644 index 0000000000..4bf51c4e6e --- /dev/null +++ b/ui/components/icons/lighthouse-icon-with-aura.tsx @@ -0,0 +1,7 @@ +import type { IconSvgProps } from "@/types"; + +import { LighthouseIcon } from "./Icons"; + +export function LighthouseIconWithAura(props: IconSvgProps) { + return ; +}