@datalayer/design 1.0.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/LICENSE +23 -0
- package/README.md +5 -0
- package/lib/App.d.ts +2 -0
- package/lib/App.js +25 -0
- package/lib/DatalayerIcons.d.ts +2 -0
- package/lib/DatalayerIcons.js +169 -0
- package/lib/footer/MinimalFooter.d.ts +38 -0
- package/lib/footer/MinimalFooter.js +160 -0
- package/lib/footer/component-helpers.d.ts +33 -0
- package/lib/footer/component-helpers.js +19 -0
- package/lib/footer/index.d.ts +1 -0
- package/lib/footer/index.js +1 -0
- package/lib/index.d.ts +1 -0
- package/lib/index.js +1 -0
- package/lib/layout/SiteLayout.d.ts +2 -0
- package/lib/layout/SiteLayout.js +89 -0
- package/lib/main.d.ts +1 -0
- package/lib/main.js +10 -0
- package/lib/pages/HomePage.d.ts +2 -0
- package/lib/pages/HomePage.js +50 -0
- package/lib/pages/IconsPage.d.ts +2 -0
- package/lib/pages/IconsPage.js +8 -0
- package/lib/pages/SvgPage.d.ts +2 -0
- package/lib/pages/SvgPage.js +592 -0
- package/lib/svg/SvgAboutHero.d.ts +26 -0
- package/lib/svg/SvgAboutHero.js +76 -0
- package/lib/svg/SvgAgentRuntimes.d.ts +7 -0
- package/lib/svg/SvgAgentRuntimes.js +26 -0
- package/lib/svg/SvgAgentsHero.d.ts +13 -0
- package/lib/svg/SvgAgentsHero.js +55 -0
- package/lib/svg/SvgAgentsHomeHero.d.ts +4 -0
- package/lib/svg/SvgAgentsHomeHero.js +194 -0
- package/lib/svg/SvgBlackSnake.d.ts +5 -0
- package/lib/svg/SvgBlackSnake.js +76 -0
- package/lib/svg/SvgBlogHero.d.ts +7 -0
- package/lib/svg/SvgBlogHero.js +18 -0
- package/lib/svg/SvgCareersHero.d.ts +23 -0
- package/lib/svg/SvgCareersHero.js +97 -0
- package/lib/svg/SvgCellArtifact.d.ts +8 -0
- package/lib/svg/SvgCellArtifact.js +15 -0
- package/lib/svg/SvgChangelogHero.d.ts +23 -0
- package/lib/svg/SvgChangelogHero.js +128 -0
- package/lib/svg/SvgCommunityHero.d.ts +5 -0
- package/lib/svg/SvgCommunityHero.js +170 -0
- package/lib/svg/SvgContactHero.d.ts +11 -0
- package/lib/svg/SvgContactHero.js +19 -0
- package/lib/svg/SvgDataset.d.ts +5 -0
- package/lib/svg/SvgDataset.js +13 -0
- package/lib/svg/SvgDiscord.d.ts +12 -0
- package/lib/svg/SvgDiscord.js +20 -0
- package/lib/svg/SvgDocumentArtifact.d.ts +8 -0
- package/lib/svg/SvgDocumentArtifact.js +15 -0
- package/lib/svg/SvgEarthHero.d.ts +8 -0
- package/lib/svg/SvgEarthHero.js +23 -0
- package/lib/svg/SvgEventsHero.d.ts +16 -0
- package/lib/svg/SvgEventsHero.js +42 -0
- package/lib/svg/SvgFastA2ADonation.d.ts +5 -0
- package/lib/svg/SvgFastA2ADonation.js +13 -0
- package/lib/svg/SvgIndividualsAndTeams.d.ts +11 -0
- package/lib/svg/SvgIndividualsAndTeams.js +26 -0
- package/lib/svg/SvgIntegrationsHero.d.ts +22 -0
- package/lib/svg/SvgIntegrationsHero.js +67 -0
- package/lib/svg/SvgInvites.d.ts +11 -0
- package/lib/svg/SvgInvites.js +19 -0
- package/lib/svg/SvgJoin.d.ts +19 -0
- package/lib/svg/SvgJoin.js +95 -0
- package/lib/svg/SvgJoinConfirm.d.ts +16 -0
- package/lib/svg/SvgJoinConfirm.js +34 -0
- package/lib/svg/SvgJupyterEmbed.d.ts +7 -0
- package/lib/svg/SvgJupyterEmbed.js +15 -0
- package/lib/svg/SvgJupyterMcp.d.ts +16 -0
- package/lib/svg/SvgJupyterMcp.js +27 -0
- package/lib/svg/SvgLines.d.ts +16 -0
- package/lib/svg/SvgLines.js +28 -0
- package/lib/svg/SvgLinesLogo.d.ts +10 -0
- package/lib/svg/SvgLinesLogo.js +59 -0
- package/lib/svg/SvgLoginHero.d.ts +12 -0
- package/lib/svg/SvgLoginHero.js +23 -0
- package/lib/svg/SvgNotFound.d.ts +12 -0
- package/lib/svg/SvgNotFound.js +23 -0
- package/lib/svg/SvgNotebookArtifact.d.ts +8 -0
- package/lib/svg/SvgNotebookArtifact.js +15 -0
- package/lib/svg/SvgOrganizationsAtScale.d.ts +11 -0
- package/lib/svg/SvgOrganizationsAtScale.js +19 -0
- package/lib/svg/SvgPixel1.d.ts +5 -0
- package/lib/svg/SvgPixel1.js +85 -0
- package/lib/svg/SvgPixel2.d.ts +5 -0
- package/lib/svg/SvgPixel2.js +71 -0
- package/lib/svg/SvgPricingHero.d.ts +11 -0
- package/lib/svg/SvgPricingHero.js +19 -0
- package/lib/svg/SvgPrivacyHero.d.ts +11 -0
- package/lib/svg/SvgPrivacyHero.js +22 -0
- package/lib/svg/SvgPublication.d.ts +5 -0
- package/lib/svg/SvgPublication.js +13 -0
- package/lib/svg/SvgRadar.d.ts +8 -0
- package/lib/svg/SvgRadar.js +92 -0
- package/lib/svg/SvgResearchHero.d.ts +17 -0
- package/lib/svg/SvgResearchHero.js +61 -0
- package/lib/svg/SvgSpitfire.d.ts +11 -0
- package/lib/svg/SvgSpitfire.js +79 -0
- package/lib/svg/SvgStarsHero.d.ts +15 -0
- package/lib/svg/SvgStarsHero.js +50 -0
- package/lib/svg/SvgTermsHero.d.ts +11 -0
- package/lib/svg/SvgTermsHero.js +22 -0
- package/lib/svg/SvgTutorialsHero.d.ts +16 -0
- package/lib/svg/SvgTutorialsHero.js +27 -0
- package/lib/svg/SvgUnauthorized.d.ts +12 -0
- package/lib/svg/SvgUnauthorized.js +23 -0
- package/lib/svg/SvgUsecasesHero.d.ts +16 -0
- package/lib/svg/SvgUsecasesHero.js +46 -0
- package/lib/svg/SvgVSCodeExtension.d.ts +7 -0
- package/lib/svg/SvgVSCodeExtension.js +15 -0
- package/lib/svg/gallery.d.ts +2 -0
- package/lib/svg/gallery.js +49 -0
- package/lib/svg/images/datalayer-1.2.0-black-snake.svg +1 -0
- package/lib/svg/images/datalayer-1.3.0-spitfire.svg +1 -0
- package/lib/svg/index.d.ts +45 -0
- package/lib/svg/index.js +50 -0
- package/package.json +50 -0
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Themed SVG illustration for "Organizations at Scale".
|
|
3
|
+
*
|
|
4
|
+
* Visual motif: a friendly AI robot/agent at the centre, receiving data
|
|
5
|
+
* from source nodes (left) and dispatching structured outputs to
|
|
6
|
+
* dashboard cards (right) — conveying agentic orchestration at scale.
|
|
7
|
+
*/
|
|
8
|
+
import { type ColorPalette } from '@datalayer/primer-addons';
|
|
9
|
+
export declare function SvgOrganizationsAtScale({ palette: paletteProp }?: {
|
|
10
|
+
palette?: ColorPalette;
|
|
11
|
+
}): import("react/jsx-runtime").JSX.Element;
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
2
|
+
/*
|
|
3
|
+
* Copyright (c) 2022-2026 Datalayer, Inc.
|
|
4
|
+
*
|
|
5
|
+
* Datalayer License
|
|
6
|
+
*/
|
|
7
|
+
/**
|
|
8
|
+
* Themed SVG illustration for "Organizations at Scale".
|
|
9
|
+
*
|
|
10
|
+
* Visual motif: a friendly AI robot/agent at the centre, receiving data
|
|
11
|
+
* from source nodes (left) and dispatching structured outputs to
|
|
12
|
+
* dashboard cards (right) — conveying agentic orchestration at scale.
|
|
13
|
+
*/
|
|
14
|
+
import { useColorPalette, LightBoostFilter } from '@datalayer/primer-addons';
|
|
15
|
+
export function SvgOrganizationsAtScale({ palette: paletteProp } = {}) {
|
|
16
|
+
const auto = useColorPalette();
|
|
17
|
+
const p = paletteProp ?? auto;
|
|
18
|
+
return (_jsxs("svg", { viewBox: "0 0 600 340", xmlns: "http://www.w3.org/2000/svg", preserveAspectRatio: "xMidYMid slice", style: { width: '100%', height: '100%', display: 'block' }, children: [_jsxs("defs", { children: [_jsx(LightBoostFilter, {}), _jsxs("radialGradient", { id: "orgGlow1", cx: "50%", cy: "45%", r: "50%", children: [_jsx("stop", { offset: "0%", stopColor: p.glow, stopOpacity: "0.30" }), _jsx("stop", { offset: "60%", stopColor: p.glow, stopOpacity: "0.06" }), _jsx("stop", { offset: "100%", stopColor: p.glow, stopOpacity: "0" })] }), _jsxs("radialGradient", { id: "orgGlow2", cx: "25%", cy: "30%", r: "40%", children: [_jsx("stop", { offset: "0%", stopColor: p.pop, stopOpacity: "0.22" }), _jsx("stop", { offset: "100%", stopColor: p.pop, stopOpacity: "0" })] }), _jsxs("radialGradient", { id: "orgGlow3", cx: "78%", cy: "65%", r: "38%", children: [_jsx("stop", { offset: "0%", stopColor: p.surge, stopOpacity: "0.22" }), _jsx("stop", { offset: "100%", stopColor: p.surge, stopOpacity: "0" })] }), _jsxs("linearGradient", { id: "orgFlow", x1: "0%", y1: "0%", x2: "100%", y2: "100%", children: [_jsx("stop", { offset: "0%", stopColor: p.glow, stopOpacity: "0.5" }), _jsx("stop", { offset: "100%", stopColor: p.pop, stopOpacity: "0.5" })] }), _jsxs("filter", { id: "orgNodeGlow", children: [_jsx("feGaussianBlur", { stdDeviation: "4", result: "blur" }), _jsxs("feMerge", { children: [_jsx("feMergeNode", { in: "blur" }), _jsx("feMergeNode", { in: "SourceGraphic" })] })] }), _jsxs("radialGradient", { id: "robotHeadGlow", cx: "50%", cy: "40%", r: "50%", children: [_jsx("stop", { offset: "0%", stopColor: p.glow, stopOpacity: "0.35" }), _jsx("stop", { offset: "100%", stopColor: p.glow, stopOpacity: "0" })] })] }), _jsx("rect", { width: "600", height: "340", fill: p.bg }), p.isLight && _jsx("rect", { width: "600", height: "340", fill: "url(#orgGlow1)", filter: "url(#svgLightBoost)" }), !p.isLight && _jsx("rect", { width: "600", height: "340", fill: "url(#orgGlow1)" }), _jsx("rect", { width: "600", height: "340", fill: "url(#orgGlow2)" }), _jsx("rect", { width: "600", height: "340", fill: "url(#orgGlow3)" }), _jsxs("g", { opacity: "0.08", stroke: p.textMuted, children: [[60, 120, 180, 240, 300, 360, 420, 480, 540].map(x => (_jsx("line", { x1: x, y1: "0", x2: x, y2: "340", strokeWidth: "0.5" }, `gv${x}`))), [60, 120, 180, 240, 300].map(y => (_jsx("line", { x1: "0", y1: y, x2: "600", y2: y, strokeWidth: "0.5" }, `gh${y}`)))] }), _jsxs("g", { opacity: "0.20", children: [_jsx("path", { d: "M 60 170 Q 150 120 250 160", stroke: p.glow, strokeWidth: "2", fill: "none", strokeDasharray: "8 4" }), _jsx("path", { d: "M 80 200 Q 160 250 250 185", stroke: p.pop, strokeWidth: "1.5", fill: "none", strokeDasharray: "6 4" }), _jsx("path", { d: "M 100 130 Q 180 80 255 145", stroke: p.surge, strokeWidth: "1.5", fill: "none", strokeDasharray: "6 4" })] }), _jsxs("g", { filter: "url(#orgNodeGlow)", children: [_jsx("rect", { x: "50", y: "90", width: "44", height: "44", rx: "8", fill: p.bgPanel, stroke: p.glow, strokeWidth: "1.5", opacity: "0.9" }), _jsx("rect", { x: "58", y: "100", width: "28", height: "4", rx: "1", fill: p.glow, opacity: "0.6" }), _jsx("rect", { x: "58", y: "108", width: "28", height: "4", rx: "1", fill: p.glow, opacity: "0.4" }), _jsx("rect", { x: "58", y: "116", width: "28", height: "4", rx: "1", fill: p.glow, opacity: "0.3" }), _jsx("circle", { cx: "72", cy: "128", r: "2", fill: p.glow, opacity: "0.5" }), _jsx("rect", { x: "50", y: "160", width: "44", height: "44", rx: "8", fill: p.bgPanel, stroke: p.pop, strokeWidth: "1.5", opacity: "0.9" }), _jsx("circle", { cx: "72", cy: "175", r: "8", fill: "none", stroke: p.pop, strokeWidth: "1.5", opacity: "0.5" }), _jsx("circle", { cx: "72", cy: "175", r: "3", fill: p.pop, opacity: "0.6" }), _jsx("rect", { x: "58", y: "188", width: "28", height: "3", rx: "1", fill: p.pop, opacity: "0.4" }), _jsx("rect", { x: "50", y: "230", width: "44", height: "44", rx: "8", fill: p.bgPanel, stroke: p.surge, strokeWidth: "1.5", opacity: "0.9" }), _jsx("path", { d: "M 62 248 L 72 240 L 82 248 L 78 248 L 78 260 L 66 260 L 66 248 Z", fill: p.surge, opacity: "0.5" })] }), _jsxs("g", { stroke: "url(#orgFlow)", strokeWidth: "1.2", opacity: "0.35", children: [_jsx("line", { x1: "94", y1: "112", x2: "255", y2: "155" }), _jsx("line", { x1: "94", y1: "182", x2: "255", y2: "170" }), _jsx("line", { x1: "94", y1: "252", x2: "255", y2: "185" })] }), _jsxs("g", { filter: "url(#orgNodeGlow)", children: [_jsx("circle", { cx: "300", cy: "170", r: "56", fill: "url(#robotHeadGlow)", opacity: "0.4" }), _jsx("line", { x1: "300", y1: "108", x2: "300", y2: "125", stroke: p.glow, strokeWidth: "2", opacity: "0.7" }), _jsx("circle", { cx: "300", cy: "105", r: "4", fill: p.glow, opacity: "0.8", children: _jsx("animate", { attributeName: "opacity", values: "0.5;1;0.5", dur: "2s", repeatCount: "indefinite" }) }), _jsx("rect", { x: "264", y: "125", width: "72", height: "58", rx: "14", fill: p.bgPanel, stroke: p.glow, strokeWidth: "2", opacity: "0.95" }), _jsx("circle", { cx: "284", cy: "150", r: "9", fill: p.bg, stroke: p.glow, strokeWidth: "1.5" }), _jsx("circle", { cx: "284", cy: "150", r: "5", fill: p.glow, opacity: "0.85", children: _jsx("animate", { attributeName: "r", values: "4;5.5;4", dur: "3s", repeatCount: "indefinite" }) }), _jsx("circle", { cx: "316", cy: "150", r: "9", fill: p.bg, stroke: p.pop, strokeWidth: "1.5" }), _jsx("circle", { cx: "316", cy: "150", r: "5", fill: p.pop, opacity: "0.85", children: _jsx("animate", { attributeName: "r", values: "4;5.5;4", dur: "3s", begin: "0.5s", repeatCount: "indefinite" }) }), _jsx("path", { d: "M 286 168 Q 300 178 314 168", fill: "none", stroke: p.spark, strokeWidth: "2", strokeLinecap: "round", opacity: "0.6" }), _jsx("rect", { x: "272", y: "188", width: "56", height: "36", rx: "8", fill: p.bgPanel, stroke: p.glow, strokeWidth: "1.5", opacity: "0.85" }), _jsx("circle", { cx: "300", cy: "206", r: "8", fill: p.bg, stroke: p.surge, strokeWidth: "1.5" }), _jsx("circle", { cx: "300", cy: "206", r: "4", fill: p.surge, opacity: "0.6", children: _jsx("animate", { attributeName: "opacity", values: "0.4;0.9;0.4", dur: "2.5s", repeatCount: "indefinite" }) }), _jsx("rect", { x: "280", y: "196", width: "8", height: "3", rx: "1", fill: p.glow, opacity: "0.3" }), _jsx("rect", { x: "312", y: "196", width: "8", height: "3", rx: "1", fill: p.pop, opacity: "0.3" }), _jsx("rect", { x: "280", y: "214", width: "8", height: "3", rx: "1", fill: p.spark, opacity: "0.3" }), _jsx("rect", { x: "312", y: "214", width: "8", height: "3", rx: "1", fill: p.flame, opacity: "0.3" }), _jsx("line", { x1: "272", y1: "200", x2: "252", y2: "195", stroke: p.glow, strokeWidth: "2.5", strokeLinecap: "round", opacity: "0.5" }), _jsx("circle", { cx: "249", cy: "194", r: "4", fill: p.bgPanel, stroke: p.glow, strokeWidth: "1.5", opacity: "0.7" }), _jsx("line", { x1: "328", y1: "200", x2: "348", y2: "195", stroke: p.pop, strokeWidth: "2.5", strokeLinecap: "round", opacity: "0.5" }), _jsx("circle", { cx: "351", cy: "194", r: "4", fill: p.bgPanel, stroke: p.pop, strokeWidth: "1.5", opacity: "0.7" }), _jsx("rect", { x: "256", y: "140", width: "8", height: "18", rx: "3", fill: p.bgPanel, stroke: p.surge, strokeWidth: "1", opacity: "0.6" }), _jsx("rect", { x: "336", y: "140", width: "8", height: "18", rx: "3", fill: p.bgPanel, stroke: p.flame, strokeWidth: "1", opacity: "0.6" })] }), _jsxs("g", { stroke: "url(#orgFlow)", strokeWidth: "1.2", opacity: "0.35", children: [_jsx("line", { x1: "348", y1: "155", x2: "460", y2: "90" }), _jsx("line", { x1: "348", y1: "170", x2: "460", y2: "170" }), _jsx("line", { x1: "348", y1: "185", x2: "460", y2: "250" })] }), _jsxs("g", { opacity: "0.20", children: [_jsx("path", { d: "M 350 160 Q 400 110 460 90", stroke: p.glow, strokeWidth: "1.5", fill: "none", strokeDasharray: "6 4" }), _jsx("path", { d: "M 350 175 Q 405 175 460 175", stroke: p.pop, strokeWidth: "1.5", fill: "none", strokeDasharray: "6 4" }), _jsx("path", { d: "M 350 190 Q 400 240 460 250", stroke: p.surge, strokeWidth: "1.5", fill: "none", strokeDasharray: "6 4" })] }), _jsxs("g", { filter: "url(#orgNodeGlow)", children: [_jsx("rect", { x: "460", y: "65", width: "80", height: "55", rx: "8", fill: p.bgPanel, stroke: p.glow, strokeWidth: "1.5", opacity: "0.85" }), _jsx("rect", { x: "468", y: "73", width: "30", height: "3", rx: "1", fill: p.textLight, opacity: "0.4" }), _jsx("rect", { x: "468", y: "82", width: "20", height: "12", rx: "2", fill: p.glow, opacity: "0.2" }), _jsx("rect", { x: "492", y: "82", width: "20", height: "12", rx: "2", fill: p.pop, opacity: "0.2" }), _jsx("rect", { x: "516", y: "82", width: "16", height: "12", rx: "2", fill: p.spark, opacity: "0.2" }), _jsx("rect", { x: "468", y: "98", width: "64", height: "3", rx: "1", fill: p.textMuted, opacity: "0.2" }), _jsx("rect", { x: "468", y: "104", width: "40", height: "3", rx: "1", fill: p.textMuted, opacity: "0.15" }), _jsx("rect", { x: "460", y: "145", width: "80", height: "55", rx: "8", fill: p.bgPanel, stroke: p.pop, strokeWidth: "1.5", opacity: "0.85" }), _jsx("rect", { x: "468", y: "153", width: "36", height: "3", rx: "1", fill: p.textLight, opacity: "0.4" }), _jsx("rect", { x: "468", y: "161", width: "64", height: "2", rx: "1", fill: p.textMuted, opacity: "0.2" }), _jsx("rect", { x: "468", y: "167", width: "64", height: "2", rx: "1", fill: p.textMuted, opacity: "0.2" }), _jsx("rect", { x: "468", y: "173", width: "50", height: "2", rx: "1", fill: p.textMuted, opacity: "0.2" }), _jsx("circle", { cx: "480", cy: "186", r: "6", fill: p.pop, opacity: "0.25" }), _jsx("circle", { cx: "500", cy: "186", r: "6", fill: p.glow, opacity: "0.25" }), _jsx("circle", { cx: "520", cy: "186", r: "6", fill: p.surge, opacity: "0.25" }), _jsx("rect", { x: "460", y: "225", width: "80", height: "55", rx: "8", fill: p.bgPanel, stroke: p.surge, strokeWidth: "1.5", opacity: "0.85" }), _jsx("rect", { x: "468", y: "233", width: "28", height: "3", rx: "1", fill: p.textLight, opacity: "0.4" }), _jsx("path", { d: "M 498 237 L 502 230 L 506 237 Z", fill: p.blaze, opacity: "0.5" }), _jsx("rect", { x: "468", y: "242", width: "64", height: "2", rx: "1", fill: p.textMuted, opacity: "0.2" }), _jsx("rect", { x: "468", y: "248", width: "64", height: "2", rx: "1", fill: p.textMuted, opacity: "0.2" }), _jsx("rect", { x: "468", y: "254", width: "40", height: "2", rx: "1", fill: p.textMuted, opacity: "0.2" }), _jsx("rect", { x: "468", y: "262", width: "30", height: "8", rx: "3", fill: p.surge, opacity: "0.3" })] }), _jsxs("g", { opacity: "0.4", children: [_jsx("circle", { cx: "160", cy: "80", r: "2", fill: p.glow, children: _jsx("animate", { attributeName: "opacity", values: "0.3;0.8;0.3", dur: "3s", repeatCount: "indefinite" }) }), _jsx("circle", { cx: "200", cy: "280", r: "1.5", fill: p.pop, children: _jsx("animate", { attributeName: "opacity", values: "0.2;0.7;0.2", dur: "4s", repeatCount: "indefinite" }) }), _jsx("circle", { cx: "400", cy: "60", r: "2", fill: p.spark, children: _jsx("animate", { attributeName: "opacity", values: "0.3;0.7;0.3", dur: "3.5s", repeatCount: "indefinite" }) }), _jsx("circle", { cx: "420", cy: "300", r: "1.5", fill: p.surge, children: _jsx("animate", { attributeName: "opacity", values: "0.2;0.6;0.2", dur: "5s", repeatCount: "indefinite" }) }), _jsx("circle", { cx: "180", cy: "150", r: "1.5", fill: p.flame, children: _jsx("animate", { attributeName: "opacity", values: "0.3;0.6;0.3", dur: "4.5s", repeatCount: "indefinite" }) }), _jsx("circle", { cx: "380", cy: "270", r: "1", fill: p.gold, children: _jsx("animate", { attributeName: "opacity", values: "0.2;0.5;0.2", dur: "6s", repeatCount: "indefinite" }) })] }), _jsxs("g", { opacity: "0.12", children: [_jsx("ellipse", { cx: "300", cy: "310", rx: "120", ry: "10", fill: p.glow }), _jsx("ellipse", { cx: "300", cy: "305", rx: "100", ry: "8", fill: p.pop }), _jsx("ellipse", { cx: "300", cy: "300", rx: "80", ry: "6", fill: p.surge })] })] }));
|
|
19
|
+
}
|
|
@@ -0,0 +1,85 @@
|
|
|
1
|
+
import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
2
|
+
/*
|
|
3
|
+
* Copyright (c) 2022-2026 Datalayer, Inc.
|
|
4
|
+
*
|
|
5
|
+
* Datalayer License
|
|
6
|
+
*/
|
|
7
|
+
import { useId } from 'react';
|
|
8
|
+
import { useColorPalette, LightBoostFilter } from '@datalayer/primer-addons';
|
|
9
|
+
export function SvgPixel1({ palette: paletteProp } = {}) {
|
|
10
|
+
const auto = useColorPalette();
|
|
11
|
+
const p = paletteProp ?? auto;
|
|
12
|
+
const id = useId().replace(/:/g, '');
|
|
13
|
+
const columns = 55;
|
|
14
|
+
const rows = 28;
|
|
15
|
+
const cell = 14;
|
|
16
|
+
const gap = 4;
|
|
17
|
+
const startX = 10;
|
|
18
|
+
const baseY = 742;
|
|
19
|
+
const hash01 = (col, row, seed) => {
|
|
20
|
+
const value = (col * 928_371 + row * 364_479 + seed * 61_187) % 1000;
|
|
21
|
+
return value / 1000;
|
|
22
|
+
};
|
|
23
|
+
const squares = [];
|
|
24
|
+
for (let col = 0; col < columns; col += 1) {
|
|
25
|
+
const x = startX + col * (cell + gap);
|
|
26
|
+
const t = col / (columns - 1);
|
|
27
|
+
const waveA = Math.sin(t * Math.PI * 8) * 0.05;
|
|
28
|
+
const waveB = Math.sin(t * Math.PI * 3 + 0.9) * 0.035;
|
|
29
|
+
const waveC = Math.sin(t * Math.PI * 15 + 0.3) * 0.018;
|
|
30
|
+
const bandTop = Math.max(0.2, Math.min(0.72, 0.24 + 0.38 * t + waveA + waveB + waveC));
|
|
31
|
+
for (let row = 0; row < rows; row += 1) {
|
|
32
|
+
const rel = row / (rows - 1);
|
|
33
|
+
const baseNoise = hash01(col, row, 1);
|
|
34
|
+
const rareNoise = hash01(col, row, 7);
|
|
35
|
+
const rowNoise = hash01(col, row, 19);
|
|
36
|
+
const colNoise = hash01(col, 0, 23);
|
|
37
|
+
let fillProbability = 0;
|
|
38
|
+
if (row === 0) {
|
|
39
|
+
fillProbability = 0.995;
|
|
40
|
+
}
|
|
41
|
+
else if (row === 1) {
|
|
42
|
+
fillProbability = 0.975;
|
|
43
|
+
}
|
|
44
|
+
else if (row === 2) {
|
|
45
|
+
fillProbability = 0.95;
|
|
46
|
+
}
|
|
47
|
+
else if (row === 3) {
|
|
48
|
+
fillProbability = 0.86 + colNoise * 0.09;
|
|
49
|
+
}
|
|
50
|
+
else if (row === 4) {
|
|
51
|
+
fillProbability = 0.7 + rowNoise * 0.18;
|
|
52
|
+
}
|
|
53
|
+
else if (row === 5) {
|
|
54
|
+
fillProbability = 0.56 + rowNoise * 0.16;
|
|
55
|
+
}
|
|
56
|
+
else if (rel <= bandTop) {
|
|
57
|
+
const ratio = (bandTop - rel) / Math.max(0.01, bandTop);
|
|
58
|
+
fillProbability = 0.16 + ratio * 0.57;
|
|
59
|
+
}
|
|
60
|
+
else if (rel <= bandTop + 0.22) {
|
|
61
|
+
fillProbability = 0.02 + t * 0.055;
|
|
62
|
+
}
|
|
63
|
+
// Add mild per-cell variance so lower rows do not form visible straight bands.
|
|
64
|
+
if (row >= 3 && row <= 6) {
|
|
65
|
+
fillProbability += (rowNoise - 0.5) * 0.08;
|
|
66
|
+
}
|
|
67
|
+
// Small one-cell holes in foundation rows to avoid a perfectly solid edge.
|
|
68
|
+
if (row <= 1 && hash01(col, row, 11) < 0.055) {
|
|
69
|
+
fillProbability = 0;
|
|
70
|
+
}
|
|
71
|
+
// Sparse high outliers; stronger toward the right side.
|
|
72
|
+
if (rel > bandTop && rel <= bandTop + 0.34 && rareNoise < 0.016 + t * 0.07) {
|
|
73
|
+
fillProbability = Math.max(fillProbability, 0.58);
|
|
74
|
+
}
|
|
75
|
+
if (baseNoise > fillProbability) {
|
|
76
|
+
continue;
|
|
77
|
+
}
|
|
78
|
+
const y = baseY - row * (cell + gap);
|
|
79
|
+
const opacity = 0.54 + Math.min(0.34, row * 0.025 + t * 0.05);
|
|
80
|
+
squares.push(_jsx("rect", { x: x, y: y, width: cell, height: cell, fill: `url(#sq1-px-${id})`, opacity: opacity }, `sq1-${col}-${row}`));
|
|
81
|
+
}
|
|
82
|
+
}
|
|
83
|
+
return (_jsxs("svg", { viewBox: "0 0 1024 768", xmlns: "http://www.w3.org/2000/svg", role: "img", "aria-label": "Pixel square wave illustration", preserveAspectRatio: "xMidYMid slice", style: { width: '100%', height: '100%', display: 'block' }, children: [_jsxs("defs", { children: [_jsx(LightBoostFilter, {}), _jsxs("linearGradient", { id: `sq1-bg-${id}`, x1: "0", y1: "0", x2: "1", y2: "1", children: [_jsx("stop", { offset: "0%", stopColor: p.bg }), _jsx("stop", { offset: "100%", stopColor: p.bgAlt })] }), _jsxs("linearGradient", { id: `sq1-px-${id}`, x1: "0", y1: "0", x2: "1024", y2: "0", gradientUnits: "userSpaceOnUse", children: [_jsx("stop", { offset: "0%", stopColor: p.flame }), _jsx("stop", { offset: "35%", stopColor: p.surge }), _jsx("stop", { offset: "62%", stopColor: p.pop }), _jsx("stop", { offset: "82%", stopColor: p.glow }), _jsx("stop", { offset: "100%", stopColor: p.spark })] })] }), _jsx("rect", { width: "1024", height: "768", fill: `url(#sq1-bg-${id})` }), _jsx("g", { filter: p.isLight ? 'url(#svgLightBoost)' : undefined, children: squares })] }));
|
|
84
|
+
}
|
|
85
|
+
export default SvgPixel1;
|
|
@@ -0,0 +1,71 @@
|
|
|
1
|
+
import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
2
|
+
/*
|
|
3
|
+
* Copyright (c) 2022-2026 Datalayer, Inc.
|
|
4
|
+
*
|
|
5
|
+
* Datalayer License
|
|
6
|
+
*/
|
|
7
|
+
import { useId } from 'react';
|
|
8
|
+
import { useColorPalette, LightBoostFilter } from '@datalayer/primer-addons';
|
|
9
|
+
export function SvgPixel2({ palette: paletteProp } = {}) {
|
|
10
|
+
const auto = useColorPalette();
|
|
11
|
+
const p = paletteProp ?? auto;
|
|
12
|
+
const id = useId().replace(/:/g, '');
|
|
13
|
+
const columns = 12;
|
|
14
|
+
const rows = 8;
|
|
15
|
+
const cell = 17;
|
|
16
|
+
const gap = 5;
|
|
17
|
+
const startX = 0;
|
|
18
|
+
const baseY = 163;
|
|
19
|
+
const skylineProfile = [1, 2, 2, 3, 3, 4, 4, 5, 4, 5, 6, 7];
|
|
20
|
+
const detachedSquares = [
|
|
21
|
+
{ x: 188, y: 100, o: 0.72, s: 0.68 },
|
|
22
|
+
{ x: 246, y: 68, o: 0.76, s: 0.68 },
|
|
23
|
+
{ x: 288, y: 32, o: 0.62, s: 0.74 },
|
|
24
|
+
];
|
|
25
|
+
const isFoundationHole = (col, row) => {
|
|
26
|
+
if (row > 1) {
|
|
27
|
+
return false;
|
|
28
|
+
}
|
|
29
|
+
const holes = new Set([
|
|
30
|
+
'1-0', '3-1', '4-0', '6-1', '8-0', '10-1',
|
|
31
|
+
]);
|
|
32
|
+
return holes.has(`${col}-${row}`);
|
|
33
|
+
};
|
|
34
|
+
const isRandomGap = (col, row) => {
|
|
35
|
+
if (row < 2) {
|
|
36
|
+
return false;
|
|
37
|
+
}
|
|
38
|
+
return ((col * 11 + row * 7) % 17) === 0;
|
|
39
|
+
};
|
|
40
|
+
const squares = [];
|
|
41
|
+
const occupiedRects = [];
|
|
42
|
+
for (let col = 0; col < columns; col += 1) {
|
|
43
|
+
const x = startX + col * (cell + gap);
|
|
44
|
+
const stackHeight = Math.max(1, Math.min(rows, skylineProfile[col] ?? 1));
|
|
45
|
+
for (let row = 0; row < stackHeight; row += 1) {
|
|
46
|
+
if (isFoundationHole(col, row) || isRandomGap(col, row)) {
|
|
47
|
+
continue;
|
|
48
|
+
}
|
|
49
|
+
const y = baseY - row * (cell + gap);
|
|
50
|
+
const opacity = 0.55 + Math.min(0.35, row * 0.06);
|
|
51
|
+
squares.push(_jsx("rect", { x: x, y: y, width: cell, height: cell, fill: `url(#sq2-px-${id})`, opacity: opacity }, `sq2-${col}-${row}`));
|
|
52
|
+
occupiedRects.push({ x, y, w: cell, h: cell });
|
|
53
|
+
}
|
|
54
|
+
}
|
|
55
|
+
const overlaps = (a, b) => {
|
|
56
|
+
return a.x < b.x + b.w && a.x + a.w > b.x && a.y < b.y + b.h && a.y + a.h > b.y;
|
|
57
|
+
};
|
|
58
|
+
const detachedRects = detachedSquares
|
|
59
|
+
.map((sq) => {
|
|
60
|
+
return {
|
|
61
|
+
...sq,
|
|
62
|
+
w: cell * sq.s,
|
|
63
|
+
h: cell * sq.s,
|
|
64
|
+
};
|
|
65
|
+
})
|
|
66
|
+
.filter((candidate) => {
|
|
67
|
+
return !occupiedRects.some((occupied) => overlaps(candidate, occupied));
|
|
68
|
+
});
|
|
69
|
+
return (_jsxs("svg", { viewBox: "0 0 320 180", xmlns: "http://www.w3.org/2000/svg", role: "img", "aria-label": "Pixel square closeup illustration", preserveAspectRatio: "xMidYMid slice", style: { width: '100%', height: '100%', display: 'block' }, children: [_jsxs("defs", { children: [_jsx(LightBoostFilter, {}), _jsxs("linearGradient", { id: `sq2-bg-${id}`, x1: "0", y1: "0", x2: "1", y2: "0", children: [_jsx("stop", { offset: "0%", stopColor: p.bg }), _jsx("stop", { offset: "100%", stopColor: p.bgAlt })] }), _jsxs("linearGradient", { id: `sq2-px-${id}`, x1: "0", y1: "0", x2: "320", y2: "0", gradientUnits: "userSpaceOnUse", children: [_jsx("stop", { offset: "0%", stopColor: p.flame }), _jsx("stop", { offset: "32%", stopColor: p.surge }), _jsx("stop", { offset: "58%", stopColor: p.pop }), _jsx("stop", { offset: "80%", stopColor: p.glow }), _jsx("stop", { offset: "100%", stopColor: p.spark })] }), _jsxs("radialGradient", { id: `sq2-mist-${id}`, cx: "75%", cy: "94%", r: "45%", children: [_jsx("stop", { offset: "0%", stopColor: p.pop, stopOpacity: p.isLight ? 0.16 : 0.26 }), _jsx("stop", { offset: "100%", stopColor: p.pop, stopOpacity: "0" })] })] }), _jsx("rect", { width: "320", height: "180", fill: `url(#sq2-bg-${id})` }), _jsxs("g", { filter: p.isLight ? 'url(#svgLightBoost)' : undefined, children: [_jsx("rect", { x: "132", y: "122", width: "188", height: "58", fill: `url(#sq2-mist-${id})` }), squares, detachedRects.map((sq, index) => (_jsx("rect", { x: sq.x, y: sq.y, width: sq.w, height: sq.h, fill: `url(#sq2-px-${id})`, opacity: sq.o }, `sq2-detached-${index}`)))] })] }));
|
|
70
|
+
}
|
|
71
|
+
export default SvgPixel2;
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Wide, abstract SVG hero background for the Pricing page.
|
|
3
|
+
*
|
|
4
|
+
* Visual motif: concentric arcs radiating outward from a central point,
|
|
5
|
+
* geometric diamond shapes (evoking "tiers"), and a honeycomb-like grid —
|
|
6
|
+
* gives a structured, trustworthy feel appropriate for pricing.
|
|
7
|
+
*/
|
|
8
|
+
import { type ColorPalette } from '@datalayer/primer-addons';
|
|
9
|
+
export declare function SvgPricingHero({ palette: paletteProp }?: {
|
|
10
|
+
palette?: ColorPalette;
|
|
11
|
+
}): import("react/jsx-runtime").JSX.Element;
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
2
|
+
/*
|
|
3
|
+
* Copyright (c) 2022-2026 Datalayer, Inc.
|
|
4
|
+
*
|
|
5
|
+
* Datalayer License
|
|
6
|
+
*/
|
|
7
|
+
/**
|
|
8
|
+
* Wide, abstract SVG hero background for the Pricing page.
|
|
9
|
+
*
|
|
10
|
+
* Visual motif: concentric arcs radiating outward from a central point,
|
|
11
|
+
* geometric diamond shapes (evoking "tiers"), and a honeycomb-like grid —
|
|
12
|
+
* gives a structured, trustworthy feel appropriate for pricing.
|
|
13
|
+
*/
|
|
14
|
+
import { useColorPalette, LightBoostFilter } from '@datalayer/primer-addons';
|
|
15
|
+
export function SvgPricingHero({ palette: paletteProp } = {}) {
|
|
16
|
+
const auto = useColorPalette();
|
|
17
|
+
const p = paletteProp ?? auto;
|
|
18
|
+
return (_jsxs("svg", { viewBox: "0 0 1400 420", xmlns: "http://www.w3.org/2000/svg", preserveAspectRatio: "xMidYMid slice", style: { width: '100%', height: '100%', display: 'block', position: 'absolute', inset: 0 }, children: [_jsxs("defs", { children: [_jsx(LightBoostFilter, {}), _jsxs("radialGradient", { id: "prGlow1", cx: "50%", cy: "50%", r: "55%", children: [_jsx("stop", { offset: "0%", stopColor: p.glow, stopOpacity: "0.48" }), _jsx("stop", { offset: "50%", stopColor: p.glow, stopOpacity: "0.10" }), _jsx("stop", { offset: "100%", stopColor: p.glow, stopOpacity: "0" })] }), _jsxs("radialGradient", { id: "prGlow2", cx: "20%", cy: "30%", r: "45%", children: [_jsx("stop", { offset: "0%", stopColor: p.surge, stopOpacity: "0.38" }), _jsx("stop", { offset: "50%", stopColor: p.surge, stopOpacity: "0.08" }), _jsx("stop", { offset: "100%", stopColor: p.surge, stopOpacity: "0" })] }), _jsxs("radialGradient", { id: "prGlow3", cx: "82%", cy: "65%", r: "42%", children: [_jsx("stop", { offset: "0%", stopColor: p.spark, stopOpacity: "0.36" }), _jsx("stop", { offset: "55%", stopColor: p.spark, stopOpacity: "0.07" }), _jsx("stop", { offset: "100%", stopColor: p.spark, stopOpacity: "0" })] }), _jsxs("radialGradient", { id: "prGlow4", cx: "15%", cy: "80%", r: "38%", children: [_jsx("stop", { offset: "0%", stopColor: p.blaze, stopOpacity: "0.32" }), _jsx("stop", { offset: "50%", stopColor: p.blaze, stopOpacity: "0.06" }), _jsx("stop", { offset: "100%", stopColor: p.blaze, stopOpacity: "0" })] }), _jsxs("radialGradient", { id: "prGlow5", cx: "88%", cy: "20%", r: "36%", children: [_jsx("stop", { offset: "0%", stopColor: p.surge, stopOpacity: "0.34" }), _jsx("stop", { offset: "50%", stopColor: p.surge, stopOpacity: "0.06" }), _jsx("stop", { offset: "100%", stopColor: p.surge, stopOpacity: "0" })] }), _jsxs("radialGradient", { id: "prGlow6", cx: "60%", cy: "80%", r: "38%", children: [_jsx("stop", { offset: "0%", stopColor: p.flame, stopOpacity: "0.34" }), _jsx("stop", { offset: "50%", stopColor: p.flame, stopOpacity: "0.07" }), _jsx("stop", { offset: "100%", stopColor: p.flame, stopOpacity: "0" })] }), _jsxs("radialGradient", { id: "prGlow7", cx: "35%", cy: "15%", r: "34%", children: [_jsx("stop", { offset: "0%", stopColor: p.gold, stopOpacity: "0.32" }), _jsx("stop", { offset: "50%", stopColor: p.gold, stopOpacity: "0.06" }), _jsx("stop", { offset: "100%", stopColor: p.gold, stopOpacity: "0" })] }), _jsxs("linearGradient", { id: "prShimmer", x1: "0", y1: "0.5", x2: "1", y2: "0.3", children: [_jsx("stop", { offset: "0%", stopColor: p.surge, stopOpacity: "0" }), _jsx("stop", { offset: "30%", stopColor: p.surge, stopOpacity: "0.08" }), _jsx("stop", { offset: "50%", stopColor: "#ffffff", stopOpacity: "0.05" }), _jsx("stop", { offset: "70%", stopColor: p.spark, stopOpacity: "0.08" }), _jsx("stop", { offset: "100%", stopColor: p.spark, stopOpacity: "0" })] }), _jsx("pattern", { id: "prDots", width: "36", height: "36", patternUnits: "userSpaceOnUse", children: _jsx("circle", { cx: "1", cy: "1", r: "0.55", fill: p.primary, opacity: "0.07" }) }), _jsx("pattern", { id: "prHex", width: "60", height: "52", patternUnits: "userSpaceOnUse", children: _jsx("path", { d: "M30 0 L60 15 L60 37 L30 52 L0 37 L0 15 Z", fill: "none", stroke: p.primary, strokeOpacity: "0.04", strokeWidth: "0.5" }) })] }), _jsx("rect", { width: "1400", height: "420", fill: p.bg }), _jsxs("g", { filter: p.isLight ? 'url(#svgLightBoost)' : undefined, children: [_jsx("rect", { width: "1400", height: "420", fill: "url(#prDots)" }), _jsx("rect", { width: "1400", height: "420", fill: "url(#prHex)" }), _jsx("rect", { width: "1400", height: "420", fill: "url(#prGlow1)" }), _jsx("rect", { width: "1400", height: "420", fill: "url(#prGlow2)" }), _jsx("rect", { width: "1400", height: "420", fill: "url(#prGlow3)" }), _jsx("rect", { width: "1400", height: "420", fill: "url(#prGlow4)" }), _jsx("rect", { width: "1400", height: "420", fill: "url(#prGlow5)" }), _jsx("rect", { width: "1400", height: "420", fill: "url(#prGlow6)" }), _jsx("rect", { width: "1400", height: "420", fill: "url(#prGlow7)" }), _jsx("rect", { width: "1400", height: "420", fill: "url(#prShimmer)" }), [130, 200, 275, 355].map((r, i) => (_jsx("circle", { cx: "700", cy: "210", r: r, fill: "none", stroke: p.glow, strokeOpacity: 0.10 - i * 0.018, strokeWidth: 1.2 - i * 0.15 }, i))), _jsx("path", { d: "M350 210 L400 160 L450 210 L400 260 Z", fill: "none", stroke: p.surge, strokeOpacity: "0.14", strokeWidth: "1" }), _jsx("path", { d: "M650 210 L700 150 L750 210 L700 270 Z", fill: "none", stroke: p.glow, strokeOpacity: "0.16", strokeWidth: "1.2" }), _jsx("path", { d: "M950 210 L1000 160 L1050 210 L1000 260 Z", fill: "none", stroke: p.spark, strokeOpacity: "0.14", strokeWidth: "1" }), _jsx("line", { x1: "0", y1: "210", x2: "1400", y2: "210", stroke: p.primary, strokeOpacity: "0.04", strokeWidth: "0.5" }), _jsx("line", { x1: "0", y1: "160", x2: "1400", y2: "160", stroke: p.primary, strokeOpacity: "0.025", strokeWidth: "0.4" }), _jsx("line", { x1: "0", y1: "260", x2: "1400", y2: "260", stroke: p.primary, strokeOpacity: "0.025", strokeWidth: "0.4" }), _jsx("circle", { cx: "400", cy: "160", r: "3", fill: p.surge, opacity: "0.80" }), _jsx("circle", { cx: "400", cy: "160", r: "12", fill: p.surge, opacity: "0.10" }), _jsx("circle", { cx: "700", cy: "150", r: "4", fill: p.glow, opacity: "0.85" }), _jsx("circle", { cx: "700", cy: "150", r: "16", fill: p.glow, opacity: "0.12" }), _jsx("circle", { cx: "1000", cy: "160", r: "3", fill: p.spark, opacity: "0.80" }), _jsx("circle", { cx: "1000", cy: "160", r: "12", fill: p.spark, opacity: "0.10" }), _jsx("circle", { cx: "400", cy: "260", r: "2.5", fill: p.blaze, opacity: "0.70" }), _jsx("circle", { cx: "400", cy: "260", r: "10", fill: p.blaze, opacity: "0.08" }), _jsx("circle", { cx: "700", cy: "270", r: "3", fill: p.surge, opacity: "0.75" }), _jsx("circle", { cx: "700", cy: "270", r: "12", fill: p.surge, opacity: "0.10" }), _jsx("circle", { cx: "1000", cy: "260", r: "2.5", fill: p.blaze, opacity: "0.70" }), _jsx("circle", { cx: "1000", cy: "260", r: "10", fill: p.blaze, opacity: "0.08" }), _jsx("circle", { cx: "550", cy: "280", r: "3", fill: p.flame, opacity: "0.78" }), _jsx("circle", { cx: "550", cy: "280", r: "12", fill: p.flame, opacity: "0.09" }), _jsx("circle", { cx: "1200", cy: "120", r: "2.8", fill: p.gold, opacity: "0.76" }), _jsx("circle", { cx: "1200", cy: "120", r: "11", fill: p.gold, opacity: "0.08" }), _jsx("circle", { cx: "120", cy: "70", r: "1.6", fill: p.glow, opacity: "0.55" }), _jsx("circle", { cx: "280", cy: "50", r: "1.3", fill: p.surge, opacity: "0.45" }), _jsx("circle", { cx: "540", cy: "40", r: "1.8", fill: p.spark, opacity: "0.50" }), _jsx("circle", { cx: "860", cy: "60", r: "1.4", fill: p.blaze, opacity: "0.40" }), _jsx("circle", { cx: "1120", cy: "45", r: "1.7", fill: p.surge, opacity: "0.50" }), _jsx("circle", { cx: "1320", cy: "75", r: "1.2", fill: p.glow, opacity: "0.40" }), _jsx("circle", { cx: "680", cy: "50", r: "1.5", fill: p.flame, opacity: "0.48" }), _jsx("circle", { cx: "1000", cy: "380", r: "1.4", fill: p.gold, opacity: "0.45" }), _jsx("circle", { cx: "80", cy: "360", r: "1.4", fill: p.surge, opacity: "0.45" }), _jsx("circle", { cx: "380", cy: "380", r: "1.6", fill: p.glow, opacity: "0.40" }), _jsx("circle", { cx: "620", cy: "370", r: "1.2", fill: p.surge, opacity: "0.35" }), _jsx("circle", { cx: "980", cy: "375", r: "1.5", fill: p.spark, opacity: "0.45" }), _jsx("circle", { cx: "1280", cy: "365", r: "1.3", fill: p.blaze, opacity: "0.38" }), _jsx("circle", { cx: "250", cy: "140", r: "55", fill: p.surge, opacity: "0.035" }), _jsx("circle", { cx: "700", cy: "320", r: "70", fill: p.glow, opacity: "0.04" }), _jsx("circle", { cx: "1100", cy: "100", r: "50", fill: p.spark, opacity: "0.035" }), _jsx("line", { x1: "100", y1: "420", x2: "600", y2: "0", stroke: p.surge, strokeOpacity: "0.06", strokeWidth: "35" }), _jsx("line", { x1: "600", y1: "420", x2: "1100", y2: "0", stroke: p.glow, strokeOpacity: "0.06", strokeWidth: "30" }), _jsx("line", { x1: "1000", y1: "420", x2: "1400", y2: "80", stroke: p.spark, strokeOpacity: "0.06", strokeWidth: "28" })] })] }));
|
|
19
|
+
}
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Wide, abstract SVG hero background for the Privacy Policy page.
|
|
3
|
+
*
|
|
4
|
+
* Visual motif: concentric shield rings radiating from the centre with
|
|
5
|
+
* encrypted-data hex streams, lock-bolt silhouettes, and a subtle grid
|
|
6
|
+
* of privacy "cells" — evokes protection, confidentiality, and trust.
|
|
7
|
+
*/
|
|
8
|
+
import { type ColorPalette } from '@datalayer/primer-addons';
|
|
9
|
+
export declare function SvgPrivacyHero({ palette: paletteProp }?: {
|
|
10
|
+
palette?: ColorPalette;
|
|
11
|
+
}): import("react/jsx-runtime").JSX.Element;
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
2
|
+
/*
|
|
3
|
+
* Copyright (c) 2022-2026 Datalayer, Inc.
|
|
4
|
+
*
|
|
5
|
+
* Datalayer License
|
|
6
|
+
*/
|
|
7
|
+
/**
|
|
8
|
+
* Wide, abstract SVG hero background for the Privacy Policy page.
|
|
9
|
+
*
|
|
10
|
+
* Visual motif: concentric shield rings radiating from the centre with
|
|
11
|
+
* encrypted-data hex streams, lock-bolt silhouettes, and a subtle grid
|
|
12
|
+
* of privacy "cells" — evokes protection, confidentiality, and trust.
|
|
13
|
+
*/
|
|
14
|
+
import { useColorPalette, LightBoostFilter } from '@datalayer/primer-addons';
|
|
15
|
+
export function SvgPrivacyHero({ palette: paletteProp } = {}) {
|
|
16
|
+
const auto = useColorPalette();
|
|
17
|
+
const p = paletteProp ?? auto;
|
|
18
|
+
const warmA = p.isLight ? p.surge : p.flame;
|
|
19
|
+
const warmB = p.isLight ? p.spark : p.gold;
|
|
20
|
+
const warmC = p.isLight ? p.pop : p.blaze;
|
|
21
|
+
return (_jsxs("svg", { viewBox: "0 0 1400 420", xmlns: "http://www.w3.org/2000/svg", preserveAspectRatio: "xMidYMid slice", style: { width: '100%', height: '100%', display: 'block', position: 'absolute', inset: 0 }, children: [_jsxs("defs", { children: [_jsx(LightBoostFilter, {}), _jsxs("radialGradient", { id: "pvGlow1", cx: "50%", cy: "48%", r: "45%", children: [_jsx("stop", { offset: "0%", stopColor: p.glow, stopOpacity: "0.50" }), _jsx("stop", { offset: "40%", stopColor: p.glow, stopOpacity: "0.12" }), _jsx("stop", { offset: "100%", stopColor: p.glow, stopOpacity: "0" })] }), _jsxs("radialGradient", { id: "pvGlow2", cx: "18%", cy: "60%", r: "40%", children: [_jsx("stop", { offset: "0%", stopColor: p.surge, stopOpacity: "0.38" }), _jsx("stop", { offset: "50%", stopColor: p.surge, stopOpacity: "0.08" }), _jsx("stop", { offset: "100%", stopColor: p.surge, stopOpacity: "0" })] }), _jsxs("radialGradient", { id: "pvGlow3", cx: "82%", cy: "35%", r: "42%", children: [_jsx("stop", { offset: "0%", stopColor: p.surge, stopOpacity: "0.36" }), _jsx("stop", { offset: "45%", stopColor: p.surge, stopOpacity: "0.08" }), _jsx("stop", { offset: "100%", stopColor: p.surge, stopOpacity: "0" })] }), _jsxs("radialGradient", { id: "pvGlow4", cx: "40%", cy: "12%", r: "35%", children: [_jsx("stop", { offset: "0%", stopColor: p.spark, stopOpacity: "0.34" }), _jsx("stop", { offset: "50%", stopColor: p.spark, stopOpacity: "0.06" }), _jsx("stop", { offset: "100%", stopColor: p.spark, stopOpacity: "0" })] }), _jsxs("radialGradient", { id: "pvGlow5", cx: "25%", cy: "85%", r: "34%", children: [_jsx("stop", { offset: "0%", stopColor: warmC, stopOpacity: "0.30" }), _jsx("stop", { offset: "50%", stopColor: warmC, stopOpacity: "0.06" }), _jsx("stop", { offset: "100%", stopColor: warmC, stopOpacity: "0" })] }), _jsxs("radialGradient", { id: "pvGlow6", cx: "72%", cy: "78%", r: "36%", children: [_jsx("stop", { offset: "0%", stopColor: warmA, stopOpacity: "0.32" }), _jsx("stop", { offset: "50%", stopColor: warmA, stopOpacity: "0.06" }), _jsx("stop", { offset: "100%", stopColor: warmA, stopOpacity: "0" })] }), _jsxs("radialGradient", { id: "pvGlow7", cx: "90%", cy: "15%", r: "30%", children: [_jsx("stop", { offset: "0%", stopColor: warmB, stopOpacity: "0.30" }), _jsx("stop", { offset: "50%", stopColor: warmB, stopOpacity: "0.05" }), _jsx("stop", { offset: "100%", stopColor: warmB, stopOpacity: "0" })] }), _jsxs("linearGradient", { id: "pvShimmer", x1: "0.15", y1: "0", x2: "0.85", y2: "1", children: [_jsx("stop", { offset: "0%", stopColor: p.spark, stopOpacity: "0" }), _jsx("stop", { offset: "42%", stopColor: p.spark, stopOpacity: "0.08" }), _jsx("stop", { offset: "50%", stopColor: "#ffffff", stopOpacity: "0.04" }), _jsx("stop", { offset: "58%", stopColor: p.glow, stopOpacity: "0.08" }), _jsx("stop", { offset: "100%", stopColor: p.glow, stopOpacity: "0" })] }), _jsxs("pattern", { id: "pvHex", width: "30", height: "52", patternUnits: "userSpaceOnUse", patternTransform: "rotate(15)", children: [_jsx("polygon", { points: "15,0 28.0,7.5 28.0,22.5 15,30 2.0,22.5 2.0,7.5", fill: "none", stroke: p.primary, strokeOpacity: "0.04", strokeWidth: "0.5" }), _jsx("polygon", { points: "15,26 28.0,33.5 28.0,48.5 15,56 2.0,48.5 2.0,33.5", fill: "none", stroke: p.primary, strokeOpacity: "0.04", strokeWidth: "0.5" })] }), _jsx("pattern", { id: "pvDots", width: "24", height: "24", patternUnits: "userSpaceOnUse", children: _jsx("circle", { cx: "1", cy: "1", r: "0.4", fill: p.primary, opacity: "0.06" }) })] }), _jsx("rect", { width: "1400", height: "420", fill: p.bg }), _jsxs("g", { filter: p.isLight ? 'url(#svgLightBoost)' : undefined, children: [_jsx("rect", { width: "1400", height: "420", fill: "url(#pvDots)" }), _jsx("rect", { width: "1400", height: "420", fill: "url(#pvHex)" }), _jsx("rect", { width: "1400", height: "420", fill: "url(#pvGlow1)" }), _jsx("rect", { width: "1400", height: "420", fill: "url(#pvGlow2)" }), _jsx("rect", { width: "1400", height: "420", fill: "url(#pvGlow3)" }), _jsx("rect", { width: "1400", height: "420", fill: "url(#pvGlow4)" }), _jsx("rect", { width: "1400", height: "420", fill: "url(#pvGlow5)" }), _jsx("rect", { width: "1400", height: "420", fill: "url(#pvGlow6)" }), _jsx("rect", { width: "1400", height: "420", fill: "url(#pvGlow7)" }), _jsx("rect", { width: "1400", height: "420", fill: "url(#pvShimmer)" }), _jsx("circle", { cx: "700", cy: "210", r: "160", fill: "none", stroke: p.glow, strokeOpacity: "0.08", strokeWidth: "1.5", strokeDasharray: "8 6" }), _jsx("circle", { cx: "700", cy: "210", r: "125", fill: "none", stroke: p.glow, strokeOpacity: "0.12", strokeWidth: "1.2", strokeDasharray: "5 4" }), _jsx("circle", { cx: "700", cy: "210", r: "90", fill: "none", stroke: p.primary, strokeOpacity: "0.14", strokeWidth: "1.0" }), _jsx("circle", { cx: "700", cy: "210", r: "55", fill: "none", stroke: p.primary, strokeOpacity: "0.18", strokeWidth: "0.8" }), _jsx("circle", { cx: "700", cy: "210", r: "8", fill: p.glow, opacity: "0.55" }), _jsx("circle", { cx: "700", cy: "210", r: "20", fill: p.glow, opacity: "0.06" }), _jsx("path", { d: "M700 170 L700 170 Q720 170 728 180 L728 210 Q728 240 700 258 Q672 240 672 210 L672 180 Q680 170 700 170 Z", fill: "none", stroke: p.primary, strokeOpacity: "0.18", strokeWidth: "1.2" }), _jsx("circle", { cx: "700", cy: "205", r: "5", fill: "none", stroke: p.glow, strokeOpacity: "0.25", strokeWidth: "0.8" }), _jsx("line", { x1: "700", y1: "210", x2: "700", y2: "225", stroke: p.glow, strokeOpacity: "0.22", strokeWidth: "1.2", strokeLinecap: "round" }), _jsx("rect", { x: "210", y: "140", width: "24", height: "18", rx: "3", fill: "none", stroke: p.surge, strokeOpacity: "0.15", strokeWidth: "0.8" }), _jsx("path", { d: "M216 140 L216 132 Q216 124 222 124 Q228 124 228 132 L228 140", fill: "none", stroke: p.surge, strokeOpacity: "0.12", strokeWidth: "0.7" }), _jsx("circle", { cx: "222", cy: "149", r: "2", fill: p.surge, opacity: "0.20" }), _jsx("rect", { x: "1140", y: "250", width: "28", height: "20", rx: "3.5", fill: "none", stroke: p.surge, strokeOpacity: "0.15", strokeWidth: "0.8" }), _jsx("path", { d: "M1147 250 L1147 241 Q1147 232 1154 232 Q1161 232 1161 241 L1161 250", fill: "none", stroke: p.surge, strokeOpacity: "0.12", strokeWidth: "0.7" }), _jsx("circle", { cx: "1154", cy: "260", r: "2.2", fill: p.surge, opacity: "0.20" }), _jsx("rect", { x: "1020", y: "55", width: "20", height: "15", rx: "2.5", fill: "none", stroke: p.spark, strokeOpacity: "0.13", strokeWidth: "0.7" }), _jsx("path", { d: "M1025 55 L1025 48 Q1025 42 1030 42 Q1035 42 1035 48 L1035 55", fill: "none", stroke: p.spark, strokeOpacity: "0.10", strokeWidth: "0.6" }), _jsx("circle", { cx: "1030", cy: "62", r: "1.6", fill: p.spark, opacity: "0.18" }), [60, 95, 130, 165, 200, 235, 270, 305, 340, 375].map((y, i) => (_jsx("text", { x: "100", y: y, fill: p.glow, opacity: 0.06 + (i % 3) * 0.02, fontSize: "8", fontFamily: "monospace", children: ['A7', 'F3', '9E', '1B', 'D4', '6C', '88', '2F', 'E1', '5A'][i] }, `hs1-${i}`))), [45, 80, 115, 150, 185, 220, 255, 290, 325, 360].map((y, i) => (_jsx("text", { x: "380", y: y, fill: p.spark, opacity: 0.05 + (i % 4) * 0.015, fontSize: "7", fontFamily: "monospace", children: ['3D', 'C8', '71', 'AE', '0F', 'B2', '94', 'E7', '56', '1C'][i] }, `hs2-${i}`))), [55, 90, 125, 160, 195, 230, 265, 300, 335, 370].map((y, i) => (_jsx("text", { x: "1250", y: y, fill: p.surge, opacity: 0.05 + (i % 3) * 0.018, fontSize: "7.5", fontFamily: "monospace", children: ['FF', '42', 'DA', '07', '8B', 'C3', '6E', '15', 'A9', '3F'][i] }, `hs3-${i}`))), [70, 105, 140, 175, 210, 245, 280, 315, 350, 385].map((y, i) => (_jsx("text", { x: "950", y: y, fill: p.surge, opacity: 0.04 + (i % 3) * 0.015, fontSize: "7", fontFamily: "monospace", children: ['B5', '2A', 'E0', '7D', '49', 'FC', '16', '83', 'D1', '6B'][i] }, `hs4-${i}`))), _jsx("path", { d: "M140 340 A120 120 0 0 1 140 100", fill: "none", stroke: p.surge, strokeOpacity: "0.10", strokeWidth: "0.9", strokeDasharray: "6 5" }), _jsx("path", { d: "M160 320 A100 100 0 0 1 160 120", fill: "none", stroke: warmC, strokeOpacity: "0.07", strokeWidth: "0.7", strokeDasharray: "4 4" }), _jsx("path", { d: "M1260 100 A120 120 0 0 1 1260 340", fill: "none", stroke: p.surge, strokeOpacity: "0.10", strokeWidth: "0.9", strokeDasharray: "6 5" }), _jsx("path", { d: "M1240 120 A100 100 0 0 1 1240 320", fill: "none", stroke: warmA, strokeOpacity: "0.07", strokeWidth: "0.7", strokeDasharray: "4 4" }), _jsx("path", { d: "M260 80 Q300 60 340 80", fill: "none", stroke: p.glow, strokeOpacity: "0.10", strokeWidth: "0.7" }), _jsx("path", { d: "M255 90 Q300 65 345 90", fill: "none", stroke: p.glow, strokeOpacity: "0.08", strokeWidth: "0.6" }), _jsx("path", { d: "M250 100 Q300 70 350 100", fill: "none", stroke: p.glow, strokeOpacity: "0.06", strokeWidth: "0.5" }), _jsx("path", { d: "M245 110 Q300 75 355 110", fill: "none", stroke: p.glow, strokeOpacity: "0.05", strokeWidth: "0.4" }), _jsx("circle", { cx: "55", cy: "50", r: "1.5", fill: p.glow, opacity: "0.48" }), _jsx("circle", { cx: "230", cy: "380", r: "1.8", fill: p.surge, opacity: "0.45" }), _jsx("circle", { cx: "480", cy: "35", r: "1.4", fill: p.spark, opacity: "0.50" }), _jsx("circle", { cx: "620", cy: "395", r: "1.6", fill: warmC, opacity: "0.42" }), _jsx("circle", { cx: "820", cy: "45", r: "1.7", fill: p.surge, opacity: "0.50" }), _jsx("circle", { cx: "990", cy: "380", r: "1.3", fill: warmA, opacity: "0.40" }), _jsx("circle", { cx: "1170", cy: "55", r: "1.5", fill: warmB, opacity: "0.46" }), _jsx("circle", { cx: "1340", cy: "360", r: "1.4", fill: p.glow, opacity: "0.42" }), _jsx("circle", { cx: "340", cy: "310", r: "1.3", fill: p.surge, opacity: "0.38" }), _jsx("circle", { cx: "880", cy: "350", r: "1.5", fill: p.spark, opacity: "0.40" }), _jsx("circle", { cx: "1300", cy: "90", r: "1.2", fill: p.surge, opacity: "0.38" }), _jsx("circle", { cx: "560", cy: "330", r: "1.4", fill: warmC, opacity: "0.36" }), _jsx("circle", { cx: "250", cy: "200", r: "55", fill: p.surge, opacity: "0.035" }), _jsx("circle", { cx: "900", cy: "160", r: "65", fill: p.surge, opacity: "0.03" }), _jsx("circle", { cx: "1150", cy: "340", r: "50", fill: p.spark, opacity: "0.03" }), _jsx("circle", { cx: "450", cy: "300", r: "45", fill: warmA, opacity: "0.025" }), _jsx("line", { x1: "100", y1: "420", x2: "600", y2: "0", stroke: p.glow, strokeOpacity: "0.05", strokeWidth: "30" }), _jsx("line", { x1: "550", y1: "420", x2: "1050", y2: "0", stroke: p.spark, strokeOpacity: "0.05", strokeWidth: "25" }), _jsx("line", { x1: "900", y1: "420", x2: "1400", y2: "30", stroke: p.surge, strokeOpacity: "0.05", strokeWidth: "28" })] })] }));
|
|
22
|
+
}
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
2
|
+
/*
|
|
3
|
+
* Copyright (c) 2022-2026 Datalayer, Inc.
|
|
4
|
+
*
|
|
5
|
+
* Datalayer License
|
|
6
|
+
*/
|
|
7
|
+
import { useColorPalette } from '@datalayer/primer-addons';
|
|
8
|
+
export function SvgPublication({ palette: paletteProp, } = {}) {
|
|
9
|
+
const auto = useColorPalette();
|
|
10
|
+
const p = paletteProp ?? auto;
|
|
11
|
+
return (_jsxs("svg", { viewBox: "0 0 320 240", xmlns: "http://www.w3.org/2000/svg", role: "img", "aria-label": "Publications illustration", style: { width: '100%', height: 'auto', display: 'block' }, children: [_jsxs("defs", { children: [_jsxs("radialGradient", { id: "pubGlow", cx: "50%", cy: "50%", r: "62%", children: [_jsx("stop", { offset: "0%", stopColor: p.pop, stopOpacity: "0.3" }), _jsx("stop", { offset: "66%", stopColor: p.pop, stopOpacity: "0.1" }), _jsx("stop", { offset: "100%", stopColor: p.pop, stopOpacity: "0" })] }), _jsxs("linearGradient", { id: "pubPaper", x1: "0", y1: "0", x2: "1", y2: "1", children: [_jsx("stop", { offset: "0%", stopColor: p.bgPanel }), _jsx("stop", { offset: "100%", stopColor: p.bgAlt })] })] }), _jsx("rect", { x: "0", y: "0", width: "320", height: "240", fill: "url(#pubGlow)" }), _jsxs("g", { transform: "translate(54 34)", children: [_jsx("rect", { x: "34", y: "16", width: "176", height: "142", rx: "10", fill: p.bgAlt, stroke: p.primary, strokeOpacity: "0.12" }), _jsx("rect", { x: "18", y: "8", width: "176", height: "142", rx: "10", fill: p.bgPanel, stroke: p.primary, strokeOpacity: "0.18" }), _jsx("rect", { x: "0", y: "0", width: "176", height: "142", rx: "10", fill: "url(#pubPaper)", stroke: p.primary, strokeOpacity: "0.3" }), _jsx("rect", { x: "18", y: "20", width: "94", height: "11", rx: "5.5", fill: p.pop, fillOpacity: "0.42" }), _jsx("rect", { x: "18", y: "40", width: "140", height: "6", rx: "3", fill: p.primary, fillOpacity: "0.25" }), _jsx("rect", { x: "18", y: "54", width: "128", height: "6", rx: "3", fill: p.primary, fillOpacity: "0.2" }), _jsx("rect", { x: "18", y: "72", width: "72", height: "46", rx: "6", fill: p.surge, fillOpacity: "0.18", stroke: p.surge, strokeOpacity: "0.45" }), _jsx("rect", { x: "98", y: "72", width: "60", height: "8", rx: "4", fill: p.glow, fillOpacity: "0.35" }), _jsx("rect", { x: "98", y: "86", width: "52", height: "8", rx: "4", fill: p.flame, fillOpacity: "0.3" }), _jsx("rect", { x: "98", y: "100", width: "45", height: "8", rx: "4", fill: p.gold, fillOpacity: "0.3" })] }), _jsx("path", { d: "M246 64 L276 84 L246 104 Z", fill: p.flame, fillOpacity: "0.45" }), _jsx("circle", { cx: "72", cy: "204", r: "8", fill: p.gold, fillOpacity: "0.3" }), _jsx("circle", { cx: "252", cy: "192", r: "10", fill: p.spark, fillOpacity: "0.26" })] }));
|
|
12
|
+
}
|
|
13
|
+
export default SvgPublication;
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import { type ColorPalette } from '@datalayer/primer-addons';
|
|
2
|
+
type SvgRadarProps = {
|
|
3
|
+
width?: number | string;
|
|
4
|
+
height?: number | string;
|
|
5
|
+
palette?: ColorPalette;
|
|
6
|
+
};
|
|
7
|
+
export declare function SvgRadar({ width, height, palette: paletteProp }?: SvgRadarProps): import("react/jsx-runtime").JSX.Element;
|
|
8
|
+
export default SvgRadar;
|
|
@@ -0,0 +1,92 @@
|
|
|
1
|
+
import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
2
|
+
/*
|
|
3
|
+
* Copyright (c) 2022-2026 Datalayer, Inc.
|
|
4
|
+
*
|
|
5
|
+
* Datalayer License
|
|
6
|
+
*/
|
|
7
|
+
import { useId } from 'react';
|
|
8
|
+
import { useColorPalette } from '@datalayer/primer-addons';
|
|
9
|
+
const SWEEP_PERIOD_S = 6;
|
|
10
|
+
const BLIP_COUNT = 6;
|
|
11
|
+
// Angles in degrees measured clockwise from 12 o'clock (top).
|
|
12
|
+
const BLIPS = [
|
|
13
|
+
{ angle: 35, radius: 200 },
|
|
14
|
+
{ angle: 95, radius: 300 },
|
|
15
|
+
{ angle: 145, radius: 235 },
|
|
16
|
+
{ angle: 205, radius: 280 },
|
|
17
|
+
{ angle: 265, radius: 195 },
|
|
18
|
+
{ angle: 320, radius: 270 },
|
|
19
|
+
];
|
|
20
|
+
function polarToCartesian(cx, cy, angleDeg, r) {
|
|
21
|
+
const rad = ((angleDeg - 90) * Math.PI) / 180;
|
|
22
|
+
return { x: cx + r * Math.cos(rad), y: cy + r * Math.sin(rad) };
|
|
23
|
+
}
|
|
24
|
+
function MiniLines({ cx, cy, width, begin, glow, pop, spark, }) {
|
|
25
|
+
const half = width / 2;
|
|
26
|
+
const lineHeight = 4;
|
|
27
|
+
const gap = 6;
|
|
28
|
+
const opacityValues = '0;0.95;0.7;0.45;0.18;0';
|
|
29
|
+
const opacityKeyTimes = '0;0.05;0.18;0.35;0.6;1';
|
|
30
|
+
return (_jsxs("g", { transform: `translate(${cx - half} ${cy - (lineHeight * 3 + gap * 2) / 2})`, children: [_jsx("rect", { x: (width - width * 0.65) / 2, width: width * 0.65, height: lineHeight, rx: lineHeight / 2, fill: spark, opacity: "0", children: _jsx("animate", { attributeName: "opacity", values: opacityValues, keyTimes: opacityKeyTimes, dur: `${SWEEP_PERIOD_S}s`, begin: `${begin}s`, repeatCount: "indefinite" }) }), _jsx("rect", { y: lineHeight + gap, x: (width - width * 0.85) / 2, width: width * 0.85, height: lineHeight, rx: lineHeight / 2, fill: pop, opacity: "0", children: _jsx("animate", { attributeName: "opacity", values: opacityValues, keyTimes: opacityKeyTimes, dur: `${SWEEP_PERIOD_S}s`, begin: `${begin}s`, repeatCount: "indefinite" }) }), _jsx("rect", { y: (lineHeight + gap) * 2, width: width, height: lineHeight, rx: lineHeight / 2, fill: glow, opacity: "0", children: _jsx("animate", { attributeName: "opacity", values: opacityValues, keyTimes: opacityKeyTimes, dur: `${SWEEP_PERIOD_S}s`, begin: `${begin}s`, repeatCount: "indefinite" }) })] }));
|
|
31
|
+
}
|
|
32
|
+
export function SvgRadar({ width = '100%', height = 'auto', palette: paletteProp } = {}) {
|
|
33
|
+
const id = useId().replace(/:/g, '');
|
|
34
|
+
const auto = useColorPalette();
|
|
35
|
+
const p = paletteProp ?? auto;
|
|
36
|
+
// Theme-responsive palette: derive every color from the active palette so
|
|
37
|
+
// the radar adapts to brand colors and the user's light/dark color mode.
|
|
38
|
+
const bg = p.bg;
|
|
39
|
+
const frame = p.secondary;
|
|
40
|
+
const grid = p.secondary;
|
|
41
|
+
const gridStrong = p.primary;
|
|
42
|
+
const sweep = p.primary;
|
|
43
|
+
const sweepSoft = p.glow ?? p.primary;
|
|
44
|
+
const labelColor = p.primary;
|
|
45
|
+
const ctaText = p.primary;
|
|
46
|
+
const titleColor = p.primary;
|
|
47
|
+
const subtitleColor = p.primary;
|
|
48
|
+
// Per-blip color trios drawn from the wider palette so each detected target
|
|
49
|
+
// pulses in a distinct hue while still sitting inside the brand.
|
|
50
|
+
const fallback = p.primary;
|
|
51
|
+
const blipPalettes = [
|
|
52
|
+
{ glow: p.primary, pop: p.glow ?? fallback, spark: p.spark ?? fallback },
|
|
53
|
+
{ glow: p.spark ?? fallback, pop: p.flame ?? fallback, spark: p.gold ?? fallback },
|
|
54
|
+
{ glow: p.glow ?? fallback, pop: p.surge ?? fallback, spark: p.pop ?? fallback },
|
|
55
|
+
{ glow: p.pop ?? fallback, pop: p.primary, spark: p.spark ?? fallback },
|
|
56
|
+
{ glow: p.flame ?? fallback, pop: p.gold ?? fallback, spark: p.glow ?? fallback },
|
|
57
|
+
{ glow: p.surge ?? fallback, pop: p.primary, spark: p.spark ?? fallback },
|
|
58
|
+
];
|
|
59
|
+
const cx = 400;
|
|
60
|
+
const cy = 400;
|
|
61
|
+
const r = 350;
|
|
62
|
+
// Wedge geometry: leading edge at angle 0 (12 o'clock), trail extending
|
|
63
|
+
// counter-clockwise to angle -60. Rotating the wedge clockwise (0 -> 360)
|
|
64
|
+
// makes the leading edge sweep forward and the trail lag behind, like a
|
|
65
|
+
// real radar.
|
|
66
|
+
const leadAngle = 0;
|
|
67
|
+
const trailAngle = -60;
|
|
68
|
+
const lead = polarToCartesian(cx, cy, leadAngle, r);
|
|
69
|
+
const trail = polarToCartesian(cx, cy, trailAngle, r);
|
|
70
|
+
const sweepWedgePath = `M ${cx} ${cy} L ${lead.x} ${lead.y} A ${r} ${r} 0 0 0 ${trail.x} ${trail.y} Z`;
|
|
71
|
+
return (_jsxs("svg", { viewBox: "0 0 800 800", xmlns: "http://www.w3.org/2000/svg", style: { width, height, maxWidth: '100%', display: 'block', background: bg }, "aria-label": "Radar", children: [_jsxs("defs", { children: [_jsxs("linearGradient", { id: `radar-sweep-${id}`, gradientUnits: "userSpaceOnUse", x1: lead.x, y1: lead.y, x2: trail.x, y2: trail.y, children: [_jsx("stop", { offset: "0%", stopColor: sweep, stopOpacity: "0.85" }), _jsx("stop", { offset: "40%", stopColor: sweepSoft, stopOpacity: "0.35" }), _jsx("stop", { offset: "100%", stopColor: sweep, stopOpacity: "0" })] }), _jsxs("radialGradient", { id: `radar-glow-${id}`, cx: "50%", cy: "50%", r: "50%", children: [_jsx("stop", { offset: "0%", stopColor: sweep, stopOpacity: "0.06" }), _jsx("stop", { offset: "60%", stopColor: sweep, stopOpacity: "0.02" }), _jsx("stop", { offset: "100%", stopColor: sweep, stopOpacity: "0" })] }), _jsx("filter", { id: `radar-blur-${id}`, children: _jsx("feGaussianBlur", { stdDeviation: "0.6" }) }), _jsxs("filter", { id: `radar-soft-glow-${id}`, x: "-50%", y: "-50%", width: "200%", height: "200%", children: [_jsx("feGaussianBlur", { stdDeviation: "2.4", result: "blur" }), _jsxs("feMerge", { children: [_jsx("feMergeNode", { in: "blur" }), _jsx("feMergeNode", { in: "SourceGraphic" })] })] })] }), _jsx("rect", { x: "0", y: "0", width: "800", height: "800", fill: bg }), _jsx("circle", { cx: cx, cy: cy, r: r + 15, fill: "none", stroke: frame, strokeWidth: "2" }), _jsx("circle", { cx: cx, cy: cy, r: r, fill: `url(#radar-glow-${id})` }), [80, 160, 240, 320].map((rr) => (_jsx("circle", { cx: cx, cy: cy, r: rr, fill: "none", stroke: grid, strokeWidth: "1", opacity: "0.35" }, rr))), _jsx("circle", { cx: cx, cy: cy, r: r, fill: "none", stroke: gridStrong, strokeWidth: "1.2", opacity: "0.7" }), _jsx("line", { x1: cx - r, y1: cy, x2: cx + r, y2: cy, stroke: grid, strokeWidth: "1", opacity: "0.4" }), _jsx("line", { x1: cx, y1: cy - r, x2: cx, y2: cy + r, stroke: grid, strokeWidth: "1", opacity: "0.4" }), Array.from({ length: 12 }).map((_, i) => {
|
|
72
|
+
const a = i * 30;
|
|
73
|
+
const inner = polarToCartesian(cx, cy, a, r - 14);
|
|
74
|
+
const outer = polarToCartesian(cx, cy, a, r);
|
|
75
|
+
return (_jsx("line", { x1: inner.x, y1: inner.y, x2: outer.x, y2: outer.y, stroke: gridStrong, strokeWidth: a % 90 === 0 ? 2 : 1, opacity: a % 90 === 0 ? 0.9 : 0.55 }, a));
|
|
76
|
+
}), _jsxs("g", { fill: labelColor, fontFamily: "ui-monospace, SFMono-Regular, Menlo, Consolas, monospace", fontSize: "14", opacity: "0.85", children: [_jsx("text", { x: cx, y: cy - r - 22, textAnchor: "middle", children: "000" }), _jsx("text", { x: cx + r + 22, y: cy + 5, textAnchor: "start", children: "090" }), _jsx("text", { x: cx, y: cy + r + 32, textAnchor: "middle", children: "180" }), _jsx("text", { x: cx - r - 22, y: cy + 5, textAnchor: "end", children: "270" })] }), BLIPS.slice(0, BLIP_COUNT).map((b, idx) => {
|
|
77
|
+
const pos = polarToCartesian(cx, cy, b.angle, b.radius);
|
|
78
|
+
const begin = (b.angle / 360) * SWEEP_PERIOD_S;
|
|
79
|
+
const colors = blipPalettes[idx % blipPalettes.length];
|
|
80
|
+
return (_jsx(MiniLines, { cx: pos.x, cy: pos.y, width: 70, begin: begin, glow: colors.glow, pop: colors.pop, spark: colors.spark }, idx));
|
|
81
|
+
}), _jsxs("g", { children: [_jsx("g", { filter: `url(#radar-blur-${id})`, children: _jsx("path", { d: sweepWedgePath, fill: `url(#radar-sweep-${id})`, children: _jsx("animateTransform", { attributeName: "transform", type: "rotate", from: `0 ${cx} ${cy}`, to: `360 ${cx} ${cy}`, dur: `${SWEEP_PERIOD_S}s`, repeatCount: "indefinite" }) }) }), _jsx("line", { x1: cx, y1: cy, x2: cx, y2: cy - r, stroke: sweep, strokeWidth: "2", strokeOpacity: "0.9", children: _jsx("animateTransform", { attributeName: "transform", type: "rotate", from: `0 ${cx} ${cy}`, to: `360 ${cx} ${cy}`, dur: `${SWEEP_PERIOD_S}s`, repeatCount: "indefinite" }) })] }), _jsx("circle", { cx: cx, cy: cy, r: "4", fill: sweep, opacity: "0.9" }), _jsxs("circle", { cx: cx, cy: cy, r: "10", fill: "none", stroke: sweep, strokeWidth: "1", opacity: "0.4", children: [_jsx("animate", { attributeName: "r", values: "6;28;6", dur: "3s", repeatCount: "indefinite" }), _jsx("animate", { attributeName: "opacity", values: "0.6;0;0.6", dur: "3s", repeatCount: "indefinite" })] }), _jsx("g", { filter: `url(#radar-soft-glow-${id})`, children: _jsx("text", { x: cx, y: cy - 30, textAnchor: "middle", fontFamily: "Inter, system-ui, sans-serif", fontWeight: "800", fontSize: "120", fill: titleColor, letterSpacing: "6", children: "DATA" }) }), _jsxs("text", { x: cx, y: cy + 22, textAnchor: "middle", fontFamily: "ui-monospace, SFMono-Regular, Menlo, Consolas, monospace", fontSize: "18", fill: subtitleColor, opacity: "0", children: ["Efficient AI to discover", _jsx("animate", { attributeName: "opacity", values: "0;0;0.95;0.95;0", keyTimes: "0;0.05;0.2;0.85;1", dur: `${SWEEP_PERIOD_S}s`, begin: "0s", repeatCount: "indefinite" })] }), _jsxs("text", { x: cx, y: cy + 46, textAnchor: "middle", fontFamily: "ui-monospace, SFMono-Regular, Menlo, Consolas, monospace", fontSize: "18", fill: subtitleColor, opacity: "0", children: ["and analyse your datasets", _jsx("animate", { attributeName: "opacity", values: "0;0;0.95;0.95;0", keyTimes: "0;0.18;0.33;0.85;1", dur: `${SWEEP_PERIOD_S}s`, begin: "0s", repeatCount: "indefinite" })] }), _jsx("style", { children: `
|
|
82
|
+
.radar-cta-${id} { text-decoration: none; }
|
|
83
|
+
.radar-cta-${id} text { text-decoration: none; }
|
|
84
|
+
.radar-cta-${id} .radar-cta-group-${id} { transition: transform 120ms ease-out; }
|
|
85
|
+
.radar-cta-${id} .radar-cta-bg-${id} { transition: fill-opacity 120ms ease-out; }
|
|
86
|
+
.radar-cta-${id}:hover .radar-cta-group-${id},
|
|
87
|
+
.radar-cta-${id}:focus-visible .radar-cta-group-${id} { transform: translate(-2px, 2px); }
|
|
88
|
+
.radar-cta-${id}:hover .radar-cta-bg-${id},
|
|
89
|
+
.radar-cta-${id}:focus-visible .radar-cta-bg-${id} { fill-opacity: 0.18; }
|
|
90
|
+
` }), _jsx("a", { href: "https://datalayer.ai", target: "_blank", rel: "noopener noreferrer", className: `radar-cta-${id}`, children: _jsxs("g", { className: `radar-cta-group-${id}`, style: { cursor: 'pointer' }, pointerEvents: "bounding-box", children: [_jsx("rect", { className: `radar-cta-bg-${id}`, x: cx - 95, y: cy + 70, width: "190", height: "44", rx: "2", fill: sweep, fillOpacity: "0.001", stroke: sweep, strokeWidth: "1.5" }), _jsx("text", { x: cx, y: cy + 98, textAnchor: "middle", fontFamily: "ui-monospace, SFMono-Regular, Menlo, Consolas, monospace", fontSize: "14", letterSpacing: "2", fill: ctaText, pointerEvents: "none", style: { textDecoration: 'none' }, children: "TRY IT NOW _" })] }) }), _jsx("text", { x: cx, y: 140, textAnchor: "middle", fontFamily: "ui-monospace, SFMono-Regular, Menlo, Consolas, monospace", fontSize: "14", fill: labelColor, opacity: "0.75", letterSpacing: "2", children: "\u2310 DATA RADAR \u00AC" })] }));
|
|
91
|
+
}
|
|
92
|
+
export default SvgRadar;
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Wide SVG hero background for the Research / Paper page.
|
|
3
|
+
*
|
|
4
|
+
* Visual motif: a rich, layered data–science landscape merging code and
|
|
5
|
+
* empirical analysis. Left side shows a stylised code-editor card (Codemode).
|
|
6
|
+
* Centre features an abstract neural-network graph with animated data-flow
|
|
7
|
+
* pulses. Right side shows a floating eval-metrics dashboard. The background
|
|
8
|
+
* uses a hexagonal grid, multiple gradient orbs, and animated aurora bands
|
|
9
|
+
* for a polished, "shiny" look.
|
|
10
|
+
*
|
|
11
|
+
* Uses a 1400 × 380 viewBox to match the hero's minHeight.
|
|
12
|
+
*/
|
|
13
|
+
import { type ColorPalette } from '@datalayer/primer-addons';
|
|
14
|
+
export declare function SvgResearchHero({ palette: paletteProp }?: {
|
|
15
|
+
palette?: ColorPalette;
|
|
16
|
+
}): import("react/jsx-runtime").JSX.Element;
|
|
17
|
+
export default SvgResearchHero;
|