+ {/* Agents banner shows everywhere; Lighthouse is Cloud-only, so on a
+ local server the agents banner is the only child and fills the row. */}
+
+ {lighthouseBannerHref ? (
+
+
+
+ ) : null}
+
+
+
+
+
- {lighthouseBannerHref ? (
-
-
-
- ) : null}
-
}>
diff --git a/ui/changelog.d/overview-agents-banner.added.md b/ui/changelog.d/overview-agents-banner.added.md
new file mode 100644
index 0000000000..9bd386d4e9
--- /dev/null
+++ b/ui/changelog.d/overview-agents-banner.added.md
@@ -0,0 +1 @@
+Overview banner linking to the AI agents documentation, shown next to the Lighthouse AI banner in Cloud and full width on self-hosted deployments
diff --git a/ui/lib/external-urls.ts b/ui/lib/external-urls.ts
index 0ae17384a9..e4b0a1573e 100644
--- a/ui/lib/external-urls.ts
+++ b/ui/lib/external-urls.ts
@@ -15,6 +15,7 @@ export const DOCS_URLS = {
"https://docs.prowler.com/user-guide/tutorials/prowler-app-scan-configuration",
ATTACK_PATHS_CUSTOM_QUERIES:
"https://docs.prowler.com/user-guide/tutorials/prowler-app-attack-paths#writing-custom-opencypher-queries",
+ AI_AGENTS: "https://docs.prowler.com/user-guide/ai-agents/",
} as const;
// CloudFormation template URL for the ProwlerScan role.
diff --git a/ui/styles/globals.css b/ui/styles/globals.css
index 2b4b4abfc6..abcd7d1c16 100644
--- a/ui/styles/globals.css
+++ b/ui/styles/globals.css
@@ -581,8 +581,20 @@
bottom: 3rem !important;
}
- /* Lighthouse overview banner animated gradient layers */
- .lighthouse-banner-gradient-neutral {
+ /* Overview banner animated gradient layers */
+ .overview-banner-gradient {
+ --overview-banner-gradient-primary: var(--bg-button-primary);
+ --overview-banner-gradient-primary-hover: var(--bg-button-primary-hover);
+ --overview-banner-gradient-primary-press: var(--bg-button-primary-press);
+ }
+
+ .overview-banner-gradient-agents {
+ --overview-banner-gradient-primary: var(--color-violet-400);
+ --overview-banner-gradient-primary-hover: var(--color-fuchsia-300);
+ --overview-banner-gradient-primary-press: var(--color-indigo-500);
+ }
+
+ .overview-banner-gradient-neutral {
background: radial-gradient(
circle at center,
var(--bg-neutral-tertiary) 0,
@@ -591,28 +603,28 @@
no-repeat;
}
- .lighthouse-banner-gradient-primary {
+ .overview-banner-gradient-primary {
background: radial-gradient(
circle at center,
- var(--bg-button-primary) 0,
+ var(--overview-banner-gradient-primary) 0,
transparent 50%
)
no-repeat;
}
- .lighthouse-banner-gradient-primary-hover {
+ .overview-banner-gradient-primary-hover {
background: radial-gradient(
circle at center,
- var(--bg-button-primary-hover) 0,
+ var(--overview-banner-gradient-primary-hover) 0,
transparent 50%
)
no-repeat;
}
- .lighthouse-banner-gradient-primary-press {
+ .overview-banner-gradient-primary-press {
background: radial-gradient(
circle at center,
- var(--bg-button-primary-press) 0,
+ var(--overview-banner-gradient-primary-press) 0,
transparent 50%
)
no-repeat;