nexi-agent 0.1.0 → 0.2.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/README.md +195 -20
- package/dist/{chunk-XDNSQ2Q7.js → chunk-LAE5NL7J.js} +284 -4
- package/dist/chunk-LAE5NL7J.js.map +1 -0
- package/dist/demo.cjs +1682 -10
- package/dist/demo.cjs.map +1 -1
- package/dist/demo.d.cts +699 -1
- package/dist/demo.d.ts +699 -1
- package/dist/demo.js +1471 -2
- package/dist/demo.js.map +1 -1
- package/dist/index.cjs +8423 -122
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +1703 -3
- package/dist/index.d.ts +1703 -3
- package/dist/index.js +8051 -110
- package/dist/index.js.map +1 -1
- package/dist/styles.css +1 -1
- package/dist/tailwind.css +689 -0
- package/package.json +4 -4
- package/dist/chunk-XDNSQ2Q7.js.map +0 -1
package/dist/demo.js
CHANGED
|
@@ -1,6 +1,8 @@
|
|
|
1
1
|
"use client";
|
|
2
2
|
import {
|
|
3
|
+
Card3DItem,
|
|
3
4
|
EntityChip,
|
|
5
|
+
Highlight,
|
|
4
6
|
IconArrowBoxLeft,
|
|
5
7
|
IconHome,
|
|
6
8
|
IconPlusMedium,
|
|
@@ -15,7 +17,7 @@ import {
|
|
|
15
17
|
Markdown,
|
|
16
18
|
ThinkingState,
|
|
17
19
|
ValuePill
|
|
18
|
-
} from "./chunk-
|
|
20
|
+
} from "./chunk-LAE5NL7J.js";
|
|
19
21
|
|
|
20
22
|
// src/demo/AgentScreen.ts
|
|
21
23
|
var agentScreenDemo = {
|
|
@@ -823,34 +825,1501 @@ var usageMeterDemo = {
|
|
|
823
825
|
],
|
|
824
826
|
hint: "Resets in 3 days"
|
|
825
827
|
};
|
|
828
|
+
|
|
829
|
+
// src/demo/AnimatedTabs.tsx
|
|
830
|
+
import { jsx as jsx8, jsxs as jsxs5 } from "react/jsx-runtime";
|
|
831
|
+
function Panel({ title, tone }) {
|
|
832
|
+
return /* @__PURE__ */ jsxs5("div", { className: "h-full w-full rounded-window p-6 text-white", style: { background: tone }, children: [
|
|
833
|
+
/* @__PURE__ */ jsx8("p", { className: "text-[22px] font-bold", children: title }),
|
|
834
|
+
/* @__PURE__ */ jsx8("p", { className: "mt-2 max-w-xs text-[13px] text-white/75", children: "Everything your agent needs for this stage, in one panel." })
|
|
835
|
+
] });
|
|
836
|
+
}
|
|
837
|
+
var animatedTabsDemo = {
|
|
838
|
+
tabs: [
|
|
839
|
+
{ title: "Plan", value: "plan", content: /* @__PURE__ */ jsx8(Panel, { title: "Plan", tone: "linear-gradient(135deg,#6d5df5,#3b2fb0)" }) },
|
|
840
|
+
{ title: "Research", value: "research", content: /* @__PURE__ */ jsx8(Panel, { title: "Research", tone: "linear-gradient(135deg,#2f8f6b,#1d5e46)" }) },
|
|
841
|
+
{ title: "Build", value: "build", content: /* @__PURE__ */ jsx8(Panel, { title: "Build", tone: "linear-gradient(135deg,#e08a3c,#a85a17)" }) },
|
|
842
|
+
{ title: "Review", value: "review", content: /* @__PURE__ */ jsx8(Panel, { title: "Review", tone: "linear-gradient(135deg,#d6456a,#952442)" }) }
|
|
843
|
+
]
|
|
844
|
+
};
|
|
845
|
+
|
|
846
|
+
// src/demo/AnimatedTooltip.ts
|
|
847
|
+
var animatedTooltipDemo = {
|
|
848
|
+
items: [
|
|
849
|
+
{ id: 1, name: "Planner", designation: "Breaks goals into steps", color: "#6d5df5" },
|
|
850
|
+
{ id: 2, name: "Researcher", designation: "Searches and cites sources", color: "#2f8f6b" },
|
|
851
|
+
{ id: 3, name: "Coder", designation: "Writes and edits code", color: "#e08a3c" },
|
|
852
|
+
{ id: 4, name: "Reviewer", designation: "Checks the work", color: "#d6456a" },
|
|
853
|
+
{ id: 5, name: "Operator", designation: "Runs tools on your behalf", color: "#2f7ad6" }
|
|
854
|
+
]
|
|
855
|
+
};
|
|
856
|
+
|
|
857
|
+
// src/demo/BentoGrid.tsx
|
|
858
|
+
import { jsx as jsx9 } from "react/jsx-runtime";
|
|
859
|
+
var icon2 = (d) => /* @__PURE__ */ jsx9("svg", { width: "16", height: "16", viewBox: "0 0 24 24", fill: "none", stroke: "currentColor", strokeWidth: "2", strokeLinecap: "round", strokeLinejoin: "round", "aria-hidden": true, children: /* @__PURE__ */ jsx9("path", { d }) });
|
|
860
|
+
var skeleton = (tone) => /* @__PURE__ */ jsx9(
|
|
861
|
+
"div",
|
|
862
|
+
{
|
|
863
|
+
className: "min-h-24 w-full flex-1 rounded-card shadow-hairline",
|
|
864
|
+
style: { background: `linear-gradient(135deg, var(${tone}), var(--inset))` }
|
|
865
|
+
}
|
|
866
|
+
);
|
|
867
|
+
var bentoGridItemDemo = {
|
|
868
|
+
title: "Reasoning traces",
|
|
869
|
+
description: "See every step the agent took.",
|
|
870
|
+
icon: icon2("M4 6h16M4 12h10M4 18h6"),
|
|
871
|
+
header: skeleton("--accent-tint")
|
|
872
|
+
};
|
|
873
|
+
var bentoGridDemo = {
|
|
874
|
+
items: [
|
|
875
|
+
{ ...bentoGridItemDemo, className: "md:col-span-2" },
|
|
876
|
+
{
|
|
877
|
+
title: "Tool calls",
|
|
878
|
+
description: "Compact, expandable rows.",
|
|
879
|
+
icon: icon2("M14.7 6.3a4 4 0 0 0-5.4 5.4L3 18l3 3 6.3-6.3a4 4 0 0 0 5.4-5.4"),
|
|
880
|
+
header: skeleton("--green-tint")
|
|
881
|
+
},
|
|
882
|
+
{ title: "Approvals", description: "Ask before acting.", icon: icon2("M5 12.5l4.5 4.5L19 7"), header: skeleton("--orange-tint") },
|
|
883
|
+
{
|
|
884
|
+
title: "Streaming",
|
|
885
|
+
description: "Answers that resolve word by word, with sources.",
|
|
886
|
+
icon: icon2("M4 12h4l3-8 4 16 3-8h2"),
|
|
887
|
+
header: skeleton("--red-tint"),
|
|
888
|
+
className: "md:col-span-2"
|
|
889
|
+
}
|
|
890
|
+
]
|
|
891
|
+
};
|
|
892
|
+
|
|
893
|
+
// src/demo/EncryptedText.ts
|
|
894
|
+
var encryptedTextDemo = {
|
|
895
|
+
text: "Decrypting the agent's reasoning\u2026"
|
|
896
|
+
};
|
|
897
|
+
|
|
898
|
+
// src/demo/FileUpload.ts
|
|
899
|
+
var fileUploadDemo = {
|
|
900
|
+
accept: "image/*,.pdf,.csv",
|
|
901
|
+
labels: { title: "Upload file", hint: "Drag or drop your files here or click to upload" }
|
|
902
|
+
};
|
|
903
|
+
|
|
904
|
+
// src/demo/FlipWords.ts
|
|
905
|
+
var flipWordsDemo = {
|
|
906
|
+
words: ["reason", "plan", "search", "act"]
|
|
907
|
+
};
|
|
908
|
+
|
|
909
|
+
// src/demo/FloatingDock.tsx
|
|
910
|
+
import { jsx as jsx10, jsxs as jsxs6 } from "react/jsx-runtime";
|
|
911
|
+
var stroke = { fill: "none", stroke: "currentColor", strokeWidth: 1.8, strokeLinecap: "round", strokeLinejoin: "round" };
|
|
912
|
+
var floatingDockDemo = {
|
|
913
|
+
items: [
|
|
914
|
+
{ title: "Home", icon: /* @__PURE__ */ jsx10("svg", { viewBox: "0 0 24 24", ...stroke, children: /* @__PURE__ */ jsx10("path", { d: "M3 11l9-8 9 8v9a1 1 0 0 1-1 1h-5v-6h-6v6H4a1 1 0 0 1-1-1z" }) }) },
|
|
915
|
+
{ title: "Chats", icon: /* @__PURE__ */ jsx10("svg", { viewBox: "0 0 24 24", ...stroke, children: /* @__PURE__ */ jsx10("path", { d: "M21 12a8 8 0 0 1-11.6 7.1L4 20l1-4.6A8 8 0 1 1 21 12z" }) }) },
|
|
916
|
+
{ title: "Agents", icon: /* @__PURE__ */ jsxs6("svg", { viewBox: "0 0 24 24", ...stroke, children: [
|
|
917
|
+
/* @__PURE__ */ jsx10("rect", { x: "5", y: "8", width: "14", height: "11", rx: "3" }),
|
|
918
|
+
/* @__PURE__ */ jsx10("path", { d: "M12 4v4M9 13h.01M15 13h.01" })
|
|
919
|
+
] }) },
|
|
920
|
+
{ title: "Tools", icon: /* @__PURE__ */ jsx10("svg", { viewBox: "0 0 24 24", ...stroke, children: /* @__PURE__ */ jsx10("path", { d: "M14.7 6.3a4 4 0 0 0-5.4 5.4L3 18l3 3 6.3-6.3a4 4 0 0 0 5.4-5.4l-2.5 2.5-2.5-2.5z" }) }) },
|
|
921
|
+
{ title: "Files", icon: /* @__PURE__ */ jsx10("svg", { viewBox: "0 0 24 24", ...stroke, children: /* @__PURE__ */ jsx10("path", { d: "M4 5a1 1 0 0 1 1-1h5l2 2h7a1 1 0 0 1 1 1v12a1 1 0 0 1-1 1H5a1 1 0 0 1-1-1z" }) }) },
|
|
922
|
+
{ title: "Settings", icon: /* @__PURE__ */ jsxs6("svg", { viewBox: "0 0 24 24", ...stroke, children: [
|
|
923
|
+
/* @__PURE__ */ jsx10("circle", { cx: "12", cy: "12", r: "3" }),
|
|
924
|
+
/* @__PURE__ */ jsx10("path", { d: "M12 2v3M12 19v3M4.2 4.2l2.1 2.1M17.7 17.7l2.1 2.1M2 12h3M19 12h3M4.2 19.8l2.1-2.1M17.7 6.3l2.1-2.1" })
|
|
925
|
+
] }) }
|
|
926
|
+
]
|
|
927
|
+
};
|
|
928
|
+
|
|
929
|
+
// src/demo/GlareCard.tsx
|
|
930
|
+
import { jsx as jsx11, jsxs as jsxs7 } from "react/jsx-runtime";
|
|
931
|
+
var glareCardDemo = {
|
|
932
|
+
children: /* @__PURE__ */ jsxs7("div", { className: "flex h-full flex-col justify-end bg-[linear-gradient(160deg,oklch(30%_0.06_260),oklch(16%_0.03_270))] p-6", children: [
|
|
933
|
+
/* @__PURE__ */ jsxs7("svg", { width: "36", height: "36", viewBox: "0 0 24 24", fill: "none", stroke: "white", strokeWidth: "1.5", "aria-hidden": true, children: [
|
|
934
|
+
/* @__PURE__ */ jsx11("circle", { cx: "12", cy: "12", r: "9" }),
|
|
935
|
+
/* @__PURE__ */ jsx11("path", { d: "M12 3v18M3 12h18M5.6 5.6l12.8 12.8M18.4 5.6L5.6 18.4", opacity: "0.5" })
|
|
936
|
+
] }),
|
|
937
|
+
/* @__PURE__ */ jsx11("p", { className: "mt-4 text-[20px] font-semibold text-white", children: "Research agent" }),
|
|
938
|
+
/* @__PURE__ */ jsx11("p", { className: "mt-1 text-[13px] text-white/60", children: "Reads, cites and summarises in seconds." })
|
|
939
|
+
] })
|
|
940
|
+
};
|
|
941
|
+
|
|
942
|
+
// src/demo/GridBackground.tsx
|
|
943
|
+
import { jsx as jsx12 } from "react/jsx-runtime";
|
|
944
|
+
var gridBackgroundDemo = {
|
|
945
|
+
variant: "grid",
|
|
946
|
+
children: /* @__PURE__ */ jsx12("p", { className: "bg-gradient-to-b from-ink to-ink-3 bg-clip-text py-6 text-center text-[36px] font-bold tracking-tight text-transparent", children: "Backgrounds" })
|
|
947
|
+
};
|
|
948
|
+
|
|
949
|
+
// src/demo/HoverBorderGradient.ts
|
|
950
|
+
var hoverBorderGradientDemo = {
|
|
951
|
+
children: "Ask the agent"
|
|
952
|
+
};
|
|
953
|
+
|
|
954
|
+
// src/demo/Meteors.tsx
|
|
955
|
+
import { Fragment as Fragment3, jsx as jsx13, jsxs as jsxs8 } from "react/jsx-runtime";
|
|
956
|
+
var meteorsDemo = {
|
|
957
|
+
number: 20,
|
|
958
|
+
children: /* @__PURE__ */ jsxs8(Fragment3, { children: [
|
|
959
|
+
/* @__PURE__ */ jsx13("span", { className: "mb-4 flex size-8 items-center justify-center rounded-full bg-inset shadow-hairline", children: /* @__PURE__ */ jsx13("svg", { width: "14", height: "14", viewBox: "0 0 24 24", fill: "none", stroke: "currentColor", strokeWidth: "2", strokeLinecap: "round", className: "text-ink-2", "aria-hidden": true, children: /* @__PURE__ */ jsx13("path", { d: "M7 17L17 7M7 7h10v10" }) }) }),
|
|
960
|
+
/* @__PURE__ */ jsx13("p", { className: "text-[18px] font-semibold text-ink", children: "Meteors because they're cool" }),
|
|
961
|
+
/* @__PURE__ */ jsx13("p", { className: "mt-2 text-[13px] leading-relaxed text-ink-2", children: "Shooting through the background while your agent works through the night, without a single frame of JavaScript after mount." }),
|
|
962
|
+
/* @__PURE__ */ jsx13("span", { className: "mt-4 inline-flex rounded-full px-3 py-1 text-[12px] text-ink shadow-btn", children: "Explore" })
|
|
963
|
+
] })
|
|
964
|
+
};
|
|
965
|
+
|
|
966
|
+
// src/demo/MovingBorder.ts
|
|
967
|
+
var movingBorderDemo = {
|
|
968
|
+
children: "Borders are cool"
|
|
969
|
+
};
|
|
970
|
+
|
|
971
|
+
// src/demo/SpotlightCard.tsx
|
|
972
|
+
import { Fragment as Fragment4, jsx as jsx14, jsxs as jsxs9 } from "react/jsx-runtime";
|
|
973
|
+
var steps = ["Enter your email address", "Create a strong password", "Set up two-factor auth", "Verify your identity"];
|
|
974
|
+
var spotlightCardDemo = {
|
|
975
|
+
children: /* @__PURE__ */ jsxs9(Fragment4, { children: [
|
|
976
|
+
/* @__PURE__ */ jsx14("p", { className: "text-[17px] font-semibold text-ink", children: "Authentication steps" }),
|
|
977
|
+
/* @__PURE__ */ jsx14("ul", { className: "mt-4 flex flex-col gap-2 text-[13px] text-ink-2", children: steps.map((step) => /* @__PURE__ */ jsxs9("li", { className: "flex items-center gap-2", children: [
|
|
978
|
+
/* @__PURE__ */ jsx14("svg", { width: "14", height: "14", viewBox: "0 0 24 24", className: "shrink-0 text-accent", fill: "currentColor", "aria-hidden": true, children: /* @__PURE__ */ jsx14("path", { d: "M12 2a10 10 0 1 0 0 20 10 10 0 0 0 0-20zm-1.2 14.2l-4-4 1.4-1.4 2.6 2.6 5.6-5.6 1.4 1.4-7 7z" }) }),
|
|
979
|
+
step
|
|
980
|
+
] }, step)) }),
|
|
981
|
+
/* @__PURE__ */ jsx14("p", { className: "mt-4 text-[12.5px] leading-relaxed text-ink-3", children: "Your agent walks every new user through these before it can act on their behalf." })
|
|
982
|
+
] })
|
|
983
|
+
};
|
|
984
|
+
|
|
985
|
+
// src/demo/StatefulButton.ts
|
|
986
|
+
var statefulButtonDemo = {
|
|
987
|
+
children: "Send message",
|
|
988
|
+
// stands in for real work: the button spins until the promise settles
|
|
989
|
+
onClick: () => new Promise((resolve) => setTimeout(resolve, 1600))
|
|
990
|
+
};
|
|
991
|
+
|
|
992
|
+
// src/demo/Timeline.tsx
|
|
993
|
+
import { Fragment as Fragment5, jsx as jsx15, jsxs as jsxs10 } from "react/jsx-runtime";
|
|
994
|
+
function Para({ children }) {
|
|
995
|
+
return /* @__PURE__ */ jsx15("p", { className: "mb-4 text-[13.5px] leading-relaxed text-ink-2", children });
|
|
996
|
+
}
|
|
997
|
+
function Tiles({ tones }) {
|
|
998
|
+
return /* @__PURE__ */ jsx15("div", { className: "grid grid-cols-2 gap-3", children: tones.map((t, i) => /* @__PURE__ */ jsx15("div", { className: "h-20 rounded-card shadow-card md:h-32", style: { background: t } }, i)) });
|
|
999
|
+
}
|
|
1000
|
+
var timelineDemo = {
|
|
1001
|
+
data: [
|
|
1002
|
+
{
|
|
1003
|
+
title: "v0.3",
|
|
1004
|
+
content: /* @__PURE__ */ jsxs10(Fragment5, { children: [
|
|
1005
|
+
/* @__PURE__ */ jsx15(Para, { children: "Agents can now pause for approval before any tool that writes data." }),
|
|
1006
|
+
/* @__PURE__ */ jsx15(Tiles, { tones: ["linear-gradient(135deg,#c7d2fe,#e0e7ff)", "linear-gradient(135deg,#bbf7d0,#dcfce7)"] })
|
|
1007
|
+
] })
|
|
1008
|
+
},
|
|
1009
|
+
{
|
|
1010
|
+
title: "v0.2",
|
|
1011
|
+
content: /* @__PURE__ */ jsxs10(Fragment5, { children: [
|
|
1012
|
+
/* @__PURE__ */ jsx15(Para, { children: "Streaming answers resolve word by word, with inline citations." }),
|
|
1013
|
+
/* @__PURE__ */ jsx15(Tiles, { tones: ["linear-gradient(135deg,#fed7aa,#ffedd5)", "linear-gradient(135deg,#fbcfe8,#fce7f3)"] })
|
|
1014
|
+
] })
|
|
1015
|
+
},
|
|
1016
|
+
{
|
|
1017
|
+
title: "v0.1",
|
|
1018
|
+
content: /* @__PURE__ */ jsxs10(Fragment5, { children: [
|
|
1019
|
+
/* @__PURE__ */ jsx15(Para, { children: "First release: thinking traces, tool chips and the prompt bar." }),
|
|
1020
|
+
/* @__PURE__ */ jsx15("ul", { className: "flex flex-col gap-1.5 text-[13px] text-ink-2", children: ["ThinkingState", "ToolChips", "PromptBar"].map((c) => /* @__PURE__ */ jsxs10("li", { className: "flex items-center gap-2", children: [
|
|
1021
|
+
/* @__PURE__ */ jsx15("span", { className: "size-1.5 rounded-full bg-green" }),
|
|
1022
|
+
" ",
|
|
1023
|
+
c
|
|
1024
|
+
] }, c)) })
|
|
1025
|
+
] })
|
|
1026
|
+
}
|
|
1027
|
+
]
|
|
1028
|
+
};
|
|
1029
|
+
|
|
1030
|
+
// src/demo/Typewriter.ts
|
|
1031
|
+
var typewriterDemo = {
|
|
1032
|
+
words: [{ text: "Build" }, { text: "agents" }, { text: "with" }, { text: "nexi-agent.", className: "text-accent" }]
|
|
1033
|
+
};
|
|
1034
|
+
|
|
1035
|
+
// src/demo/AnimatedModal.tsx
|
|
1036
|
+
import { Fragment as Fragment6, jsx as jsx16, jsxs as jsxs11 } from "react/jsx-runtime";
|
|
1037
|
+
var checks = ["Reads your CRM and inbox", "Drafts replies for approval", "Never sends without asking", "Full audit log"];
|
|
1038
|
+
var animatedModalDemo = {
|
|
1039
|
+
trigger: "Deploy agent",
|
|
1040
|
+
triggerIcon: /* @__PURE__ */ jsx16("svg", { width: "16", height: "16", viewBox: "0 0 24 24", fill: "none", stroke: "currentColor", strokeWidth: "2", strokeLinecap: "round", strokeLinejoin: "round", "aria-hidden": true, children: /* @__PURE__ */ jsx16("path", { d: "M5 15c-1.5 1.5-2 5-2 5s3.5-.5 5-2M14 4c3 0 6 3 6 6l-7 7-6-6 7-7zM9 11l-3 1-2 3 3 1M13 15l-1 3-3 2-1-3" }) }),
|
|
1041
|
+
title: "Deploy the Research agent?",
|
|
1042
|
+
children: /* @__PURE__ */ jsxs11(Fragment6, { children: [
|
|
1043
|
+
/* @__PURE__ */ jsx16("div", { className: "mb-6 flex justify-center gap-3", children: ["#6d5df5", "#2f8f6b", "#e08a3c"].map((c, i) => /* @__PURE__ */ jsx16(
|
|
1044
|
+
"div",
|
|
1045
|
+
{
|
|
1046
|
+
className: "size-20 rounded-card shadow-raised",
|
|
1047
|
+
style: { background: c, transform: `rotate(${(i - 1) * 8}deg)` }
|
|
1048
|
+
},
|
|
1049
|
+
c
|
|
1050
|
+
)) }),
|
|
1051
|
+
/* @__PURE__ */ jsx16("ul", { className: "mx-auto grid max-w-sm grid-cols-2 gap-x-4 gap-y-2 text-[13px] text-ink-2", children: checks.map((c) => /* @__PURE__ */ jsxs11("li", { className: "flex items-center gap-2", children: [
|
|
1052
|
+
/* @__PURE__ */ jsx16("span", { className: "size-1.5 shrink-0 rounded-full bg-green" }),
|
|
1053
|
+
c
|
|
1054
|
+
] }, c)) })
|
|
1055
|
+
] }),
|
|
1056
|
+
footer: (close) => /* @__PURE__ */ jsxs11(Fragment6, { children: [
|
|
1057
|
+
/* @__PURE__ */ jsx16("button", { type: "button", onClick: close, className: "rounded-full px-4 py-1.5 text-[13px] text-ink shadow-btn hover:bg-hover", children: "Cancel" }),
|
|
1058
|
+
/* @__PURE__ */ jsx16("button", { type: "button", onClick: close, className: "rounded-full bg-ink px-4 py-1.5 text-[13px] font-medium text-canvas", children: "Deploy" })
|
|
1059
|
+
] })
|
|
1060
|
+
};
|
|
1061
|
+
|
|
1062
|
+
// src/demo/AnimatedTestimonials.ts
|
|
1063
|
+
var animatedTestimonialsDemo = {
|
|
1064
|
+
items: [
|
|
1065
|
+
{
|
|
1066
|
+
quote: "The approval cards changed how our team trusts automation. Nothing happens without a clear yes, and every step is on the record.",
|
|
1067
|
+
name: "Maya Chen",
|
|
1068
|
+
designation: "Head of Operations",
|
|
1069
|
+
color: "#6d5df5"
|
|
1070
|
+
},
|
|
1071
|
+
{
|
|
1072
|
+
quote: "We dropped the components in and had a working agent screen the same afternoon. The streaming and citations just work.",
|
|
1073
|
+
name: "Daniel Okafor",
|
|
1074
|
+
designation: "Product Lead",
|
|
1075
|
+
color: "#2f8f6b"
|
|
1076
|
+
},
|
|
1077
|
+
{
|
|
1078
|
+
quote: "Our users finally understand what the agent is doing. The thinking trace turned a black box into something they can follow.",
|
|
1079
|
+
name: "Priya Raman",
|
|
1080
|
+
designation: "Staff Engineer",
|
|
1081
|
+
color: "#e08a3c"
|
|
1082
|
+
},
|
|
1083
|
+
{
|
|
1084
|
+
quote: "It looks like we spent a year on design. We spent a week.",
|
|
1085
|
+
name: "Lucas Moreau",
|
|
1086
|
+
designation: "Design Engineer",
|
|
1087
|
+
color: "#d6456a"
|
|
1088
|
+
}
|
|
1089
|
+
]
|
|
1090
|
+
};
|
|
1091
|
+
|
|
1092
|
+
// src/demo/AuroraBackground.tsx
|
|
1093
|
+
import { jsx as jsx17, jsxs as jsxs12 } from "react/jsx-runtime";
|
|
1094
|
+
var auroraBackgroundDemo = {
|
|
1095
|
+
children: /* @__PURE__ */ jsxs12("div", { className: "flex flex-col items-center gap-4 px-6 text-center", style: { animation: "fade-up 700ms cubic-bezier(0.23,1,0.32,1) both" }, children: [
|
|
1096
|
+
/* @__PURE__ */ jsx17("p", { className: "text-[32px] font-bold tracking-tight text-ink", children: "Your agents, working while you sleep." }),
|
|
1097
|
+
/* @__PURE__ */ jsx17("p", { className: "text-[15px] text-ink-2", children: "Plan, search and act \u2014 with approvals at every step." }),
|
|
1098
|
+
/* @__PURE__ */ jsx17("span", { className: "inline-flex rounded-full bg-ink px-4 py-2 text-[13px] font-medium text-canvas", children: "Get started" })
|
|
1099
|
+
] })
|
|
1100
|
+
};
|
|
1101
|
+
|
|
1102
|
+
// src/demo/BackgroundBeams.tsx
|
|
1103
|
+
import { jsx as jsx18, jsxs as jsxs13 } from "react/jsx-runtime";
|
|
1104
|
+
var backgroundBeamsDemo = {
|
|
1105
|
+
children: /* @__PURE__ */ jsxs13("div", { className: "flex max-w-md flex-col items-center gap-3 px-6 text-center", children: [
|
|
1106
|
+
/* @__PURE__ */ jsx18("p", { className: "bg-gradient-to-b from-ink to-ink-3 bg-clip-text text-[34px] font-bold tracking-tight text-transparent", children: "Join the waitlist" }),
|
|
1107
|
+
/* @__PURE__ */ jsx18("p", { className: "text-[13.5px] leading-relaxed text-ink-2", children: "Be first to try agents that plan, search and act on your behalf, with approvals at every step." }),
|
|
1108
|
+
/* @__PURE__ */ jsx18("span", { className: "mt-2 flex h-9 w-64 items-center rounded-full bg-surface px-4 text-[13px] text-ink-3 shadow-btn", children: "you@company.com" })
|
|
1109
|
+
] })
|
|
1110
|
+
};
|
|
1111
|
+
|
|
1112
|
+
// src/demo/Card3D.tsx
|
|
1113
|
+
import { Fragment as Fragment7, jsx as jsx19, jsxs as jsxs14 } from "react/jsx-runtime";
|
|
1114
|
+
var card3DItemDemo = {
|
|
1115
|
+
translateZ: 50,
|
|
1116
|
+
className: "text-[20px] font-bold text-ink",
|
|
1117
|
+
children: "Make things float in air"
|
|
1118
|
+
};
|
|
1119
|
+
var card3DDemo = {
|
|
1120
|
+
className: "w-[22rem] max-w-full rounded-window bg-surface p-6 shadow-card",
|
|
1121
|
+
children: /* @__PURE__ */ jsxs14(Fragment7, { children: [
|
|
1122
|
+
/* @__PURE__ */ jsx19(Card3DItem, { ...card3DItemDemo }),
|
|
1123
|
+
/* @__PURE__ */ jsx19(Card3DItem, { as: "p", translateZ: 60, className: "mt-2 max-w-sm text-[13px] text-ink-2", children: "Hover over this card to see each layer lift off by its own depth." }),
|
|
1124
|
+
/* @__PURE__ */ jsx19(Card3DItem, { translateZ: 100, className: "mt-4 w-full", children: /* @__PURE__ */ jsx19(
|
|
1125
|
+
"div",
|
|
1126
|
+
{
|
|
1127
|
+
className: "h-44 w-full rounded-card shadow-raised",
|
|
1128
|
+
style: { background: "linear-gradient(135deg, #6d5df5 0%, #2f7ad6 50%, #22d3ee 100%)" }
|
|
1129
|
+
}
|
|
1130
|
+
) }),
|
|
1131
|
+
/* @__PURE__ */ jsxs14("div", { className: "mt-8 flex items-center justify-between [transform-style:preserve-3d]", children: [
|
|
1132
|
+
/* @__PURE__ */ jsx19(Card3DItem, { translateZ: 20, className: "text-[12.5px] font-medium text-ink", children: "Try now \u2192" }),
|
|
1133
|
+
/* @__PURE__ */ jsx19(Card3DItem, { translateZ: 20, className: "rounded-full bg-ink px-4 py-2 text-[12px] font-semibold text-canvas", children: "Sign up" })
|
|
1134
|
+
] })
|
|
1135
|
+
] })
|
|
1136
|
+
};
|
|
1137
|
+
|
|
1138
|
+
// src/demo/CardsCarousel.tsx
|
|
1139
|
+
import { jsx as jsx20, jsxs as jsxs15 } from "react/jsx-runtime";
|
|
1140
|
+
function Story({ lead }) {
|
|
1141
|
+
return /* @__PURE__ */ jsxs15("div", { className: "flex flex-col gap-4 text-[15px] leading-relaxed text-ink-2", children: [
|
|
1142
|
+
/* @__PURE__ */ jsxs15("p", { children: [
|
|
1143
|
+
/* @__PURE__ */ jsx20("span", { className: "font-semibold text-ink", children: lead }),
|
|
1144
|
+
" Every step the agent takes is visible \u2014 what it read, which tools it called, and why it chose the answer it gave."
|
|
1145
|
+
] }),
|
|
1146
|
+
/* @__PURE__ */ jsx20("div", { className: "h-48 rounded-card shadow-hairline", style: { background: "linear-gradient(135deg, var(--accent-tint), var(--inset))" } }),
|
|
1147
|
+
/* @__PURE__ */ jsx20("p", { children: "When it needs to act, it asks first. You stay in control while it does the busy work." })
|
|
1148
|
+
] });
|
|
1149
|
+
}
|
|
1150
|
+
var cardsCarouselDemo = {
|
|
1151
|
+
items: [
|
|
1152
|
+
{
|
|
1153
|
+
category: "Research",
|
|
1154
|
+
title: "Reading 1,200 papers so you don't have to.",
|
|
1155
|
+
background: "linear-gradient(160deg, #6d5df5, #1e1b4b)",
|
|
1156
|
+
content: /* @__PURE__ */ jsx20(Story, { lead: "Research agents summarise and cite." })
|
|
1157
|
+
},
|
|
1158
|
+
{
|
|
1159
|
+
category: "Operations",
|
|
1160
|
+
title: "Reconcile invoices while you sleep.",
|
|
1161
|
+
background: "linear-gradient(160deg, #2f8f6b, #022c22)",
|
|
1162
|
+
content: /* @__PURE__ */ jsx20(Story, { lead: "Operations agents run your workflows." })
|
|
1163
|
+
},
|
|
1164
|
+
{
|
|
1165
|
+
category: "Support",
|
|
1166
|
+
title: "Answer customers in seconds, not hours.",
|
|
1167
|
+
background: "linear-gradient(160deg, #e08a3c, #431407)",
|
|
1168
|
+
content: /* @__PURE__ */ jsx20(Story, { lead: "Support agents know your docs." })
|
|
1169
|
+
},
|
|
1170
|
+
{
|
|
1171
|
+
category: "Coding",
|
|
1172
|
+
title: "Ship the fix before standup.",
|
|
1173
|
+
background: "linear-gradient(160deg, #2f7ad6, #0c1a3a)",
|
|
1174
|
+
content: /* @__PURE__ */ jsx20(Story, { lead: "Coding agents read, edit and review." })
|
|
1175
|
+
},
|
|
1176
|
+
{
|
|
1177
|
+
category: "Sales",
|
|
1178
|
+
title: "Every lead followed up, every time.",
|
|
1179
|
+
background: "linear-gradient(160deg, #d6456a, #3b0a18)",
|
|
1180
|
+
content: /* @__PURE__ */ jsx20(Story, { lead: "Sales agents draft and schedule." })
|
|
1181
|
+
}
|
|
1182
|
+
]
|
|
1183
|
+
};
|
|
1184
|
+
|
|
1185
|
+
// src/demo/ImagesSlider.tsx
|
|
1186
|
+
import { jsx as jsx21, jsxs as jsxs16 } from "react/jsx-runtime";
|
|
1187
|
+
function scene(sky, hills, sun) {
|
|
1188
|
+
const svg = `<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1200 700" preserveAspectRatio="xMidYMid slice">
|
|
1189
|
+
<defs><linearGradient id="s" x1="0" y1="0" x2="0" y2="1"><stop offset="0" stop-color="${sky[0]}"/><stop offset="1" stop-color="${sky[1]}"/></linearGradient></defs>
|
|
1190
|
+
<rect width="1200" height="700" fill="url(#s)"/>
|
|
1191
|
+
<circle cx="840" cy="250" r="90" fill="${sun}" opacity="0.9"/>
|
|
1192
|
+
<path d="M0 470 Q200 360 420 440 T860 410 T1200 430 V700 H0Z" fill="${hills[0]}"/>
|
|
1193
|
+
<path d="M0 540 Q260 450 520 520 T1000 500 T1200 520 V700 H0Z" fill="${hills[1]}"/>
|
|
1194
|
+
<path d="M0 610 Q300 560 640 610 T1200 600 V700 H0Z" fill="${hills[2]}"/>
|
|
1195
|
+
</svg>`;
|
|
1196
|
+
return `data:image/svg+xml;charset=utf-8,${encodeURIComponent(svg)}`;
|
|
1197
|
+
}
|
|
1198
|
+
var imagesSliderDemo = {
|
|
1199
|
+
images: [
|
|
1200
|
+
scene(["#1e3a8a", "#f472b6"], ["#4c1d95", "#312e81", "#1e1b4b"], "#fde68a"),
|
|
1201
|
+
scene(["#0f766e", "#fef3c7"], ["#065f46", "#064e3b", "#022c22"], "#fff7ed"),
|
|
1202
|
+
scene(["#7c2d12", "#fdba74"], ["#9a3412", "#7c2d12", "#431407"], "#fef08a")
|
|
1203
|
+
],
|
|
1204
|
+
children: /* @__PURE__ */ jsxs16("div", { className: "flex flex-col items-center px-6 text-center", children: [
|
|
1205
|
+
/* @__PURE__ */ jsxs16("p", { className: "bg-gradient-to-b from-white to-white/70 bg-clip-text text-[34px] leading-tight font-bold text-transparent md:text-[48px]", children: [
|
|
1206
|
+
"Agents that see",
|
|
1207
|
+
/* @__PURE__ */ jsx21("br", {}),
|
|
1208
|
+
"the whole picture"
|
|
1209
|
+
] }),
|
|
1210
|
+
/* @__PURE__ */ jsx21("span", { className: "mt-5 rounded-full border border-white/30 bg-white/10 px-4 py-2 text-[13px] text-white backdrop-blur-sm", children: "Join now \u2192" })
|
|
1211
|
+
] })
|
|
1212
|
+
};
|
|
1213
|
+
|
|
1214
|
+
// src/demo/InfiniteMovingCards.ts
|
|
1215
|
+
var infiniteMovingCardsDemo = {
|
|
1216
|
+
speed: "slow",
|
|
1217
|
+
items: [
|
|
1218
|
+
{ quote: "We replaced three internal tools with one agent panel. The approval cards alone saved our ops team hours a week.", name: "Maya Chen", title: "Head of Operations" },
|
|
1219
|
+
{ quote: "Seeing the thinking trace made our users trust the answers. Support tickets about 'wrong' results dropped by half.", name: "Daniel Okafor", title: "Product Lead" },
|
|
1220
|
+
{ quote: "The streaming text with citations is exactly what our research team asked for. It just dropped in.", name: "Priya Raman", title: "Staff Engineer" },
|
|
1221
|
+
{ quote: "Tool chips turned a wall of JSON into something people actually read.", name: "Lucas Moreau", title: "Design Engineer" },
|
|
1222
|
+
{ quote: "We shipped our agent UI in a week instead of a quarter.", name: "Sofia Alvarez", title: "CTO" }
|
|
1223
|
+
]
|
|
1224
|
+
};
|
|
1225
|
+
|
|
1226
|
+
// src/demo/LampEffect.tsx
|
|
1227
|
+
import { jsx as jsx22, jsxs as jsxs17 } from "react/jsx-runtime";
|
|
1228
|
+
var lampEffectDemo = {
|
|
1229
|
+
children: /* @__PURE__ */ jsxs17("p", { className: "bg-gradient-to-br from-white to-white/50 bg-clip-text text-[36px] leading-tight font-semibold tracking-tight text-transparent md:text-[48px]", children: [
|
|
1230
|
+
"Build agents",
|
|
1231
|
+
/* @__PURE__ */ jsx22("br", {}),
|
|
1232
|
+
"the right way"
|
|
1233
|
+
] })
|
|
1234
|
+
};
|
|
1235
|
+
|
|
1236
|
+
// src/demo/LinkPreview.ts
|
|
1237
|
+
var linkPreviewDemo = {
|
|
1238
|
+
url: "https://react.dev",
|
|
1239
|
+
children: "React",
|
|
1240
|
+
title: "React",
|
|
1241
|
+
description: "The library for web and native user interfaces."
|
|
1242
|
+
};
|
|
1243
|
+
|
|
1244
|
+
// src/demo/NavbarMenu.ts
|
|
1245
|
+
var navbarMenuDemo = {
|
|
1246
|
+
items: [
|
|
1247
|
+
{
|
|
1248
|
+
label: "Agents",
|
|
1249
|
+
links: [
|
|
1250
|
+
{ title: "Research", href: "#research", description: "Searches, reads and cites sources for you." },
|
|
1251
|
+
{ title: "Operations", href: "#operations", description: "Runs workflows across your tools." },
|
|
1252
|
+
{ title: "Support", href: "#support", description: "Answers customers with your knowledge base." },
|
|
1253
|
+
{ title: "Coding", href: "#coding", description: "Reads, edits and reviews your code." }
|
|
1254
|
+
]
|
|
1255
|
+
},
|
|
1256
|
+
{
|
|
1257
|
+
label: "Tools",
|
|
1258
|
+
links: [
|
|
1259
|
+
{ title: "Integrations", href: "#integrations" },
|
|
1260
|
+
{ title: "Approvals", href: "#approvals" },
|
|
1261
|
+
{ title: "Audit log", href: "#audit" },
|
|
1262
|
+
{ title: "API", href: "#api" }
|
|
1263
|
+
]
|
|
1264
|
+
},
|
|
1265
|
+
{
|
|
1266
|
+
label: "Pricing",
|
|
1267
|
+
links: [
|
|
1268
|
+
{ title: "Hobby", href: "#hobby" },
|
|
1269
|
+
{ title: "Team", href: "#team" },
|
|
1270
|
+
{ title: "Enterprise", href: "#enterprise" }
|
|
1271
|
+
]
|
|
1272
|
+
},
|
|
1273
|
+
{ label: "Docs", href: "#docs" }
|
|
1274
|
+
]
|
|
1275
|
+
};
|
|
1276
|
+
|
|
1277
|
+
// src/demo/Sparkles.tsx
|
|
1278
|
+
import { jsx as jsx23, jsxs as jsxs18 } from "react/jsx-runtime";
|
|
1279
|
+
var sparklesDemo = {
|
|
1280
|
+
density: 140,
|
|
1281
|
+
children: /* @__PURE__ */ jsxs18("div", { className: "flex flex-col items-center", children: [
|
|
1282
|
+
/* @__PURE__ */ jsx23("p", { className: "text-center text-[44px] font-bold tracking-tight text-ink", children: "nexi-agent" }),
|
|
1283
|
+
/* @__PURE__ */ jsxs18("div", { className: "relative mt-1 h-6 w-72", children: [
|
|
1284
|
+
/* @__PURE__ */ jsx23("div", { className: "absolute inset-x-10 top-0 h-[2px] w-3/4 bg-gradient-to-r from-transparent via-accent to-transparent blur-sm" }),
|
|
1285
|
+
/* @__PURE__ */ jsx23("div", { className: "absolute inset-x-10 top-0 h-px w-3/4 bg-gradient-to-r from-transparent via-accent to-transparent" }),
|
|
1286
|
+
/* @__PURE__ */ jsx23("div", { className: "absolute inset-x-24 top-0 h-[4px] w-1/3 bg-gradient-to-r from-transparent via-[#a78bfa] to-transparent blur-sm" })
|
|
1287
|
+
] })
|
|
1288
|
+
] })
|
|
1289
|
+
};
|
|
1290
|
+
|
|
1291
|
+
// src/demo/BackgroundBoxes.tsx
|
|
1292
|
+
import { jsx as jsx24, jsxs as jsxs19 } from "react/jsx-runtime";
|
|
1293
|
+
var backgroundBoxesDemo = {
|
|
1294
|
+
children: /* @__PURE__ */ jsxs19("div", { className: "flex max-w-lg flex-col items-center gap-3 px-6 text-center", children: [
|
|
1295
|
+
/* @__PURE__ */ jsx24("p", { className: "text-[32px] leading-tight font-bold tracking-tight text-ink", children: "Leave a trail" }),
|
|
1296
|
+
/* @__PURE__ */ jsx24("p", { className: "text-[14px] leading-relaxed text-ink-2", children: "Sweep your pointer across the floor and watch the tiles light up behind it." })
|
|
1297
|
+
] })
|
|
1298
|
+
};
|
|
1299
|
+
|
|
1300
|
+
// src/demo/BackgroundCubesGrid.tsx
|
|
1301
|
+
import { jsx as jsx25, jsxs as jsxs20 } from "react/jsx-runtime";
|
|
1302
|
+
var backgroundCubesGridDemo = {
|
|
1303
|
+
children: /* @__PURE__ */ jsxs20("div", { className: "flex max-w-lg flex-col items-center gap-3 px-6 text-center", children: [
|
|
1304
|
+
/* @__PURE__ */ jsx25("p", { className: "text-[32px] leading-tight font-bold tracking-tight text-ink", children: "Raise the floor" }),
|
|
1305
|
+
/* @__PURE__ */ jsx25("p", { className: "text-[14px] leading-relaxed text-ink-2", children: "Move your pointer over the cubes and they rise to meet it." })
|
|
1306
|
+
] })
|
|
1307
|
+
};
|
|
1308
|
+
|
|
1309
|
+
// src/demo/BackgroundGradient.tsx
|
|
1310
|
+
import { Fragment as Fragment8, jsx as jsx26, jsxs as jsxs21 } from "react/jsx-runtime";
|
|
1311
|
+
var backgroundGradientDemo = {
|
|
1312
|
+
className: "max-w-sm p-6",
|
|
1313
|
+
children: /* @__PURE__ */ jsxs21(Fragment8, { children: [
|
|
1314
|
+
/* @__PURE__ */ jsx26("div", { className: "h-36 rounded-card shadow-hairline", style: { background: "linear-gradient(135deg, var(--accent-tint), var(--inset))" } }),
|
|
1315
|
+
/* @__PURE__ */ jsx26("p", { className: "mt-5 text-[17px] font-semibold text-ink", children: "Research agent \u2014 Pro" }),
|
|
1316
|
+
/* @__PURE__ */ jsx26("p", { className: "mt-1.5 text-[13px] leading-relaxed text-ink-2", children: "Unlimited searches, longer reasoning and priority tool access for your hardest questions." }),
|
|
1317
|
+
/* @__PURE__ */ jsxs21("span", { className: "mt-4 inline-flex items-center gap-2 rounded-full bg-ink px-3 py-1 text-[12px] font-semibold text-canvas", children: [
|
|
1318
|
+
"Upgrade",
|
|
1319
|
+
/* @__PURE__ */ jsx26("span", { className: "rounded-full bg-canvas/20 px-1.5 text-[11px]", children: "$20" })
|
|
1320
|
+
] })
|
|
1321
|
+
] })
|
|
1322
|
+
};
|
|
1323
|
+
|
|
1324
|
+
// src/demo/BackgroundGradientAnimation.tsx
|
|
1325
|
+
import { jsx as jsx27, jsxs as jsxs22 } from "react/jsx-runtime";
|
|
1326
|
+
var backgroundGradientAnimationDemo = {
|
|
1327
|
+
children: /* @__PURE__ */ jsxs22("div", { className: "flex max-w-lg flex-col items-center gap-3 px-6 text-center", children: [
|
|
1328
|
+
/* @__PURE__ */ jsx27("p", { className: "text-[32px] leading-tight font-bold tracking-tight text-white", children: "Gradients that follow you" }),
|
|
1329
|
+
/* @__PURE__ */ jsx27("p", { className: "text-[14px] leading-relaxed text-white/75", children: "Move your pointer across the panel \u2014 one of the orbs comes along." })
|
|
1330
|
+
] })
|
|
1331
|
+
};
|
|
1332
|
+
|
|
1333
|
+
// src/demo/BackgroundLines.tsx
|
|
1334
|
+
import { jsx as jsx28, jsxs as jsxs23 } from "react/jsx-runtime";
|
|
1335
|
+
var backgroundLinesDemo = {
|
|
1336
|
+
children: /* @__PURE__ */ jsxs23("div", { className: "flex max-w-lg flex-col items-center gap-3 px-6 text-center", children: [
|
|
1337
|
+
/* @__PURE__ */ jsx28("p", { className: "text-[32px] leading-tight font-bold tracking-tight text-ink", children: "Every thread, traced" }),
|
|
1338
|
+
/* @__PURE__ */ jsx28("p", { className: "text-[14px] leading-relaxed text-ink-2", children: "Follow each step your agent takes, from the first search to the final answer." })
|
|
1339
|
+
] })
|
|
1340
|
+
};
|
|
1341
|
+
|
|
1342
|
+
// src/demo/BackgroundRippleEffect.tsx
|
|
1343
|
+
import { jsx as jsx29, jsxs as jsxs24 } from "react/jsx-runtime";
|
|
1344
|
+
var backgroundRippleEffectDemo = {
|
|
1345
|
+
children: /* @__PURE__ */ jsxs24("div", { className: "flex max-w-lg flex-col items-center gap-3 px-6 text-center", children: [
|
|
1346
|
+
/* @__PURE__ */ jsx29("p", { className: "text-[32px] leading-tight font-bold tracking-tight text-ink", children: "Click anywhere on the grid" }),
|
|
1347
|
+
/* @__PURE__ */ jsx29("p", { className: "text-[14px] leading-relaxed text-ink-2", children: "A ring of light spreads out from the tile you pick." })
|
|
1348
|
+
] })
|
|
1349
|
+
};
|
|
1350
|
+
|
|
1351
|
+
// src/demo/BeamsWithCollision.tsx
|
|
1352
|
+
import { jsx as jsx30, jsxs as jsxs25 } from "react/jsx-runtime";
|
|
1353
|
+
var beamsWithCollisionDemo = {
|
|
1354
|
+
count: 9,
|
|
1355
|
+
children: /* @__PURE__ */ jsxs25("p", { className: "px-6 text-center text-[30px] leading-tight font-bold tracking-tight text-ink md:text-[40px]", children: [
|
|
1356
|
+
"Every request lands",
|
|
1357
|
+
/* @__PURE__ */ jsx30("br", {}),
|
|
1358
|
+
/* @__PURE__ */ jsx30("span", { className: "bg-gradient-to-r from-accent via-[#a855f7] to-[#ec4899] bg-clip-text text-transparent", children: "somewhere useful." })
|
|
1359
|
+
] })
|
|
1360
|
+
};
|
|
1361
|
+
|
|
1362
|
+
// src/demo/DottedGlowBackground.tsx
|
|
1363
|
+
import { jsx as jsx31, jsxs as jsxs26 } from "react/jsx-runtime";
|
|
1364
|
+
var dottedGlowBackgroundDemo = {
|
|
1365
|
+
children: /* @__PURE__ */ jsxs26("div", { className: "flex max-w-lg flex-col items-center gap-3 px-6 text-center", children: [
|
|
1366
|
+
/* @__PURE__ */ jsx31("p", { className: "text-[32px] leading-tight font-bold tracking-tight text-ink", children: "Quietly alive" }),
|
|
1367
|
+
/* @__PURE__ */ jsx31("p", { className: "text-[14px] leading-relaxed text-ink-2", children: "A field of dots where a few breathe with light at their own pace." })
|
|
1368
|
+
] })
|
|
1369
|
+
};
|
|
1370
|
+
|
|
1371
|
+
// src/demo/GlowingStars.tsx
|
|
1372
|
+
import { jsx as jsx32, jsxs as jsxs27 } from "react/jsx-runtime";
|
|
1373
|
+
var glowingStarsDemo = {
|
|
1374
|
+
children: /* @__PURE__ */ jsxs27("div", { className: "flex items-end justify-between gap-4", children: [
|
|
1375
|
+
/* @__PURE__ */ jsxs27("div", { children: [
|
|
1376
|
+
/* @__PURE__ */ jsx32("p", { className: "text-[17px] font-semibold text-ink", children: "Agents that never sleep" }),
|
|
1377
|
+
/* @__PURE__ */ jsx32("p", { className: "mt-1 text-[13px] leading-relaxed text-ink-2", children: "Schedule runs overnight and wake up to finished work." })
|
|
1378
|
+
] }),
|
|
1379
|
+
/* @__PURE__ */ jsx32("span", { className: "flex size-8 shrink-0 items-center justify-center rounded-full bg-hover-2 text-ink", children: /* @__PURE__ */ jsx32("svg", { width: "14", height: "14", viewBox: "0 0 24 24", fill: "none", stroke: "currentColor", strokeWidth: "2.2", strokeLinecap: "round", strokeLinejoin: "round", "aria-hidden": true, children: /* @__PURE__ */ jsx32("path", { d: "M5 12h14M13 6l6 6-6 6" }) }) })
|
|
1380
|
+
] })
|
|
1381
|
+
};
|
|
1382
|
+
|
|
1383
|
+
// src/demo/ShootingStars.tsx
|
|
1384
|
+
import { jsx as jsx33, jsxs as jsxs28 } from "react/jsx-runtime";
|
|
1385
|
+
var shootingStarsDemo = {
|
|
1386
|
+
children: /* @__PURE__ */ jsxs28("div", { className: "flex max-w-lg flex-col items-center gap-3 px-6 text-center", children: [
|
|
1387
|
+
/* @__PURE__ */ jsx33("p", { className: "text-[32px] leading-tight font-bold tracking-tight text-white", children: "Make a wish" }),
|
|
1388
|
+
/* @__PURE__ */ jsx33("p", { className: "text-[14px] leading-relaxed text-white/75", children: "Then let your agent do the work." })
|
|
1389
|
+
] })
|
|
1390
|
+
};
|
|
1391
|
+
|
|
1392
|
+
// src/demo/Vortex.tsx
|
|
1393
|
+
import { jsx as jsx34, jsxs as jsxs29 } from "react/jsx-runtime";
|
|
1394
|
+
var vortexDemo = {
|
|
1395
|
+
children: /* @__PURE__ */ jsxs29("div", { className: "flex flex-col items-center gap-5 px-6 text-center", children: [
|
|
1396
|
+
/* @__PURE__ */ jsx34("p", { className: "text-[34px] font-bold tracking-tight text-white", children: "Into the flow" }),
|
|
1397
|
+
/* @__PURE__ */ jsx34("p", { className: "max-w-md text-[14px] text-white/70", children: "Particles swirl through a flow field drawn on a canvas, leaving trails of light." }),
|
|
1398
|
+
/* @__PURE__ */ jsx34("span", { className: "rounded-full bg-white px-4 py-2 text-[13px] font-medium text-black", children: "Start building" })
|
|
1399
|
+
] })
|
|
1400
|
+
};
|
|
1401
|
+
|
|
1402
|
+
// src/demo/WavyBackground.tsx
|
|
1403
|
+
import { jsx as jsx35, jsxs as jsxs30 } from "react/jsx-runtime";
|
|
1404
|
+
var wavyBackgroundDemo = {
|
|
1405
|
+
children: /* @__PURE__ */ jsxs30("div", { className: "flex max-w-lg flex-col items-center gap-3 px-6 text-center", children: [
|
|
1406
|
+
/* @__PURE__ */ jsx35("p", { className: "text-[32px] leading-tight font-bold tracking-tight text-ink", children: "Ride the wave" }),
|
|
1407
|
+
/* @__PURE__ */ jsx35("p", { className: "text-[14px] leading-relaxed text-ink-2", children: "Ribbons of colour drawn on a canvas \u2014 no images, no dependencies." })
|
|
1408
|
+
] })
|
|
1409
|
+
};
|
|
1410
|
+
|
|
1411
|
+
// src/demo/CanvasRevealEffect.tsx
|
|
1412
|
+
import { jsx as jsx36, jsxs as jsxs31 } from "react/jsx-runtime";
|
|
1413
|
+
var canvasRevealEffectDemo = {
|
|
1414
|
+
children: /* @__PURE__ */ jsxs31("div", { className: "flex flex-col items-center gap-2 text-center", children: [
|
|
1415
|
+
/* @__PURE__ */ jsxs31("svg", { width: "40", height: "40", viewBox: "0 0 24 24", fill: "none", stroke: "currentColor", strokeWidth: "1.6", strokeLinecap: "round", strokeLinejoin: "round", "aria-hidden": true, children: [
|
|
1416
|
+
/* @__PURE__ */ jsx36("rect", { x: "5", y: "8", width: "14", height: "11", rx: "3" }),
|
|
1417
|
+
/* @__PURE__ */ jsx36("path", { d: "M12 4v4M9 13h.01M15 13h.01" })
|
|
1418
|
+
] }),
|
|
1419
|
+
/* @__PURE__ */ jsx36("p", { className: "text-[18px] font-semibold", children: "Hover to wake the agent" })
|
|
1420
|
+
] })
|
|
1421
|
+
};
|
|
1422
|
+
|
|
1423
|
+
// src/demo/art.ts
|
|
1424
|
+
var PALETTES = [
|
|
1425
|
+
["#1e3a8a", "#6366f1", "#f472b6", "#fde68a"],
|
|
1426
|
+
["#064e3b", "#10b981", "#a7f3d0", "#fef9c3"],
|
|
1427
|
+
["#7c2d12", "#f97316", "#fdba74", "#fef3c7"],
|
|
1428
|
+
["#4c1d95", "#a855f7", "#f0abfc", "#e0e7ff"],
|
|
1429
|
+
["#0c4a6e", "#0ea5e9", "#67e8f9", "#ecfeff"],
|
|
1430
|
+
["#831843", "#ec4899", "#fda4af", "#fff1f2"]
|
|
1431
|
+
];
|
|
1432
|
+
function artImage(i, width = 600, height = 600) {
|
|
1433
|
+
const [deep, mid, light, glow] = PALETTES[i % PALETTES.length];
|
|
1434
|
+
const r = (n) => (i * 97 + n * 53) % 100 / 100;
|
|
1435
|
+
const svg = `<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 ${width} ${height}">
|
|
1436
|
+
<defs>
|
|
1437
|
+
<linearGradient id="g" x1="0" y1="0" x2="1" y2="1"><stop offset="0" stop-color="${deep}"/><stop offset="1" stop-color="${mid}"/></linearGradient>
|
|
1438
|
+
<radialGradient id="o" cx="0.5" cy="0.5" r="0.5"><stop offset="0" stop-color="${glow}"/><stop offset="1" stop-color="${glow}" stop-opacity="0"/></radialGradient>
|
|
1439
|
+
</defs>
|
|
1440
|
+
<rect width="${width}" height="${height}" fill="url(#g)"/>
|
|
1441
|
+
<circle cx="${width * (0.2 + r(1) * 0.6)}" cy="${height * (0.2 + r(2) * 0.4)}" r="${width * 0.35}" fill="url(#o)" opacity="0.7"/>
|
|
1442
|
+
<circle cx="${width * (0.3 + r(3) * 0.4)}" cy="${height * (0.5 + r(4) * 0.3)}" r="${width * (0.12 + r(5) * 0.1)}" fill="${light}" opacity="0.85"/>
|
|
1443
|
+
<rect x="${width * r(6) * 0.6}" y="${height * (0.6 + r(7) * 0.2)}" width="${width * 0.5}" height="${height * 0.08}" rx="${height * 0.04}" fill="${glow}" opacity="0.5" transform="rotate(${-20 + r(8) * 40} ${width / 2} ${height / 2})"/>
|
|
1444
|
+
</svg>`;
|
|
1445
|
+
return `data:image/svg+xml;charset=utf-8,${encodeURIComponent(svg)}`;
|
|
1446
|
+
}
|
|
1447
|
+
|
|
1448
|
+
// src/demo/ChromaticImage.tsx
|
|
1449
|
+
var chromaticImageDemo = {
|
|
1450
|
+
src: artImage(3, 800, 560),
|
|
1451
|
+
alt: "Abstract violet composition",
|
|
1452
|
+
idleSplit: 2
|
|
1453
|
+
};
|
|
1454
|
+
|
|
1455
|
+
// src/demo/GlowingEffect.tsx
|
|
1456
|
+
import { jsx as jsx37, jsxs as jsxs32 } from "react/jsx-runtime";
|
|
1457
|
+
var glowingEffectDemo = {
|
|
1458
|
+
className: "w-full max-w-sm",
|
|
1459
|
+
children: /* @__PURE__ */ jsxs32("div", { className: "relative flex h-full flex-col gap-3 rounded-[16px] bg-surface p-6 shadow-card", children: [
|
|
1460
|
+
/* @__PURE__ */ jsx37("span", { className: "flex size-9 items-center justify-center rounded-card bg-inset text-ink shadow-hairline", children: /* @__PURE__ */ jsx37("svg", { width: "16", height: "16", viewBox: "0 0 24 24", fill: "none", stroke: "currentColor", strokeWidth: "2", strokeLinecap: "round", strokeLinejoin: "round", "aria-hidden": true, children: /* @__PURE__ */ jsx37("path", { d: "M12 3v3M12 18v3M3 12h3M18 12h3M5.6 5.6l2.1 2.1M16.3 16.3l2.1 2.1M5.6 18.4l2.1-2.1M16.3 7.7l2.1-2.1" }) }) }),
|
|
1461
|
+
/* @__PURE__ */ jsx37("p", { className: "text-[17px] font-semibold text-ink", children: "Bring the pointer close" }),
|
|
1462
|
+
/* @__PURE__ */ jsx37("p", { className: "text-[13px] leading-relaxed text-ink-2", children: "The border lights up on the side facing you and follows you around the card." })
|
|
1463
|
+
] })
|
|
1464
|
+
};
|
|
1465
|
+
|
|
1466
|
+
// src/demo/ImagesBadge.tsx
|
|
1467
|
+
var imagesBadgeDemo = {
|
|
1468
|
+
images: [artImage(0, 120, 120), artImage(3, 120, 120), artImage(4, 120, 120)],
|
|
1469
|
+
children: "3 new screenshots"
|
|
1470
|
+
};
|
|
1471
|
+
|
|
1472
|
+
// src/demo/LiquidGlass.tsx
|
|
1473
|
+
import { jsx as jsx38, jsxs as jsxs33 } from "react/jsx-runtime";
|
|
1474
|
+
var liquidGlassDemo = {
|
|
1475
|
+
className: "w-72",
|
|
1476
|
+
children: /* @__PURE__ */ jsxs33("div", { className: "flex flex-col gap-1 p-6 text-white", children: [
|
|
1477
|
+
/* @__PURE__ */ jsx38("p", { className: "text-[12px] font-medium tracking-wide text-white/70 uppercase", children: "Now running" }),
|
|
1478
|
+
/* @__PURE__ */ jsx38("p", { className: "text-[20px] font-semibold", children: "Research agent" }),
|
|
1479
|
+
/* @__PURE__ */ jsx38("p", { className: "text-[13px] text-white/80", children: "Reading 42 sources, 3 min left" })
|
|
1480
|
+
] })
|
|
1481
|
+
};
|
|
1482
|
+
|
|
1483
|
+
// src/demo/ParallaxHeroImages.tsx
|
|
1484
|
+
import { jsx as jsx39, jsxs as jsxs34 } from "react/jsx-runtime";
|
|
1485
|
+
var parallaxHeroImagesDemo = {
|
|
1486
|
+
images: [
|
|
1487
|
+
{ src: artImage(0, 400, 300), x: 14, y: 26, width: 150, depth: 0.9, rotate: -8 },
|
|
1488
|
+
{ src: artImage(1, 400, 300), x: 84, y: 22, width: 130, depth: 0.6, rotate: 6 },
|
|
1489
|
+
{ src: artImage(2, 400, 300), x: 10, y: 76, width: 120, depth: 0.4, rotate: 5 },
|
|
1490
|
+
{ src: artImage(3, 400, 300), x: 88, y: 74, width: 160, depth: 1, rotate: -5 },
|
|
1491
|
+
{ src: artImage(4, 400, 300), x: 34, y: 12, width: 90, depth: 0.25, rotate: 3 },
|
|
1492
|
+
{ src: artImage(5, 400, 300), x: 66, y: 88, width: 100, depth: 0.3, rotate: -4 }
|
|
1493
|
+
],
|
|
1494
|
+
children: /* @__PURE__ */ jsxs34("div", { className: "flex flex-col items-center gap-3", children: [
|
|
1495
|
+
/* @__PURE__ */ jsxs34("p", { className: "text-[34px] leading-tight font-bold tracking-tight text-ink md:text-[46px]", children: [
|
|
1496
|
+
"Everything your agent",
|
|
1497
|
+
/* @__PURE__ */ jsx39("br", {}),
|
|
1498
|
+
"has seen, at a glance"
|
|
1499
|
+
] }),
|
|
1500
|
+
/* @__PURE__ */ jsx39("span", { className: "rounded-full bg-ink px-4 py-2 text-[13px] font-medium text-canvas", children: "Open the gallery" })
|
|
1501
|
+
] })
|
|
1502
|
+
};
|
|
1503
|
+
|
|
1504
|
+
// src/demo/Scales.tsx
|
|
1505
|
+
import { jsx as jsx40, jsxs as jsxs35 } from "react/jsx-runtime";
|
|
1506
|
+
var scalesDemo = {
|
|
1507
|
+
children: /* @__PURE__ */ jsxs35("div", { className: "flex max-w-lg flex-col items-center gap-3 px-6 text-center", children: [
|
|
1508
|
+
/* @__PURE__ */ jsx40("p", { className: "text-[32px] leading-tight font-bold tracking-tight text-ink", children: "Measure twice" }),
|
|
1509
|
+
/* @__PURE__ */ jsx40("p", { className: "text-[14px] leading-relaxed text-ink-2", children: "Rulers along the edges track your pointer, like a design canvas." })
|
|
1510
|
+
] })
|
|
1511
|
+
};
|
|
1512
|
+
|
|
1513
|
+
// src/demo/ScrollPathsEffect.tsx
|
|
1514
|
+
import { jsx as jsx41, jsxs as jsxs36 } from "react/jsx-runtime";
|
|
1515
|
+
var scrollPathsEffectDemo = {
|
|
1516
|
+
children: /* @__PURE__ */ jsxs36("div", { className: "flex flex-col items-center gap-3", children: [
|
|
1517
|
+
/* @__PURE__ */ jsx41("p", { className: "bg-gradient-to-b from-ink to-ink-3 bg-clip-text text-[36px] font-bold tracking-tight text-transparent md:text-[52px]", children: "Many inputs, one answer" }),
|
|
1518
|
+
/* @__PURE__ */ jsx41("p", { className: "max-w-md text-[14px] text-ink-2", children: "Scroll down: each source flows in and converges on a single response." })
|
|
1519
|
+
] })
|
|
1520
|
+
};
|
|
1521
|
+
|
|
1522
|
+
// src/demo/Spotlight.tsx
|
|
1523
|
+
import { jsx as jsx42, jsxs as jsxs37 } from "react/jsx-runtime";
|
|
1524
|
+
var spotlightDemo = {
|
|
1525
|
+
children: /* @__PURE__ */ jsxs37("div", { className: "flex max-w-lg flex-col items-center gap-3 px-6 text-center", children: [
|
|
1526
|
+
/* @__PURE__ */ jsx42("p", { className: "text-[32px] leading-tight font-bold tracking-tight text-ink", children: "Center stage" }),
|
|
1527
|
+
/* @__PURE__ */ jsx42("p", { className: "text-[14px] leading-relaxed text-ink-2", children: "A beam of light swings in and settles on what matters." })
|
|
1528
|
+
] })
|
|
1529
|
+
};
|
|
1530
|
+
|
|
1531
|
+
// src/demo/SpotlightNew.tsx
|
|
1532
|
+
import { jsx as jsx43, jsxs as jsxs38 } from "react/jsx-runtime";
|
|
1533
|
+
var spotlightNewDemo = {
|
|
1534
|
+
children: /* @__PURE__ */ jsxs38("div", { className: "flex max-w-lg flex-col items-center gap-3 px-6 text-center", children: [
|
|
1535
|
+
/* @__PURE__ */ jsx43("p", { className: "text-[32px] leading-tight font-bold tracking-tight text-ink", children: "Lights, agents, action" }),
|
|
1536
|
+
/* @__PURE__ */ jsx43("p", { className: "text-[14px] leading-relaxed text-ink-2", children: "Two banks of soft stage lights sway gently over your hero." })
|
|
1537
|
+
] })
|
|
1538
|
+
};
|
|
1539
|
+
|
|
1540
|
+
// src/demo/SvgMaskEffect.tsx
|
|
1541
|
+
import { jsx as jsx44, jsxs as jsxs39 } from "react/jsx-runtime";
|
|
1542
|
+
var svgMaskEffectDemo = {
|
|
1543
|
+
children: /* @__PURE__ */ jsxs39("p", { className: "max-w-2xl text-center text-[28px] leading-snug font-bold text-ink-3 md:text-[36px]", children: [
|
|
1544
|
+
"Your agent writes the ",
|
|
1545
|
+
/* @__PURE__ */ jsx44("span", { className: "text-ink", children: "first draft" }),
|
|
1546
|
+
". You keep the parts you like."
|
|
1547
|
+
] }),
|
|
1548
|
+
revealContent: /* @__PURE__ */ jsxs39("p", { className: "max-w-2xl text-center text-[28px] leading-snug font-bold md:text-[36px]", children: [
|
|
1549
|
+
"Behind every answer is ",
|
|
1550
|
+
/* @__PURE__ */ jsx44("span", { className: "text-accent", children: "a trace you can read" }),
|
|
1551
|
+
", every search and every step."
|
|
1552
|
+
] })
|
|
1553
|
+
};
|
|
1554
|
+
|
|
1555
|
+
// src/demo/TracingBeam.tsx
|
|
1556
|
+
import { jsx as jsx45, jsxs as jsxs40 } from "react/jsx-runtime";
|
|
1557
|
+
var posts = [
|
|
1558
|
+
{ badge: "Guide", title: "Designing agents people trust", body: "Show the work. A visible reasoning trace and clear approval steps do more for trust than any accuracy number." },
|
|
1559
|
+
{ badge: "Changelog", title: "Approvals now support bulk actions", body: "Approve or reject a whole batch of proposed edits at once, with a per-row override when you need it." },
|
|
1560
|
+
{ badge: "Recipe", title: "Streaming answers with citations", body: "Render tokens as they arrive and resolve citation chips the moment their source is known." }
|
|
1561
|
+
];
|
|
1562
|
+
var tracingBeamDemo = {
|
|
1563
|
+
children: /* @__PURE__ */ jsx45("div", { className: "flex flex-col gap-14 py-4", children: posts.map((p) => /* @__PURE__ */ jsxs40("article", { children: [
|
|
1564
|
+
/* @__PURE__ */ jsx45("span", { className: "rounded-full bg-ink px-2.5 py-0.5 text-[11.5px] font-medium text-canvas", children: p.badge }),
|
|
1565
|
+
/* @__PURE__ */ jsx45("h3", { className: "mt-3 text-[20px] font-semibold text-ink", children: p.title }),
|
|
1566
|
+
/* @__PURE__ */ jsx45("div", { className: "mt-3 h-40 rounded-card shadow-hairline", style: { background: "linear-gradient(135deg, var(--accent-tint), var(--inset))" } }),
|
|
1567
|
+
/* @__PURE__ */ jsx45("p", { className: "mt-3 text-[14px] leading-relaxed text-ink-2", children: p.body })
|
|
1568
|
+
] }, p.title)) })
|
|
1569
|
+
};
|
|
1570
|
+
|
|
1571
|
+
// src/demo/CardHoverEffect.ts
|
|
1572
|
+
var cardHoverEffectDemo = {
|
|
1573
|
+
items: [
|
|
1574
|
+
{ title: "Research", description: "Searches the web and your files, then answers with citations you can check.", href: "#research" },
|
|
1575
|
+
{ title: "Operations", description: "Runs multi-step workflows across your tools and asks before it changes anything.", href: "#operations" },
|
|
1576
|
+
{ title: "Support", description: "Drafts replies from your knowledge base and hands off tricky cases to a person.", href: "#support" },
|
|
1577
|
+
{ title: "Coding", description: "Reads the codebase, proposes edits as diffs and explains every change.", href: "#coding" },
|
|
1578
|
+
{ title: "Analytics", description: "Turns a plain question into a query, a chart and a one-line takeaway.", href: "#analytics" },
|
|
1579
|
+
{ title: "Sales", description: "Researches accounts and drafts follow-ups so no lead goes cold.", href: "#sales" }
|
|
1580
|
+
]
|
|
1581
|
+
};
|
|
1582
|
+
|
|
1583
|
+
// src/demo/CardStack.tsx
|
|
1584
|
+
import { jsx as jsx46, jsxs as jsxs41 } from "react/jsx-runtime";
|
|
1585
|
+
var Hl = ({ children }) => /* @__PURE__ */ jsx46("span", { className: "rounded bg-accent-tint px-1 font-semibold text-accent-ink", children });
|
|
1586
|
+
var cardStackDemo = {
|
|
1587
|
+
items: [
|
|
1588
|
+
{
|
|
1589
|
+
id: 1,
|
|
1590
|
+
name: "Maya Chen",
|
|
1591
|
+
designation: "Head of Operations",
|
|
1592
|
+
content: /* @__PURE__ */ jsxs41("p", { children: [
|
|
1593
|
+
"The approval step is the ",
|
|
1594
|
+
/* @__PURE__ */ jsx46(Hl, { children: "reason we trust it" }),
|
|
1595
|
+
". Nothing ships without a clear yes."
|
|
1596
|
+
] })
|
|
1597
|
+
},
|
|
1598
|
+
{
|
|
1599
|
+
id: 2,
|
|
1600
|
+
name: "Daniel Okafor",
|
|
1601
|
+
designation: "Product Lead",
|
|
1602
|
+
content: /* @__PURE__ */ jsxs41("p", { children: [
|
|
1603
|
+
"We went from prototype to ",
|
|
1604
|
+
/* @__PURE__ */ jsx46(Hl, { children: "production in a week" }),
|
|
1605
|
+
". The components just slotted in."
|
|
1606
|
+
] })
|
|
1607
|
+
},
|
|
1608
|
+
{
|
|
1609
|
+
id: 3,
|
|
1610
|
+
name: "Priya Raman",
|
|
1611
|
+
designation: "Staff Engineer",
|
|
1612
|
+
content: /* @__PURE__ */ jsxs41("p", { children: [
|
|
1613
|
+
"Seeing the ",
|
|
1614
|
+
/* @__PURE__ */ jsx46(Hl, { children: "thinking trace" }),
|
|
1615
|
+
" turned the agent from a black box into a colleague."
|
|
1616
|
+
] })
|
|
1617
|
+
}
|
|
1618
|
+
]
|
|
1619
|
+
};
|
|
1620
|
+
|
|
1621
|
+
// src/demo/CipherCard.tsx
|
|
1622
|
+
var cipherCardDemo = {
|
|
1623
|
+
children: "secure"
|
|
1624
|
+
};
|
|
1625
|
+
|
|
1626
|
+
// src/demo/CometCard.tsx
|
|
1627
|
+
import { jsx as jsx47, jsxs as jsxs42 } from "react/jsx-runtime";
|
|
1628
|
+
var cometCardDemo = {
|
|
1629
|
+
children: /* @__PURE__ */ jsxs42("div", { className: "flex w-72 flex-col bg-[#14141f] p-3", children: [
|
|
1630
|
+
/* @__PURE__ */ jsx47("img", { src: artImage(3, 600, 600), alt: "", className: "aspect-square w-full rounded-[12px] object-cover" }),
|
|
1631
|
+
/* @__PURE__ */ jsxs42("div", { className: "mt-3 flex items-center justify-between px-1 font-mono text-[12px] text-white/80", children: [
|
|
1632
|
+
/* @__PURE__ */ jsx47("span", { children: "Agent pass" }),
|
|
1633
|
+
/* @__PURE__ */ jsx47("span", { children: "#A-0042" })
|
|
1634
|
+
] })
|
|
1635
|
+
] })
|
|
1636
|
+
};
|
|
1637
|
+
|
|
1638
|
+
// src/demo/DraggableCards.tsx
|
|
1639
|
+
import { jsx as jsx48 } from "react/jsx-runtime";
|
|
1640
|
+
var draggableCardsDemo = {
|
|
1641
|
+
items: [
|
|
1642
|
+
{ title: "Dusk", src: artImage(0, 400, 400), x: 26, y: 34, rotate: -8 },
|
|
1643
|
+
{ title: "Evergreen", src: artImage(1, 400, 400), x: 52, y: 28, rotate: 5 },
|
|
1644
|
+
{ title: "Ember", src: artImage(2, 400, 400), x: 76, y: 38, rotate: -4 },
|
|
1645
|
+
{ title: "Violet", src: artImage(3, 400, 400), x: 36, y: 72, rotate: 7 },
|
|
1646
|
+
{ title: "Shallows", src: artImage(4, 400, 400), x: 66, y: 74, rotate: -6 }
|
|
1647
|
+
],
|
|
1648
|
+
children: /* @__PURE__ */ jsx48("p", { className: "max-w-sm text-[22px] font-bold text-ink-3", children: "Pick up a card and throw it. It'll land somewhere on the table." })
|
|
1649
|
+
};
|
|
1650
|
+
|
|
1651
|
+
// src/demo/ExpandableCard.tsx
|
|
1652
|
+
import { jsx as jsx49, jsxs as jsxs43 } from "react/jsx-runtime";
|
|
1653
|
+
var Body = ({ text }) => /* @__PURE__ */ jsxs43("div", { className: "flex flex-col gap-3", children: [
|
|
1654
|
+
/* @__PURE__ */ jsx49("p", { children: text }),
|
|
1655
|
+
/* @__PURE__ */ jsx49("p", { children: "Every run is logged with the sources it read and the tools it called, so you can see exactly how it got there." })
|
|
1656
|
+
] });
|
|
1657
|
+
var expandableCardDemo = {
|
|
1658
|
+
items: [
|
|
1659
|
+
{
|
|
1660
|
+
title: "Research agent",
|
|
1661
|
+
description: "Reads, cites, summarises",
|
|
1662
|
+
src: artImage(3, 400, 400),
|
|
1663
|
+
ctaText: "Open",
|
|
1664
|
+
content: /* @__PURE__ */ jsx49(Body, { text: "Ask a question and it searches the web and your files in parallel, then writes an answer with inline citations." })
|
|
1665
|
+
},
|
|
1666
|
+
{
|
|
1667
|
+
title: "Inbox agent",
|
|
1668
|
+
description: "Drafts replies for approval",
|
|
1669
|
+
src: artImage(4, 400, 400),
|
|
1670
|
+
ctaText: "Open",
|
|
1671
|
+
content: /* @__PURE__ */ jsx49(Body, { text: "It sorts your inbox, drafts replies in your tone and waits for your approval before anything is sent." })
|
|
1672
|
+
},
|
|
1673
|
+
{
|
|
1674
|
+
title: "Ops agent",
|
|
1675
|
+
description: "Runs your workflows",
|
|
1676
|
+
src: artImage(1, 400, 400),
|
|
1677
|
+
ctaText: "Open",
|
|
1678
|
+
content: /* @__PURE__ */ jsx49(Body, { text: "Connect your tools and describe the job. It plans the steps, runs them and asks when it needs a decision." })
|
|
1679
|
+
}
|
|
1680
|
+
]
|
|
1681
|
+
};
|
|
1682
|
+
|
|
1683
|
+
// src/demo/FocusCards.ts
|
|
1684
|
+
var focusCardsDemo = {
|
|
1685
|
+
cards: [
|
|
1686
|
+
{ title: "Dusk over the bay", src: artImage(0, 600, 800) },
|
|
1687
|
+
{ title: "Evergreen", src: artImage(1, 600, 800) },
|
|
1688
|
+
{ title: "Ember", src: artImage(2, 600, 800) },
|
|
1689
|
+
{ title: "Violet hour", src: artImage(3, 600, 800) },
|
|
1690
|
+
{ title: "Shallows", src: artImage(4, 600, 800) },
|
|
1691
|
+
{ title: "Rosewater", src: artImage(5, 600, 800) }
|
|
1692
|
+
]
|
|
1693
|
+
};
|
|
1694
|
+
|
|
1695
|
+
// src/demo/WobbleCard.tsx
|
|
1696
|
+
import { jsx as jsx50, jsxs as jsxs44 } from "react/jsx-runtime";
|
|
1697
|
+
var wobbleCardDemo = {
|
|
1698
|
+
containerClassName: "w-full max-w-2xl min-h-[300px]",
|
|
1699
|
+
children: /* @__PURE__ */ jsxs44("div", { className: "max-w-sm", children: [
|
|
1700
|
+
/* @__PURE__ */ jsx50("p", { className: "text-[24px] leading-tight font-semibold text-balance text-white md:text-[30px]", children: "Hand off the busywork. Keep the decisions." }),
|
|
1701
|
+
/* @__PURE__ */ jsx50("p", { className: "mt-4 text-[14px] leading-relaxed text-white/80", children: "Agents draft, search and file. You approve what matters with one click." })
|
|
1702
|
+
] })
|
|
1703
|
+
};
|
|
1704
|
+
|
|
1705
|
+
// src/demo/AsciiArt.ts
|
|
1706
|
+
var asciiArtDemo = {
|
|
1707
|
+
src: artImage(0, 600, 400),
|
|
1708
|
+
columns: 96
|
|
1709
|
+
};
|
|
1710
|
+
|
|
1711
|
+
// src/demo/CloudShader.tsx
|
|
1712
|
+
import { jsx as jsx51, jsxs as jsxs45 } from "react/jsx-runtime";
|
|
1713
|
+
var cloudShaderDemo = {
|
|
1714
|
+
children: /* @__PURE__ */ jsxs45("div", { className: "flex flex-col items-center gap-2 px-6 text-center", children: [
|
|
1715
|
+
/* @__PURE__ */ jsx51("p", { className: "text-[34px] font-bold tracking-tight text-white drop-shadow-sm", children: "Head in the cloud" }),
|
|
1716
|
+
/* @__PURE__ */ jsx51("p", { className: "text-[14px] text-white/85", children: "Your agents run there, so you don't have to." })
|
|
1717
|
+
] })
|
|
1718
|
+
};
|
|
1719
|
+
|
|
1720
|
+
// src/demo/DirectionAwareHover.tsx
|
|
1721
|
+
import { Fragment as Fragment9, jsx as jsx52, jsxs as jsxs46 } from "react/jsx-runtime";
|
|
1722
|
+
var directionAwareHoverDemo = {
|
|
1723
|
+
src: artImage(2, 800, 800),
|
|
1724
|
+
alt: "Abstract amber composition",
|
|
1725
|
+
children: /* @__PURE__ */ jsxs46(Fragment9, { children: [
|
|
1726
|
+
/* @__PURE__ */ jsx52("p", { className: "text-[20px] font-bold", children: "Ember study" }),
|
|
1727
|
+
/* @__PURE__ */ jsx52("p", { className: "text-[13px] text-white/80", children: "Generated by the image agent" })
|
|
1728
|
+
] })
|
|
1729
|
+
};
|
|
1730
|
+
|
|
1731
|
+
// src/demo/Keyboard.ts
|
|
1732
|
+
var keyboardDemo = {
|
|
1733
|
+
// teach a shortcut: the keys light up, and real key presses sink the keycaps
|
|
1734
|
+
highlight: ["MetaLeft", "KeyK"]
|
|
1735
|
+
};
|
|
1736
|
+
|
|
1737
|
+
// src/demo/PixelatedCanvas.ts
|
|
1738
|
+
var pixelatedCanvasDemo = {
|
|
1739
|
+
src: artImage(5, 400, 500),
|
|
1740
|
+
width: 360,
|
|
1741
|
+
height: 450,
|
|
1742
|
+
cellSize: 9
|
|
1743
|
+
};
|
|
1744
|
+
|
|
1745
|
+
// src/demo/Terminal.ts
|
|
1746
|
+
var terminalDemo = {
|
|
1747
|
+
title: "agent \u2014 zsh",
|
|
1748
|
+
loop: true,
|
|
1749
|
+
lines: [
|
|
1750
|
+
{ type: "command", text: "npm install nexi-agent" },
|
|
1751
|
+
{ type: "output", text: "added 1 package in 2s", delay: 500 },
|
|
1752
|
+
{ type: "command", text: 'agent run research --question "Q3 churn drivers"' },
|
|
1753
|
+
{ type: "output", text: "\u2192 planning 4 steps", delay: 400 },
|
|
1754
|
+
{ type: "output", text: "\u2192 searching 3 sources", delay: 350 },
|
|
1755
|
+
{ type: "output", text: "\u2192 waiting for approval: export report.csv", color: "#febc2e", delay: 450 },
|
|
1756
|
+
{ type: "output", text: "\u2713 done in 41s \u2014 6 citations", color: "#7ee787", delay: 700 }
|
|
1757
|
+
]
|
|
1758
|
+
};
|
|
1759
|
+
|
|
1760
|
+
// src/demo/TooltipCard.tsx
|
|
1761
|
+
import { Fragment as Fragment10, jsx as jsx53, jsxs as jsxs47 } from "react/jsx-runtime";
|
|
1762
|
+
var tooltipCardDemo = {
|
|
1763
|
+
children: "approval cards",
|
|
1764
|
+
content: /* @__PURE__ */ jsxs47(Fragment10, { children: [
|
|
1765
|
+
/* @__PURE__ */ jsx53("span", { className: "block font-semibold text-ink", children: "Approval cards" }),
|
|
1766
|
+
"Questions the agent asks before it acts. Nothing that writes data runs until you answer."
|
|
1767
|
+
] })
|
|
1768
|
+
};
|
|
1769
|
+
|
|
1770
|
+
// src/demo/WebcamPixelGrid.ts
|
|
1771
|
+
var webcamPixelGridDemo = {
|
|
1772
|
+
cellSize: 10,
|
|
1773
|
+
shape: "circle"
|
|
1774
|
+
};
|
|
1775
|
+
|
|
1776
|
+
// src/demo/ContainerScrollAnimation.tsx
|
|
1777
|
+
import { Fragment as Fragment11, jsx as jsx54, jsxs as jsxs48 } from "react/jsx-runtime";
|
|
1778
|
+
var containerScrollAnimationDemo = {
|
|
1779
|
+
title: /* @__PURE__ */ jsxs48(Fragment11, { children: [
|
|
1780
|
+
/* @__PURE__ */ jsx54("p", { className: "text-[20px] font-semibold text-ink-2", children: "Meet your new workspace" }),
|
|
1781
|
+
/* @__PURE__ */ jsx54("p", { className: "mt-1 text-[44px] leading-none font-bold tracking-tight text-ink md:text-[72px]", children: "Agent Studio" })
|
|
1782
|
+
] }),
|
|
1783
|
+
children: /* @__PURE__ */ jsx54("img", { src: artImage(0, 1400, 900), alt: "", className: "h-full w-full object-cover", draggable: false })
|
|
1784
|
+
};
|
|
1785
|
+
|
|
1786
|
+
// src/demo/HeroHighlight.tsx
|
|
1787
|
+
import { jsx as jsx55, jsxs as jsxs49 } from "react/jsx-runtime";
|
|
1788
|
+
var highlightDemo = {
|
|
1789
|
+
children: "shows its work."
|
|
1790
|
+
};
|
|
1791
|
+
var heroHighlightDemo = {
|
|
1792
|
+
children: /* @__PURE__ */ jsxs49("p", { className: "mx-auto max-w-3xl text-center text-[28px] leading-snug font-bold text-ink md:text-[40px]", children: [
|
|
1793
|
+
"The best agent isn't the one that never makes mistakes. It's the one that ",
|
|
1794
|
+
/* @__PURE__ */ jsx55(Highlight, { ...highlightDemo })
|
|
1795
|
+
] })
|
|
1796
|
+
};
|
|
1797
|
+
|
|
1798
|
+
// src/demo/HeroParallax.tsx
|
|
1799
|
+
import { Fragment as Fragment12, jsx as jsx56, jsxs as jsxs50 } from "react/jsx-runtime";
|
|
1800
|
+
var names = ["Research", "Inbox", "Ops", "Coding", "Analytics", "Sales", "Support", "Docs", "Hiring", "Finance", "Legal", "Design", "QA", "Data", "Growth"];
|
|
1801
|
+
var heroParallaxDemo = {
|
|
1802
|
+
products: names.map((title, i) => ({ title: `${title} agent`, thumbnail: artImage(i, 640, 480), href: `#${title.toLowerCase()}` })),
|
|
1803
|
+
children: /* @__PURE__ */ jsxs50(Fragment12, { children: [
|
|
1804
|
+
/* @__PURE__ */ jsxs50("p", { className: "text-[38px] leading-tight font-bold tracking-tight text-ink md:text-[60px]", children: [
|
|
1805
|
+
"One studio,",
|
|
1806
|
+
/* @__PURE__ */ jsx56("br", {}),
|
|
1807
|
+
"fifteen agents"
|
|
1808
|
+
] }),
|
|
1809
|
+
/* @__PURE__ */ jsx56("p", { className: "mt-6 max-w-xl text-[15px] leading-relaxed text-ink-2", children: "Each one does a single job well, shows its work and asks before it acts. Start with one; add the rest when you're ready." })
|
|
1810
|
+
] })
|
|
1811
|
+
};
|
|
1812
|
+
|
|
1813
|
+
// src/demo/LaptopScroll.tsx
|
|
1814
|
+
import { jsx as jsx57, jsxs as jsxs51 } from "react/jsx-runtime";
|
|
1815
|
+
var laptopScrollDemo = {
|
|
1816
|
+
src: artImage(4, 1200, 760),
|
|
1817
|
+
title: /* @__PURE__ */ jsxs51("p", { className: "text-[30px] leading-tight font-bold tracking-tight text-ink md:text-[42px]", children: [
|
|
1818
|
+
"Open the lid.",
|
|
1819
|
+
/* @__PURE__ */ jsx57("br", {}),
|
|
1820
|
+
"Your agent is already working."
|
|
1821
|
+
] }),
|
|
1822
|
+
badge: /* @__PURE__ */ jsx57("span", { className: "text-[9px] font-semibold tracking-widest text-[#555] uppercase", children: "nexi" })
|
|
1823
|
+
};
|
|
1824
|
+
|
|
1825
|
+
// src/demo/ParallaxScroll.ts
|
|
1826
|
+
var parallaxScrollDemo = {
|
|
1827
|
+
images: Array.from({ length: 12 }, (_, i) => artImage(i, 600, 700))
|
|
1828
|
+
};
|
|
1829
|
+
|
|
1830
|
+
// src/demo/StickyScrollReveal.tsx
|
|
1831
|
+
import { jsx as jsx58 } from "react/jsx-runtime";
|
|
1832
|
+
var Panel2 = ({ label }) => /* @__PURE__ */ jsx58("div", { className: "flex h-full w-full items-center justify-center p-6 text-center text-[18px] font-semibold text-white", children: label });
|
|
1833
|
+
var stickyScrollRevealDemo = {
|
|
1834
|
+
items: [
|
|
1835
|
+
{
|
|
1836
|
+
title: "Plan",
|
|
1837
|
+
description: "Describe the outcome you want. The agent breaks it into steps, picks the tools it needs and shows you the plan before it starts.",
|
|
1838
|
+
content: /* @__PURE__ */ jsx58(Panel2, { label: "Step-by-step plan" })
|
|
1839
|
+
},
|
|
1840
|
+
{
|
|
1841
|
+
title: "Research",
|
|
1842
|
+
description: "It searches the web and your own files in parallel, keeps track of every source and notes where each fact came from.",
|
|
1843
|
+
content: /* @__PURE__ */ jsx58(Panel2, { label: "Sources, cited" })
|
|
1844
|
+
},
|
|
1845
|
+
{
|
|
1846
|
+
title: "Act",
|
|
1847
|
+
description: "When a step would change something, it stops and asks. You approve, edit or reject, and it carries on from there.",
|
|
1848
|
+
content: /* @__PURE__ */ jsx58(Panel2, { label: "Approve before acting" })
|
|
1849
|
+
},
|
|
1850
|
+
{
|
|
1851
|
+
title: "Report",
|
|
1852
|
+
description: "You get a short answer up top, the full working underneath, and a log of every tool call for later.",
|
|
1853
|
+
content: /* @__PURE__ */ jsx58(Panel2, { label: "Answer + full trace" })
|
|
1854
|
+
}
|
|
1855
|
+
]
|
|
1856
|
+
};
|
|
1857
|
+
|
|
1858
|
+
// src/demo/TextHoverEffect.ts
|
|
1859
|
+
var textHoverEffectDemo = {
|
|
1860
|
+
text: "NEXI"
|
|
1861
|
+
};
|
|
1862
|
+
|
|
1863
|
+
// src/demo/CanvasText.ts
|
|
1864
|
+
var canvasTextDemo = {
|
|
1865
|
+
text: "LIVE",
|
|
1866
|
+
height: 180
|
|
1867
|
+
};
|
|
1868
|
+
|
|
1869
|
+
// src/demo/ColourfulText.ts
|
|
1870
|
+
var colourfulTextDemo = {
|
|
1871
|
+
text: "every colour of the run",
|
|
1872
|
+
className: "text-[34px] font-bold tracking-tight md:text-[48px]"
|
|
1873
|
+
};
|
|
1874
|
+
|
|
1875
|
+
// src/demo/ContainerTextFlip.ts
|
|
1876
|
+
var containerTextFlipDemo = {
|
|
1877
|
+
words: ["faster", "clearer", "safer", "together"],
|
|
1878
|
+
textClassName: "text-[32px] font-bold tracking-tight text-ink md:text-[44px]"
|
|
1879
|
+
};
|
|
1880
|
+
|
|
1881
|
+
// src/demo/LayoutTextFlip.ts
|
|
1882
|
+
var layoutTextFlipDemo = {
|
|
1883
|
+
text: "Agents that",
|
|
1884
|
+
words: ["research", "draft replies", "reconcile invoices", "ask first"]
|
|
1885
|
+
};
|
|
1886
|
+
|
|
1887
|
+
// src/demo/SquigglyText.tsx
|
|
1888
|
+
var squigglyTextDemo = {
|
|
1889
|
+
className: "text-[44px] font-black tracking-tight text-ink md:text-[64px]",
|
|
1890
|
+
children: "work in progress"
|
|
1891
|
+
};
|
|
1892
|
+
|
|
1893
|
+
// src/demo/TextFlippingBoard.ts
|
|
1894
|
+
var textFlippingBoardDemo = {
|
|
1895
|
+
columns: 16,
|
|
1896
|
+
rows: 2,
|
|
1897
|
+
messages: ["RESEARCH AGENT ON TIME", "INBOX AGENT BOARDING", "OPS AGENT DONE 14:02", "CODING AGENT DELAYED"]
|
|
1898
|
+
};
|
|
1899
|
+
|
|
1900
|
+
// src/demo/TextRevealCard.tsx
|
|
1901
|
+
import { Fragment as Fragment13, jsx as jsx59, jsxs as jsxs52 } from "react/jsx-runtime";
|
|
1902
|
+
var textRevealCardDemo = {
|
|
1903
|
+
text: "It just answers.",
|
|
1904
|
+
revealText: "It shows its work.",
|
|
1905
|
+
children: /* @__PURE__ */ jsxs52(Fragment13, { children: [
|
|
1906
|
+
/* @__PURE__ */ jsx59("p", { className: "text-[17px] font-semibold text-white", children: "Look closer" }),
|
|
1907
|
+
/* @__PURE__ */ jsx59("p", { className: "mt-1 text-[13px] text-white/55", children: "Move your pointer across the line below." })
|
|
1908
|
+
] })
|
|
1909
|
+
};
|
|
1910
|
+
|
|
1911
|
+
// src/demo/DitherShader.ts
|
|
1912
|
+
var ditherShaderDemo = {
|
|
1913
|
+
label: "A dithered plasma field",
|
|
1914
|
+
height: 300,
|
|
1915
|
+
pixelSize: 4
|
|
1916
|
+
};
|
|
1917
|
+
|
|
1918
|
+
// src/demo/EffectButton.ts
|
|
1919
|
+
var effectButtonDemo = {
|
|
1920
|
+
variant: "shimmer",
|
|
1921
|
+
children: "Run agent"
|
|
1922
|
+
};
|
|
1923
|
+
|
|
1924
|
+
// src/demo/FloatingNavbar.tsx
|
|
1925
|
+
import { jsx as jsx60 } from "react/jsx-runtime";
|
|
1926
|
+
var floatingNavbarDemo = {
|
|
1927
|
+
fixed: false,
|
|
1928
|
+
activeHref: "#agents",
|
|
1929
|
+
items: [
|
|
1930
|
+
{ label: "Agents", href: "#agents" },
|
|
1931
|
+
{ label: "Runs", href: "#runs" },
|
|
1932
|
+
{ label: "Tools", href: "#tools" },
|
|
1933
|
+
{ label: "Docs", href: "#docs" }
|
|
1934
|
+
],
|
|
1935
|
+
action: /* @__PURE__ */ jsx60("button", { type: "button", className: "rounded-full bg-[var(--ink)] px-3.5 py-1.5 text-[12.5px] font-semibold text-[var(--page)]", children: "Sign in" })
|
|
1936
|
+
};
|
|
1937
|
+
|
|
1938
|
+
// src/demo/GooeyInput.ts
|
|
1939
|
+
var gooeyInputDemo = {
|
|
1940
|
+
width: 300,
|
|
1941
|
+
labels: { placeholder: "Search runs, agents, tools\u2026" }
|
|
1942
|
+
};
|
|
1943
|
+
|
|
1944
|
+
// src/demo/ImageGenerationLoader.ts
|
|
1945
|
+
var imageGenerationLoaderDemo = {
|
|
1946
|
+
src: artImage(3, 800, 800),
|
|
1947
|
+
alt: "Abstract violet artwork",
|
|
1948
|
+
loop: true,
|
|
1949
|
+
className: "max-w-sm"
|
|
1950
|
+
};
|
|
1951
|
+
|
|
1952
|
+
// src/demo/MagneticButton.ts
|
|
1953
|
+
var magneticButtonDemo = {
|
|
1954
|
+
children: "Start a run"
|
|
1955
|
+
};
|
|
1956
|
+
|
|
1957
|
+
// src/demo/NoiseBackground.tsx
|
|
1958
|
+
import { Fragment as Fragment14, jsx as jsx61, jsxs as jsxs53 } from "react/jsx-runtime";
|
|
1959
|
+
var noiseBackgroundDemo = {
|
|
1960
|
+
className: "w-full",
|
|
1961
|
+
innerClassName: "flex min-h-[240px] flex-col items-center justify-center gap-2 p-8 text-center",
|
|
1962
|
+
children: /* @__PURE__ */ jsxs53(Fragment14, { children: [
|
|
1963
|
+
/* @__PURE__ */ jsx61("p", { className: "text-[24px] font-bold tracking-tight text-white", children: "Quiet colour, a little texture" }),
|
|
1964
|
+
/* @__PURE__ */ jsx61("p", { className: "max-w-sm text-[13.5px] text-white/70", children: "Drifting washes under film grain, for heroes, cards and empty states." })
|
|
1965
|
+
] })
|
|
1966
|
+
};
|
|
1967
|
+
|
|
1968
|
+
// src/demo/Notch.tsx
|
|
1969
|
+
import { Fragment as Fragment15, jsx as jsx62, jsxs as jsxs54 } from "react/jsx-runtime";
|
|
1970
|
+
var notchDemo = {
|
|
1971
|
+
collapsed: /* @__PURE__ */ jsxs54(Fragment15, { children: [
|
|
1972
|
+
/* @__PURE__ */ jsx62("span", { className: "h-2 w-2 rounded-full bg-[#34d399] shadow-[0_0_8px_#34d399]" }),
|
|
1973
|
+
"Agent running",
|
|
1974
|
+
/* @__PURE__ */ jsx62("span", { className: "font-mono text-white/55", children: "02:14" })
|
|
1975
|
+
] }),
|
|
1976
|
+
children: /* @__PURE__ */ jsxs54("div", { className: "flex h-full flex-col justify-between", children: [
|
|
1977
|
+
/* @__PURE__ */ jsxs54("div", { className: "flex items-start justify-between gap-3", children: [
|
|
1978
|
+
/* @__PURE__ */ jsxs54("div", { children: [
|
|
1979
|
+
/* @__PURE__ */ jsx62("p", { className: "text-[11px] tracking-wide text-white/50 uppercase", children: "Research agent" }),
|
|
1980
|
+
/* @__PURE__ */ jsx62("p", { className: "mt-1 text-[15px] font-semibold", children: "Comparing six vendor contracts" })
|
|
1981
|
+
] }),
|
|
1982
|
+
/* @__PURE__ */ jsx62("span", { className: "rounded-full bg-white/10 px-2 py-0.5 font-mono text-[11px] text-white/70", children: "4 / 6" })
|
|
1983
|
+
] }),
|
|
1984
|
+
/* @__PURE__ */ jsxs54("div", { children: [
|
|
1985
|
+
/* @__PURE__ */ jsx62("div", { className: "h-1.5 overflow-hidden rounded-full bg-white/10", children: /* @__PURE__ */ jsx62("div", { className: "h-full w-2/3 rounded-full bg-[linear-gradient(90deg,#34d399,#22d3ee)]" }) }),
|
|
1986
|
+
/* @__PURE__ */ jsx62("p", { className: "mt-2 text-[12px] text-white/55", children: "Reading renewal terms in Northwind_MSA.pdf" })
|
|
1987
|
+
] })
|
|
1988
|
+
] })
|
|
1989
|
+
};
|
|
1990
|
+
|
|
1991
|
+
// src/demo/ResizableNavbar.tsx
|
|
1992
|
+
import { Fragment as Fragment16, jsx as jsx63, jsxs as jsxs55 } from "react/jsx-runtime";
|
|
1993
|
+
var resizableNavbarDemo = {
|
|
1994
|
+
logo: /* @__PURE__ */ jsxs55("span", { className: "flex items-center gap-2 text-[14px] font-bold text-ink", children: [
|
|
1995
|
+
/* @__PURE__ */ jsx63("span", { className: "h-6 w-6 rounded-[7px] bg-[linear-gradient(135deg,#6366f1,#ec4899)]" }),
|
|
1996
|
+
"Relay"
|
|
1997
|
+
] }),
|
|
1998
|
+
items: [
|
|
1999
|
+
{ label: "Product", href: "#product" },
|
|
2000
|
+
{ label: "Agents", href: "#agents" },
|
|
2001
|
+
{ label: "Pricing", href: "#pricing" },
|
|
2002
|
+
{ label: "Changelog", href: "#changelog" }
|
|
2003
|
+
],
|
|
2004
|
+
actions: /* @__PURE__ */ jsxs55(Fragment16, { children: [
|
|
2005
|
+
/* @__PURE__ */ jsx63("button", { type: "button", className: "rounded-full px-3.5 py-1.5 text-[13px] font-medium text-ink-2 hover:text-ink", children: "Log in" }),
|
|
2006
|
+
/* @__PURE__ */ jsx63("button", { type: "button", className: "rounded-full bg-[var(--ink)] px-4 py-1.5 text-[13px] font-semibold text-[var(--page)]", children: "Try it free" })
|
|
2007
|
+
] })
|
|
2008
|
+
};
|
|
2009
|
+
|
|
2010
|
+
// src/demo/SignupForm.tsx
|
|
2011
|
+
import { jsx as jsx64 } from "react/jsx-runtime";
|
|
2012
|
+
var mark = (d) => /* @__PURE__ */ jsx64("svg", { viewBox: "0 0 16 16", className: "h-4 w-4", fill: "none", stroke: "currentColor", strokeWidth: "1.6", strokeLinecap: "round", strokeLinejoin: "round", children: /* @__PURE__ */ jsx64("path", { d }) });
|
|
2013
|
+
var signupFormDemo = {
|
|
2014
|
+
title: "Create your workspace",
|
|
2015
|
+
description: "Set up a home for your agents. You can invite the team once you're in.",
|
|
2016
|
+
providers: [
|
|
2017
|
+
{ id: "sso", label: "Continue with company SSO", icon: mark("M4 7V5a4 4 0 0 1 8 0v2M3 7h10v7H3z") },
|
|
2018
|
+
{ id: "passkey", label: "Continue with a passkey", icon: mark("M10 6a3 3 0 1 1-3-3 3 3 0 0 1 3 3zM8.5 8.5 13 13m-2-2 1.5-1.5") }
|
|
2019
|
+
],
|
|
2020
|
+
footer: "By creating an account you agree to the workspace terms."
|
|
2021
|
+
};
|
|
2022
|
+
var glowInputDemo = {
|
|
2023
|
+
type: "email",
|
|
2024
|
+
placeholder: "you@company.com",
|
|
2025
|
+
"aria-label": "Email"
|
|
2026
|
+
};
|
|
2027
|
+
|
|
2028
|
+
// src/demo/StickyBanner.tsx
|
|
2029
|
+
import { jsx as jsx65, jsxs as jsxs56 } from "react/jsx-runtime";
|
|
2030
|
+
var stickyBannerDemo = {
|
|
2031
|
+
children: /* @__PURE__ */ jsxs56("span", { children: [
|
|
2032
|
+
"Agents can now hand work to each other.",
|
|
2033
|
+
" ",
|
|
2034
|
+
/* @__PURE__ */ jsx65("a", { href: "#handoffs", className: "font-semibold underline underline-offset-2", children: "See how handoffs work" })
|
|
2035
|
+
] })
|
|
2036
|
+
};
|
|
2037
|
+
|
|
2038
|
+
// src/demo/ArcGlobe.ts
|
|
2039
|
+
var city = {
|
|
2040
|
+
sf: { lat: 37.8, lng: -122.4, label: "San Francisco" },
|
|
2041
|
+
ny: { lat: 40.7, lng: -74, label: "New York" },
|
|
2042
|
+
sp: { lat: -23.5, lng: -46.6, label: "S\xE3o Paulo" },
|
|
2043
|
+
ld: { lat: 51.5, lng: -0.1, label: "London" },
|
|
2044
|
+
ng: { lat: 6.5, lng: 3.4, label: "Lagos" },
|
|
2045
|
+
bl: { lat: 12.97, lng: 77.6, label: "Bengaluru" },
|
|
2046
|
+
sg: { lat: 1.35, lng: 103.8, label: "Singapore" },
|
|
2047
|
+
tk: { lat: 35.7, lng: 139.7, label: "Tokyo" },
|
|
2048
|
+
sy: { lat: -33.9, lng: 151.2, label: "Sydney" }
|
|
2049
|
+
};
|
|
2050
|
+
var arcGlobeDemo = {
|
|
2051
|
+
label: "Agent traffic between regions",
|
|
2052
|
+
arcs: [
|
|
2053
|
+
{ from: city.sf, to: city.ld },
|
|
2054
|
+
{ from: city.ny, to: city.sp },
|
|
2055
|
+
{ from: city.ld, to: city.bl },
|
|
2056
|
+
{ from: city.ld, to: city.ng },
|
|
2057
|
+
{ from: city.bl, to: city.sg },
|
|
2058
|
+
{ from: city.sg, to: city.tk },
|
|
2059
|
+
{ from: city.sg, to: city.sy },
|
|
2060
|
+
{ from: city.tk, to: city.sf }
|
|
2061
|
+
]
|
|
2062
|
+
};
|
|
2063
|
+
|
|
2064
|
+
// src/demo/Carousel3D.ts
|
|
2065
|
+
var carousel3DDemo = {
|
|
2066
|
+
slides: [
|
|
2067
|
+
{ src: artImage(0, 800, 880), title: "Research that cites its sources", action: "See an example" },
|
|
2068
|
+
{ src: artImage(1, 800, 880), title: "Inbox triage while you sleep", action: "See an example" },
|
|
2069
|
+
{ src: artImage(2, 800, 880), title: "Invoices reconciled to the cent", action: "See an example" },
|
|
2070
|
+
{ src: artImage(3, 800, 880), title: "Reports drafted from raw data", action: "See an example" },
|
|
2071
|
+
{ src: artImage(4, 800, 880), title: "Code reviewed before you wake", action: "See an example" }
|
|
2072
|
+
]
|
|
2073
|
+
};
|
|
2074
|
+
|
|
2075
|
+
// src/demo/Compare.ts
|
|
2076
|
+
var compareDemo = {
|
|
2077
|
+
before: artImage(4, 1200, 750),
|
|
2078
|
+
after: artImage(3, 1200, 750),
|
|
2079
|
+
autoplay: true,
|
|
2080
|
+
labels: { before: "Draft", after: "Final" }
|
|
2081
|
+
};
|
|
2082
|
+
|
|
2083
|
+
// src/demo/ContainerCover.ts
|
|
2084
|
+
var containerCoverDemo = {
|
|
2085
|
+
children: "warp speed"
|
|
2086
|
+
};
|
|
2087
|
+
|
|
2088
|
+
// src/demo/FollowingPointer.tsx
|
|
2089
|
+
import { jsx as jsx66, jsxs as jsxs57 } from "react/jsx-runtime";
|
|
2090
|
+
var followingPointerDemo = {
|
|
2091
|
+
label: "Research agent",
|
|
2092
|
+
className: "w-full max-w-sm",
|
|
2093
|
+
children: /* @__PURE__ */ jsxs57("div", { className: "overflow-hidden rounded-window bg-[var(--surface)] shadow-card", children: [
|
|
2094
|
+
/* @__PURE__ */ jsx66("img", { src: artImage(5, 800, 450), alt: "", className: "aspect-video w-full object-cover" }),
|
|
2095
|
+
/* @__PURE__ */ jsxs57("div", { className: "p-5", children: [
|
|
2096
|
+
/* @__PURE__ */ jsx66("p", { className: "text-[15px] font-semibold text-ink", children: "Q3 market scan" }),
|
|
2097
|
+
/* @__PURE__ */ jsx66("p", { className: "mt-1 text-[13px] leading-relaxed text-ink-2", children: "The agent is reading alongside you. Move your pointer over the card." })
|
|
2098
|
+
] })
|
|
2099
|
+
] })
|
|
2100
|
+
};
|
|
2101
|
+
|
|
2102
|
+
// src/demo/Globe.ts
|
|
2103
|
+
var globeDemo = {
|
|
2104
|
+
label: "Regions with running agents",
|
|
2105
|
+
markers: [
|
|
2106
|
+
{ lat: 37.8, lng: -122.4, size: 1.4 },
|
|
2107
|
+
{ lat: 40.7, lng: -74 },
|
|
2108
|
+
{ lat: 51.5, lng: -0.1, size: 1.2 },
|
|
2109
|
+
{ lat: 52.5, lng: 13.4, size: 0.7 },
|
|
2110
|
+
{ lat: 12.97, lng: 77.6 },
|
|
2111
|
+
{ lat: 1.35, lng: 103.8, size: 0.8 },
|
|
2112
|
+
{ lat: 35.7, lng: 139.7, size: 1.1 },
|
|
2113
|
+
{ lat: -23.5, lng: -46.6, size: 0.8 },
|
|
2114
|
+
{ lat: -33.9, lng: 151.2, size: 0.7 }
|
|
2115
|
+
]
|
|
2116
|
+
};
|
|
2117
|
+
|
|
2118
|
+
// src/demo/LayoutGrid.tsx
|
|
2119
|
+
import { Fragment as Fragment17, jsx as jsx67, jsxs as jsxs58 } from "react/jsx-runtime";
|
|
2120
|
+
var story = (title, body) => /* @__PURE__ */ jsxs58(Fragment17, { children: [
|
|
2121
|
+
/* @__PURE__ */ jsx67("p", { className: "text-[22px] font-bold tracking-tight", children: title }),
|
|
2122
|
+
/* @__PURE__ */ jsx67("p", { className: "mt-2 max-w-md text-[14px] leading-relaxed text-white/75", children: body })
|
|
2123
|
+
] });
|
|
2124
|
+
var layoutGridDemo = {
|
|
2125
|
+
cards: [
|
|
2126
|
+
{ src: artImage(0, 900, 600), alt: "Research", span: "wide", content: story("Research", "Reads forty sources, keeps the six that matter, and shows you exactly where each claim came from.") },
|
|
2127
|
+
{ src: artImage(1, 600, 600), alt: "Inbox", content: story("Inbox", "Sorts, drafts and flags. Nothing is sent until you say so.") },
|
|
2128
|
+
{ src: artImage(2, 600, 600), alt: "Finance", content: story("Finance", "Matches every invoice to a payment and explains the ones that don't line up.") },
|
|
2129
|
+
{ src: artImage(3, 900, 600), alt: "Engineering", span: "wide", content: story("Engineering", "Opens pull requests with tests, then waits for a human to approve the merge.") }
|
|
2130
|
+
]
|
|
2131
|
+
};
|
|
2132
|
+
|
|
2133
|
+
// src/demo/Lens.tsx
|
|
2134
|
+
import { jsx as jsx68 } from "react/jsx-runtime";
|
|
2135
|
+
var lensDemo = {
|
|
2136
|
+
className: "w-full max-w-md rounded-window",
|
|
2137
|
+
children: /* @__PURE__ */ jsx68("img", { src: artImage(1, 900, 600), alt: "Abstract green artwork", className: "block aspect-[3/2] w-full object-cover" })
|
|
2138
|
+
};
|
|
2139
|
+
|
|
2140
|
+
// src/demo/Marquee3D.ts
|
|
2141
|
+
var marquee3DDemo = {
|
|
2142
|
+
images: Array.from({ length: 20 }, (_, i) => artImage(i, 480, 360)),
|
|
2143
|
+
height: 480
|
|
2144
|
+
};
|
|
2145
|
+
|
|
2146
|
+
// src/demo/Pin3D.tsx
|
|
2147
|
+
import { jsx as jsx69, jsxs as jsxs59 } from "react/jsx-runtime";
|
|
2148
|
+
var pin3DDemo = {
|
|
2149
|
+
title: "/agents/research",
|
|
2150
|
+
href: "#research",
|
|
2151
|
+
children: /* @__PURE__ */ jsxs59("div", { className: "flex w-[17rem] flex-col", children: [
|
|
2152
|
+
/* @__PURE__ */ jsx69("p", { className: "text-[15px] font-semibold", children: "Research agent" }),
|
|
2153
|
+
/* @__PURE__ */ jsx69("p", { className: "mt-1 text-[12.5px] leading-relaxed text-white/60", children: "Finds, reads and cites. Pinned to your workspace." }),
|
|
2154
|
+
/* @__PURE__ */ jsx69("img", { src: artImage(4, 600, 380), alt: "", className: "mt-4 aspect-[16/10] w-full rounded-[10px] object-cover" })
|
|
2155
|
+
] })
|
|
2156
|
+
};
|
|
2157
|
+
|
|
2158
|
+
// src/demo/PointerHighlight.ts
|
|
2159
|
+
var pointerHighlightDemo = {
|
|
2160
|
+
children: "every step it took"
|
|
2161
|
+
};
|
|
2162
|
+
|
|
2163
|
+
// src/demo/WorldMap.ts
|
|
2164
|
+
var city2 = {
|
|
2165
|
+
sf: { lat: 37.8, lng: -122.4, label: "San Francisco" },
|
|
2166
|
+
ny: { lat: 40.7, lng: -74, label: "New York" },
|
|
2167
|
+
sp: { lat: -23.5, lng: -46.6, label: "S\xE3o Paulo" },
|
|
2168
|
+
ld: { lat: 51.5, lng: -0.1, label: "London" },
|
|
2169
|
+
ng: { lat: 6.5, lng: 3.4, label: "Lagos" },
|
|
2170
|
+
bl: { lat: 12.97, lng: 77.6, label: "Bengaluru" },
|
|
2171
|
+
sg: { lat: 1.35, lng: 103.8, label: "Singapore" },
|
|
2172
|
+
tk: { lat: 35.7, lng: 139.7, label: "Tokyo" },
|
|
2173
|
+
sy: { lat: -33.9, lng: 151.2, label: "Sydney" }
|
|
2174
|
+
};
|
|
2175
|
+
var worldMapDemo = {
|
|
2176
|
+
connections: [
|
|
2177
|
+
{ from: city2.sf, to: city2.ld },
|
|
2178
|
+
{ from: city2.ld, to: city2.bl },
|
|
2179
|
+
{ from: city2.bl, to: city2.sg },
|
|
2180
|
+
{ from: city2.sg, to: city2.sy },
|
|
2181
|
+
{ from: city2.ny, to: city2.sp },
|
|
2182
|
+
{ from: city2.ld, to: city2.ng },
|
|
2183
|
+
{ from: city2.sg, to: city2.tk }
|
|
2184
|
+
]
|
|
2185
|
+
};
|
|
826
2186
|
export {
|
|
827
2187
|
agentScreenDemo,
|
|
2188
|
+
animatedModalDemo,
|
|
2189
|
+
animatedTabsDemo,
|
|
2190
|
+
animatedTestimonialsDemo,
|
|
2191
|
+
animatedTooltipDemo,
|
|
828
2192
|
approvalCardDemo,
|
|
2193
|
+
arcGlobeDemo,
|
|
2194
|
+
asciiArtDemo,
|
|
2195
|
+
auroraBackgroundDemo,
|
|
2196
|
+
backgroundBeamsDemo,
|
|
2197
|
+
backgroundBoxesDemo,
|
|
2198
|
+
backgroundCubesGridDemo,
|
|
2199
|
+
backgroundGradientAnimationDemo,
|
|
2200
|
+
backgroundGradientDemo,
|
|
2201
|
+
backgroundLinesDemo,
|
|
2202
|
+
backgroundRippleEffectDemo,
|
|
2203
|
+
beamsWithCollisionDemo,
|
|
2204
|
+
bentoGridDemo,
|
|
2205
|
+
bentoGridItemDemo,
|
|
2206
|
+
canvasRevealEffectDemo,
|
|
2207
|
+
canvasTextDemo,
|
|
2208
|
+
card3DDemo,
|
|
2209
|
+
card3DItemDemo,
|
|
2210
|
+
cardHoverEffectDemo,
|
|
2211
|
+
cardStackDemo,
|
|
2212
|
+
cardsCarouselDemo,
|
|
2213
|
+
carousel3DDemo,
|
|
829
2214
|
chatComposerDemo,
|
|
2215
|
+
chromaticImageDemo,
|
|
2216
|
+
cipherCardDemo,
|
|
2217
|
+
cloudShaderDemo,
|
|
830
2218
|
codeBlockDemo,
|
|
2219
|
+
colourfulTextDemo,
|
|
2220
|
+
cometCardDemo,
|
|
2221
|
+
compareDemo,
|
|
2222
|
+
containerCoverDemo,
|
|
2223
|
+
containerScrollAnimationDemo,
|
|
2224
|
+
containerTextFlipDemo,
|
|
831
2225
|
contextCardsDemo,
|
|
832
2226
|
dialogDemo,
|
|
833
2227
|
diffTableDemo,
|
|
2228
|
+
directionAwareHoverDemo,
|
|
2229
|
+
ditherShaderDemo,
|
|
2230
|
+
dottedGlowBackgroundDemo,
|
|
2231
|
+
draggableCardsDemo,
|
|
2232
|
+
effectButtonDemo,
|
|
834
2233
|
emptyStateDemo,
|
|
2234
|
+
encryptedTextDemo,
|
|
835
2235
|
errorStateDemo,
|
|
2236
|
+
expandableCardDemo,
|
|
2237
|
+
fileUploadDemo,
|
|
836
2238
|
filterTableDemo,
|
|
837
2239
|
fineTuneCardDemo,
|
|
2240
|
+
flipWordsDemo,
|
|
2241
|
+
floatingDockDemo,
|
|
2242
|
+
floatingNavbarDemo,
|
|
838
2243
|
flowchartDemo,
|
|
2244
|
+
focusCardsDemo,
|
|
2245
|
+
followingPointerDemo,
|
|
2246
|
+
glareCardDemo,
|
|
2247
|
+
globeDemo,
|
|
2248
|
+
glowInputDemo,
|
|
2249
|
+
glowingEffectDemo,
|
|
2250
|
+
glowingStarsDemo,
|
|
2251
|
+
gooeyInputDemo,
|
|
2252
|
+
gridBackgroundDemo,
|
|
2253
|
+
heroHighlightDemo,
|
|
2254
|
+
heroParallaxDemo,
|
|
2255
|
+
highlightDemo,
|
|
2256
|
+
hoverBorderGradientDemo,
|
|
2257
|
+
imageGenerationLoaderDemo,
|
|
2258
|
+
imagesBadgeDemo,
|
|
2259
|
+
imagesSliderDemo,
|
|
2260
|
+
infiniteMovingCardsDemo,
|
|
839
2261
|
insightCardsDemo,
|
|
2262
|
+
keyboardDemo,
|
|
2263
|
+
lampEffectDemo,
|
|
2264
|
+
laptopScrollDemo,
|
|
2265
|
+
layoutGridDemo,
|
|
2266
|
+
layoutTextFlipDemo,
|
|
2267
|
+
lensDemo,
|
|
2268
|
+
linkPreviewDemo,
|
|
2269
|
+
liquidGlassDemo,
|
|
840
2270
|
loadingStateDemo,
|
|
2271
|
+
magneticButtonDemo,
|
|
841
2272
|
markdownDemo,
|
|
2273
|
+
marquee3DDemo,
|
|
842
2274
|
messageThreadDemo,
|
|
2275
|
+
meteorsDemo,
|
|
2276
|
+
movingBorderDemo,
|
|
2277
|
+
navbarMenuDemo,
|
|
2278
|
+
noiseBackgroundDemo,
|
|
2279
|
+
notchDemo,
|
|
2280
|
+
parallaxHeroImagesDemo,
|
|
2281
|
+
parallaxScrollDemo,
|
|
2282
|
+
pin3DDemo,
|
|
2283
|
+
pixelatedCanvasDemo,
|
|
2284
|
+
pointerHighlightDemo,
|
|
843
2285
|
promptBarDemo,
|
|
844
2286
|
recommendationCardDemo,
|
|
845
2287
|
recordsTableDemo,
|
|
2288
|
+
resizableNavbarDemo,
|
|
2289
|
+
scalesDemo,
|
|
2290
|
+
scrollPathsEffectDemo,
|
|
846
2291
|
searchListDemo,
|
|
847
2292
|
selectionActionsDemo,
|
|
2293
|
+
shootingStarsDemo,
|
|
848
2294
|
sidebarNavDemo,
|
|
2295
|
+
signupFormDemo,
|
|
2296
|
+
sparklesDemo,
|
|
2297
|
+
spotlightCardDemo,
|
|
2298
|
+
spotlightDemo,
|
|
2299
|
+
spotlightNewDemo,
|
|
2300
|
+
squigglyTextDemo,
|
|
2301
|
+
statefulButtonDemo,
|
|
2302
|
+
stickyBannerDemo,
|
|
2303
|
+
stickyScrollRevealDemo,
|
|
849
2304
|
streamingTextDemo,
|
|
2305
|
+
svgMaskEffectDemo,
|
|
850
2306
|
taskRowsDemo,
|
|
2307
|
+
terminalDemo,
|
|
2308
|
+
textFlippingBoardDemo,
|
|
2309
|
+
textHoverEffectDemo,
|
|
2310
|
+
textRevealCardDemo,
|
|
851
2311
|
thinkingStateDemo,
|
|
852
2312
|
thinkingStateDemos,
|
|
2313
|
+
timelineDemo,
|
|
853
2314
|
toolChipsDemo,
|
|
854
|
-
|
|
2315
|
+
tooltipCardDemo,
|
|
2316
|
+
tracingBeamDemo,
|
|
2317
|
+
typewriterDemo,
|
|
2318
|
+
usageMeterDemo,
|
|
2319
|
+
vortexDemo,
|
|
2320
|
+
wavyBackgroundDemo,
|
|
2321
|
+
webcamPixelGridDemo,
|
|
2322
|
+
wobbleCardDemo,
|
|
2323
|
+
worldMapDemo
|
|
855
2324
|
};
|
|
856
2325
|
//# sourceMappingURL=demo.js.map
|