asta-ui 0.3.0 → 0.4.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.
Files changed (179) hide show
  1. package/dist/accordion.js +1 -1
  2. package/dist/base/card-checkout.js +1 -1
  3. package/dist/base/footer-aui-025.d.ts +2 -0
  4. package/dist/base/footer-aui-025.js +9 -0
  5. package/dist/base/footer-aui-026.d.ts +2 -0
  6. package/dist/base/footer-aui-026.js +9 -0
  7. package/dist/base/footer-aui-027.d.ts +2 -0
  8. package/dist/base/footer-aui-027.js +9 -0
  9. package/dist/base/footer-aui-028.d.ts +2 -0
  10. package/dist/base/footer-aui-028.js +9 -0
  11. package/dist/base/navbar-aui-009.d.ts +2 -0
  12. package/dist/base/navbar-aui-009.js +9 -0
  13. package/dist/base/navbar-aui-010.d.ts +2 -0
  14. package/dist/base/navbar-aui-010.js +9 -0
  15. package/dist/base/navbar-aui-011.d.ts +2 -0
  16. package/dist/base/navbar-aui-011.js +9 -0
  17. package/dist/base/navbar-aui-012.d.ts +2 -0
  18. package/dist/base/navbar-aui-012.js +9 -0
  19. package/dist/base/navbar-aui-013.d.ts +2 -0
  20. package/dist/base/navbar-aui-013.js +9 -0
  21. package/dist/base/navbar-aui-014.d.ts +2 -0
  22. package/dist/base/navbar-aui-014.js +9 -0
  23. package/dist/base/now-playing.js +1 -1
  24. package/dist/base/payment-received.js +1 -1
  25. package/dist/base/pricing-aui-021.d.ts +2 -0
  26. package/dist/base/pricing-aui-021.js +9 -0
  27. package/dist/base/pricing-aui-022.d.ts +2 -0
  28. package/dist/base/pricing-aui-022.js +9 -0
  29. package/dist/base/pricing-aui-023.d.ts +2 -0
  30. package/dist/base/pricing-aui-023.js +9 -0
  31. package/dist/base/pricing-aui-024.d.ts +2 -0
  32. package/dist/base/pricing-aui-024.js +9 -0
  33. package/dist/base/sign-in-aui-015.d.ts +2 -0
  34. package/dist/base/sign-in-aui-015.js +9 -0
  35. package/dist/base/sign-in-aui-016.d.ts +2 -0
  36. package/dist/base/sign-in-aui-016.js +9 -0
  37. package/dist/base/sign-in-aui-017.d.ts +2 -0
  38. package/dist/base/sign-in-aui-017.js +9 -0
  39. package/dist/base/sign-in-aui-018.d.ts +2 -0
  40. package/dist/base/sign-in-aui-018.js +9 -0
  41. package/dist/base/sign-in-aui-019.d.ts +2 -0
  42. package/dist/base/sign-in-aui-019.js +9 -0
  43. package/dist/base/sign-in-aui-020.d.ts +2 -0
  44. package/dist/base/sign-in-aui-020.js +9 -0
  45. package/dist/base/spinner.js +1 -1
  46. package/dist/base.js +124 -4
  47. package/dist/card-checkout.js +1 -1
  48. package/dist/chunk-2SQQFICY.js +493 -0
  49. package/dist/{chunk-QJXPS55V.js → chunk-5TSQZY34.js} +1 -1
  50. package/dist/chunk-5U4H2CXC.js +308 -0
  51. package/dist/chunk-5WGDQ62P.js +122 -0
  52. package/dist/chunk-6B6NTRMC.js +293 -0
  53. package/dist/chunk-6NNHSXFD.js +539 -0
  54. package/dist/chunk-746WX2DF.js +480 -0
  55. package/dist/chunk-7GKCX4IE.js +636 -0
  56. package/dist/chunk-7SNVRPED.js +223 -0
  57. package/dist/chunk-BGVAXPHD.js +305 -0
  58. package/dist/chunk-F526V5BA.js +254 -0
  59. package/dist/chunk-LPTY5WXM.js +231 -0
  60. package/dist/chunk-MDI73RL6.js +245 -0
  61. package/dist/chunk-MUDW65ZT.js +220 -0
  62. package/dist/chunk-NZRQL3SA.js +201 -0
  63. package/dist/chunk-OFYGJUKP.js +278 -0
  64. package/dist/{chunk-NDBLIYMX.js → chunk-OKCSTMX3.js} +2 -2
  65. package/dist/chunk-P37H477M.js +236 -0
  66. package/dist/chunk-QSLS3ENY.js +469 -0
  67. package/dist/chunk-RRHQBGRO.js +327 -0
  68. package/dist/{chunk-2OGTIQVU.js → chunk-UEOEWP7L.js} +1 -1
  69. package/dist/{chunk-BP3LXM3X.js → chunk-UTGEGGSE.js} +1 -1
  70. package/dist/chunk-WNPMHOXE.js +136 -0
  71. package/dist/chunk-WTNNS7AX.js +362 -0
  72. package/dist/{chunk-AS6RA64I.js → chunk-XTP6ITUJ.js} +3 -1
  73. package/dist/footer-aui-025.d.ts +2 -0
  74. package/dist/footer-aui-025.js +9 -0
  75. package/dist/footer-aui-026.d.ts +2 -0
  76. package/dist/footer-aui-026.js +9 -0
  77. package/dist/footer-aui-027.d.ts +2 -0
  78. package/dist/footer-aui-027.js +9 -0
  79. package/dist/footer-aui-028.d.ts +2 -0
  80. package/dist/footer-aui-028.js +9 -0
  81. package/dist/index.js +125 -5
  82. package/dist/navbar-aui-009.d.ts +2 -0
  83. package/dist/navbar-aui-009.js +9 -0
  84. package/dist/navbar-aui-010.d.ts +2 -0
  85. package/dist/navbar-aui-010.js +9 -0
  86. package/dist/navbar-aui-011.d.ts +2 -0
  87. package/dist/navbar-aui-011.js +9 -0
  88. package/dist/navbar-aui-012.d.ts +2 -0
  89. package/dist/navbar-aui-012.js +9 -0
  90. package/dist/navbar-aui-013.d.ts +2 -0
  91. package/dist/navbar-aui-013.js +9 -0
  92. package/dist/navbar-aui-014.d.ts +2 -0
  93. package/dist/navbar-aui-014.js +9 -0
  94. package/dist/now-playing.js +1 -1
  95. package/dist/payment-received.js +1 -1
  96. package/dist/pricing-aui-021.d.ts +2 -0
  97. package/dist/pricing-aui-021.js +9 -0
  98. package/dist/pricing-aui-022.d.ts +2 -0
  99. package/dist/pricing-aui-022.js +9 -0
  100. package/dist/pricing-aui-023.d.ts +2 -0
  101. package/dist/pricing-aui-023.js +9 -0
  102. package/dist/pricing-aui-024.d.ts +2 -0
  103. package/dist/pricing-aui-024.js +9 -0
  104. package/dist/sign-in-aui-015.d.ts +2 -0
  105. package/dist/sign-in-aui-015.js +9 -0
  106. package/dist/sign-in-aui-016.d.ts +2 -0
  107. package/dist/sign-in-aui-016.js +9 -0
  108. package/dist/sign-in-aui-017.d.ts +2 -0
  109. package/dist/sign-in-aui-017.js +9 -0
  110. package/dist/sign-in-aui-018.d.ts +2 -0
  111. package/dist/sign-in-aui-018.js +9 -0
  112. package/dist/sign-in-aui-019.d.ts +2 -0
  113. package/dist/sign-in-aui-019.js +9 -0
  114. package/dist/sign-in-aui-020.d.ts +2 -0
  115. package/dist/sign-in-aui-020.js +9 -0
  116. package/dist/spinner.js +1 -1
  117. package/dist/types/components/kit/variants/footer-aui-025.d.ts +22 -0
  118. package/dist/types/components/kit/variants/footer-aui-026.d.ts +21 -0
  119. package/dist/types/components/kit/variants/footer-aui-027.d.ts +36 -0
  120. package/dist/types/components/kit/variants/footer-aui-028.d.ts +34 -0
  121. package/dist/types/components/kit/variants/navbar-aui-009.d.ts +62 -0
  122. package/dist/types/components/kit/variants/navbar-aui-010.d.ts +30 -0
  123. package/dist/types/components/kit/variants/navbar-aui-011.d.ts +65 -0
  124. package/dist/types/components/kit/variants/navbar-aui-012.d.ts +50 -0
  125. package/dist/types/components/kit/variants/navbar-aui-013.d.ts +70 -0
  126. package/dist/types/components/kit/variants/navbar-aui-014.d.ts +31 -0
  127. package/dist/types/components/kit/variants/pricing-aui-021.d.ts +30 -0
  128. package/dist/types/components/kit/variants/pricing-aui-022.d.ts +34 -0
  129. package/dist/types/components/kit/variants/pricing-aui-023.d.ts +26 -0
  130. package/dist/types/components/kit/variants/pricing-aui-024.d.ts +29 -0
  131. package/dist/types/components/kit/variants/sign-in-aui-015.d.ts +21 -0
  132. package/dist/types/components/kit/variants/sign-in-aui-016.d.ts +28 -0
  133. package/dist/types/components/kit/variants/sign-in-aui-017.d.ts +21 -0
  134. package/dist/types/components/kit/variants/sign-in-aui-018.d.ts +22 -0
  135. package/dist/types/components/kit/variants/sign-in-aui-019.d.ts +22 -0
  136. package/dist/types/components/kit/variants/sign-in-aui-020.d.ts +27 -0
  137. package/dist/types/packages/asta-ui/src/base/footer-aui-025.d.ts +2 -0
  138. package/dist/types/packages/asta-ui/src/base/footer-aui-026.d.ts +2 -0
  139. package/dist/types/packages/asta-ui/src/base/footer-aui-027.d.ts +2 -0
  140. package/dist/types/packages/asta-ui/src/base/footer-aui-028.d.ts +2 -0
  141. package/dist/types/packages/asta-ui/src/base/navbar-aui-009.d.ts +2 -0
  142. package/dist/types/packages/asta-ui/src/base/navbar-aui-010.d.ts +2 -0
  143. package/dist/types/packages/asta-ui/src/base/navbar-aui-011.d.ts +2 -0
  144. package/dist/types/packages/asta-ui/src/base/navbar-aui-012.d.ts +2 -0
  145. package/dist/types/packages/asta-ui/src/base/navbar-aui-013.d.ts +2 -0
  146. package/dist/types/packages/asta-ui/src/base/navbar-aui-014.d.ts +2 -0
  147. package/dist/types/packages/asta-ui/src/base/pricing-aui-021.d.ts +2 -0
  148. package/dist/types/packages/asta-ui/src/base/pricing-aui-022.d.ts +2 -0
  149. package/dist/types/packages/asta-ui/src/base/pricing-aui-023.d.ts +2 -0
  150. package/dist/types/packages/asta-ui/src/base/pricing-aui-024.d.ts +2 -0
  151. package/dist/types/packages/asta-ui/src/base/sign-in-aui-015.d.ts +2 -0
  152. package/dist/types/packages/asta-ui/src/base/sign-in-aui-016.d.ts +2 -0
  153. package/dist/types/packages/asta-ui/src/base/sign-in-aui-017.d.ts +2 -0
  154. package/dist/types/packages/asta-ui/src/base/sign-in-aui-018.d.ts +2 -0
  155. package/dist/types/packages/asta-ui/src/base/sign-in-aui-019.d.ts +2 -0
  156. package/dist/types/packages/asta-ui/src/base/sign-in-aui-020.d.ts +2 -0
  157. package/dist/types/packages/asta-ui/src/base.d.ts +40 -0
  158. package/dist/types/packages/asta-ui/src/footer-aui-025.d.ts +2 -0
  159. package/dist/types/packages/asta-ui/src/footer-aui-026.d.ts +2 -0
  160. package/dist/types/packages/asta-ui/src/footer-aui-027.d.ts +2 -0
  161. package/dist/types/packages/asta-ui/src/footer-aui-028.d.ts +2 -0
  162. package/dist/types/packages/asta-ui/src/index.d.ts +40 -0
  163. package/dist/types/packages/asta-ui/src/navbar-aui-009.d.ts +2 -0
  164. package/dist/types/packages/asta-ui/src/navbar-aui-010.d.ts +2 -0
  165. package/dist/types/packages/asta-ui/src/navbar-aui-011.d.ts +2 -0
  166. package/dist/types/packages/asta-ui/src/navbar-aui-012.d.ts +2 -0
  167. package/dist/types/packages/asta-ui/src/navbar-aui-013.d.ts +2 -0
  168. package/dist/types/packages/asta-ui/src/navbar-aui-014.d.ts +2 -0
  169. package/dist/types/packages/asta-ui/src/pricing-aui-021.d.ts +2 -0
  170. package/dist/types/packages/asta-ui/src/pricing-aui-022.d.ts +2 -0
  171. package/dist/types/packages/asta-ui/src/pricing-aui-023.d.ts +2 -0
  172. package/dist/types/packages/asta-ui/src/pricing-aui-024.d.ts +2 -0
  173. package/dist/types/packages/asta-ui/src/sign-in-aui-015.d.ts +2 -0
  174. package/dist/types/packages/asta-ui/src/sign-in-aui-016.d.ts +2 -0
  175. package/dist/types/packages/asta-ui/src/sign-in-aui-017.d.ts +2 -0
  176. package/dist/types/packages/asta-ui/src/sign-in-aui-018.d.ts +2 -0
  177. package/dist/types/packages/asta-ui/src/sign-in-aui-019.d.ts +2 -0
  178. package/dist/types/packages/asta-ui/src/sign-in-aui-020.d.ts +2 -0
  179. package/package.json +1 -1
@@ -0,0 +1,327 @@
1
+ "use client";
2
+
3
+ // components/kit/variants/sign-in-aui-017.tsx
4
+ import { useEffect, useId, useRef, useState } from "react";
5
+ import { Fragment, jsx, jsxs } from "react/jsx-runtime";
6
+ var cx = (...c) => c.filter(Boolean).join(" ");
7
+ var EASE = "cubic-bezier(.16,1,.3,1)";
8
+ var RING = "shadow-[inset_0_0_0_1px_color-mix(in_srgb,var(--ink)_12%,transparent)]";
9
+ var CARD = "shadow-[inset_0_0_0_1px_color-mix(in_srgb,var(--ink)_10%,transparent),0_1px_2px_rgb(0_0_0/0.04),0_18px_40px_-20px_rgb(0_0_0/0.25)]";
10
+ var FOCUS = "focus-visible:ring-2 focus-visible:ring-brand/50 focus-visible:ring-offset-2 focus-visible:ring-offset-paper";
11
+ var ROW = 44;
12
+ var GAP = 8;
13
+ var CSS = `
14
+ @keyframes aui017-rise { from { opacity: 0; transform: translateY(10px) } to { opacity: 1; transform: none } }
15
+ @keyframes aui017-in { from { opacity: 0; transform: translateY(4px) } to { opacity: 1; transform: none } }
16
+ @keyframes aui017-pop { from { opacity: 0; transform: scale(.94) translateY(6px) } to { opacity: 1; transform: none } }
17
+ @keyframes aui017-draw { from { stroke-dashoffset: 24 } to { stroke-dashoffset: 0 } }
18
+ @keyframes aui017-sweep { from { transform: translateX(-100%) } to { transform: translateX(100%) } }
19
+ @media (prefers-reduced-motion: reduce) { .aui017 * { animation: none !important; transition: none !important } }
20
+ `;
21
+ var rise = (i) => ({ animation: `aui017-rise .6s ${EASE} ${100 + i * 55}ms both` });
22
+ var validEmail = (v) => /^[^\s@]+@[^\s@]+\.[^\s@]{2,}$/.test(v.trim());
23
+ var wait = (ms) => new Promise((r) => setTimeout(r, ms));
24
+ var Spinner = () => /* @__PURE__ */ jsx("span", { "aria-hidden": true, className: "h-4 w-4 animate-spin rounded-full border-2 border-current border-r-transparent" });
25
+ var GLYPHS = {
26
+ google: {
27
+ label: "Google",
28
+ icon: /* @__PURE__ */ jsx("svg", { viewBox: "0 0 16 16", className: "h-4 w-4", "aria-hidden": true, children: /* @__PURE__ */ jsx("path", { fill: "currentColor", d: "M8 6.6v2.9h4.1A4.3 4.3 0 0 1 8 12.4a4.4 4.4 0 0 1 0-8.8c1.1 0 2.1.4 2.9 1.1l2-2A7.3 7.3 0 0 0 8 .7a7.3 7.3 0 1 0 0 14.6c4.2 0 7-3 7-7.1 0-.5 0-1-.1-1.5H8Z" }) })
29
+ },
30
+ github: {
31
+ label: "GitHub",
32
+ icon: /* @__PURE__ */ jsx("svg", { viewBox: "0 0 16 16", className: "h-4 w-4", "aria-hidden": true, children: /* @__PURE__ */ jsx(
33
+ "path",
34
+ {
35
+ fill: "currentColor",
36
+ d: "M8 .5a7.5 7.5 0 0 0-2.4 14.6c.4.1.5-.2.5-.4v-1.4c-2.1.5-2.5-.9-2.5-.9-.4-.9-.9-1.1-.9-1.1-.7-.5 0-.5 0-.5.8.1 1.2.8 1.2.8.7 1.2 1.8.8 2.2.6.1-.5.3-.8.5-1-1.7-.2-3.4-.8-3.4-3.7 0-.8.3-1.5.8-2-.1-.2-.3-1 .1-2 0 0 .6-.2 2.1.8a7 7 0 0 1 3.8 0c1.4-1 2.1-.8 2.1-.8.4 1 .2 1.8.1 2 .5.5.8 1.2.8 2 0 2.9-1.8 3.5-3.4 3.7.3.2.5.7.5 1.4v2.1c0 .2.1.5.5.4A7.5 7.5 0 0 0 8 .5Z"
37
+ }
38
+ ) })
39
+ },
40
+ apple: {
41
+ label: "Apple",
42
+ icon: /* @__PURE__ */ jsx("svg", { viewBox: "0 0 24 24", className: "h-4 w-4", "aria-hidden": true, children: /* @__PURE__ */ jsx(
43
+ "path",
44
+ {
45
+ fill: "currentColor",
46
+ d: "M12.15 6.9c-.95 0-2.42-1.08-3.96-1.04-2.04.03-3.91 1.18-4.96 3.01-2.12 3.68-.55 9.1 1.52 12.09 1.01 1.45 2.2 3.09 3.79 3.04 1.52-.07 2.09-.99 3.93-.99 1.83 0 2.35.99 3.96.95 1.64-.03 2.68-1.48 3.68-2.95 1.15-1.69 1.63-3.32 1.66-3.41-.04-.02-3.18-1.22-3.22-4.86-.03-3.04 2.48-4.49 2.6-4.56-1.43-2.09-3.62-2.32-4.39-2.38-2-.15-3.68 1.09-4.61 1.09Zm3.38-3.07c.84-1.01 1.4-2.43 1.25-3.83-1.21.05-2.67.8-3.54 1.82-.78.9-1.45 2.34-1.27 3.71 1.34.1 2.72-.69 3.56-1.7Z"
47
+ }
48
+ ) })
49
+ }
50
+ };
51
+ function SocialSignIn({
52
+ title = "Sign in to Astabyte",
53
+ subtitle = "Pick up where your team left off.",
54
+ providers = ["google", "github", "apple"],
55
+ lastUsed = "github",
56
+ onProvider,
57
+ onEmail,
58
+ hint = false,
59
+ className
60
+ }) {
61
+ const id = useId();
62
+ const [busy, setBusy] = useState(null);
63
+ const [hover, setHover] = useState(null);
64
+ const [done, setDone] = useState(null);
65
+ const [emailOpen, setEmailOpen] = useState(false);
66
+ const [email, setEmail] = useState("");
67
+ const [touched, setTouched] = useState(false);
68
+ const [formError, setFormError] = useState("");
69
+ const [shake, setShake] = useState(0);
70
+ const alive = useRef(true);
71
+ const input = useRef(null);
72
+ const box = useRef(null);
73
+ const opener = useRef(null);
74
+ const error = !email.trim() ? "Enter your email." : !validEmail(email) ? "That doesn't look like an email address." : "";
75
+ const shown = touched && error || formError;
76
+ const hasError = !!shown;
77
+ const count = providers.length;
78
+ const busyIndex = providers.findIndex((p) => p === busy);
79
+ const lit = busyIndex >= 0 ? busyIndex : hover;
80
+ useEffect(() => {
81
+ alive.current = true;
82
+ return () => {
83
+ alive.current = false;
84
+ };
85
+ }, []);
86
+ useEffect(() => {
87
+ if (!hasError || window.matchMedia("(prefers-reduced-motion: reduce)").matches) return;
88
+ box.current?.animate(
89
+ [{ transform: "none" }, { transform: "translateX(-6px)" }, { transform: "translateX(5px)" }, { transform: "translateX(-3px)" }, { transform: "translateX(2px)" }, { transform: "none" }],
90
+ { duration: 420, easing: EASE }
91
+ );
92
+ }, [hasError, shake]);
93
+ useEffect(() => {
94
+ if (!hint || window.matchMedia("(prefers-reduced-motion: reduce)").matches) return;
95
+ const steps = [...Array.from({ length: count }, (_, i) => i), null];
96
+ const timers = steps.map((v, k) => setTimeout(() => setHover(v), 900 + k * 420));
97
+ return () => timers.forEach(clearTimeout);
98
+ }, [hint, count]);
99
+ useEffect(() => {
100
+ if (emailOpen) input.current?.focus({ preventScroll: true });
101
+ }, [emailOpen]);
102
+ const provider = async (p) => {
103
+ if (busy) return;
104
+ setBusy(p);
105
+ setFormError("");
106
+ try {
107
+ await (onProvider ? onProvider(p) : wait(1400));
108
+ if (alive.current) setDone({ title: "You're in", detail: /* @__PURE__ */ jsxs(Fragment, { children: [
109
+ "Signed in with ",
110
+ GLYPHS[p].label,
111
+ "."
112
+ ] }) });
113
+ } catch (err) {
114
+ if (alive.current) setFormError(err instanceof Error ? err.message : `${GLYPHS[p].label} sign-in didn't finish. Try again.`);
115
+ } finally {
116
+ if (alive.current) setBusy(null);
117
+ }
118
+ };
119
+ const submit = async (e) => {
120
+ e.preventDefault();
121
+ if (busy) return;
122
+ setTouched(true);
123
+ setFormError("");
124
+ if (error) {
125
+ setShake((n) => n + 1);
126
+ input.current?.focus();
127
+ return;
128
+ }
129
+ setBusy("email");
130
+ try {
131
+ await (onEmail ? onEmail(email.trim()) : wait(1100));
132
+ if (alive.current)
133
+ setDone({
134
+ title: "Check your inbox",
135
+ detail: /* @__PURE__ */ jsxs(Fragment, { children: [
136
+ "We sent a link to ",
137
+ /* @__PURE__ */ jsx("span", { className: "break-all text-ink", children: email.trim() }),
138
+ "."
139
+ ] })
140
+ });
141
+ } catch (err) {
142
+ if (!alive.current) return;
143
+ setFormError(err instanceof Error ? err.message : "We couldn't send the link. Try again.");
144
+ setShake((n) => n + 1);
145
+ } finally {
146
+ if (alive.current) setBusy(null);
147
+ }
148
+ };
149
+ const reset = () => {
150
+ setDone(null);
151
+ setEmailOpen(false);
152
+ setEmail("");
153
+ setTouched(false);
154
+ };
155
+ return /* @__PURE__ */ jsxs("div", { className: cx("aui017 @container relative w-full max-w-[380px] overflow-hidden rounded-[14px] bg-paper", CARD, className), children: [
156
+ /* @__PURE__ */ jsx("style", { href: "asta-sign-in-aui-017", precedence: "asta", children: CSS }),
157
+ done ? /* @__PURE__ */ jsxs("div", { className: "flex min-h-[380px] flex-col items-center justify-center p-7 text-center", role: "status", style: { animation: `aui017-pop .5s ${EASE} both` }, children: [
158
+ /* @__PURE__ */ jsx("span", { className: "flex h-14 w-14 items-center justify-center rounded-full bg-ink text-paper", children: /* @__PURE__ */ jsx("svg", { viewBox: "0 0 24 24", className: "h-7 w-7", fill: "none", stroke: "currentColor", strokeWidth: "2.4", strokeLinecap: "round", strokeLinejoin: "round", "aria-hidden": true, children: /* @__PURE__ */ jsx("path", { d: "M5 12.5l4.5 4.5L19 7.5", strokeDasharray: "24", style: { animation: `aui017-draw .5s .15s ${EASE} both` } }) }) }),
159
+ /* @__PURE__ */ jsx("h3", { className: "mt-5 text-[20px] font-medium tracking-[-0.02em] text-ink", children: done.title }),
160
+ /* @__PURE__ */ jsx("p", { className: "mt-1.5 max-w-[28ch] text-[14px] leading-snug text-mute", children: done.detail }),
161
+ /* @__PURE__ */ jsx("button", { type: "button", onClick: reset, className: cx("mt-6 h-9 rounded-[8px] px-3.5 text-[13.5px] font-medium text-ink outline-none transition-colors hover:bg-paper-2", RING, FOCUS), children: "Start over" })
162
+ ] }) : /* @__PURE__ */ jsxs("div", { className: "flex flex-col p-6 sm:p-7", children: [
163
+ /* @__PURE__ */ jsx("span", { className: "flex h-9 w-9 items-center justify-center rounded-[9px] bg-ink text-paper", style: rise(0), "aria-hidden": true, children: /* @__PURE__ */ jsx("svg", { viewBox: "0 0 16 16", className: "h-4 w-4", fill: "currentColor", children: /* @__PURE__ */ jsx("path", { d: "M8 1.5 14.5 14h-3L8 7.2 4.5 14h-3L8 1.5Z" }) }) }),
164
+ /* @__PURE__ */ jsx("h3", { className: "mt-5 text-[20px] font-medium tracking-[-0.02em] text-ink", style: rise(1), children: title }),
165
+ /* @__PURE__ */ jsx("p", { className: "mt-1 text-[14px] leading-snug text-mute", style: rise(2), children: subtitle }),
166
+ /* @__PURE__ */ jsxs("div", { className: "relative mt-6", style: rise(3), onPointerLeave: () => setHover(null), children: [
167
+ /* @__PURE__ */ jsx(
168
+ "span",
169
+ {
170
+ "aria-hidden": true,
171
+ className: "pointer-events-none absolute inset-x-0 top-0 rounded-[10px] bg-paper-2 transition-[transform,opacity] duration-500",
172
+ style: { height: ROW, transform: `translateY(${(lit ?? 0) * (ROW + GAP)}px)`, opacity: lit === null ? 0 : 1, transitionTimingFunction: EASE }
173
+ }
174
+ ),
175
+ /* @__PURE__ */ jsx("ul", { className: "relative flex flex-col", style: { gap: GAP }, children: providers.map((p, i) => {
176
+ const isBusy = busy === p;
177
+ return /* @__PURE__ */ jsx("li", { children: /* @__PURE__ */ jsxs(
178
+ "button",
179
+ {
180
+ type: "button",
181
+ onClick: () => provider(p),
182
+ onPointerEnter: () => setHover(i),
183
+ onFocus: () => setHover(i),
184
+ onBlur: () => setHover(null),
185
+ disabled: !!busy && !isBusy,
186
+ "aria-busy": isBusy || void 0,
187
+ className: cx(
188
+ "group relative flex w-full items-center gap-3 overflow-hidden rounded-[10px] px-3.5 text-left text-[14px] font-medium text-ink outline-none transition-[opacity,transform] duration-300 active:scale-[.985] focus-visible:ring-2 focus-visible:ring-brand/50 disabled:opacity-40",
189
+ RING
190
+ ),
191
+ style: { height: ROW },
192
+ children: [
193
+ /* @__PURE__ */ jsx("span", { className: "flex h-7 w-7 items-center justify-center rounded-[7px] bg-paper text-ink shadow-[0_0_0_1px_color-mix(in_srgb,var(--ink)_8%,transparent)]", children: isBusy ? /* @__PURE__ */ jsx(Spinner, {}) : GLYPHS[p].icon }),
194
+ /* @__PURE__ */ jsx("span", { className: "min-w-0 flex-1 truncate", children: isBusy ? `Opening ${GLYPHS[p].label}` : `Continue with ${GLYPHS[p].label}` }),
195
+ p === lastUsed && !isBusy && /* @__PURE__ */ jsxs(Fragment, { children: [
196
+ /* @__PURE__ */ jsx("span", { className: "hidden shrink-0 whitespace-nowrap rounded-[5px] bg-brand/10 px-1.5 py-0.5 text-[10.5px] font-medium text-brand @min-[340px]:inline", children: "Last used" }),
197
+ /* @__PURE__ */ jsx("span", { className: "h-1.5 w-1.5 shrink-0 rounded-full bg-brand @min-[340px]:hidden", children: /* @__PURE__ */ jsx("span", { className: "sr-only", children: "Last used" }) })
198
+ ] }),
199
+ /* @__PURE__ */ jsx(
200
+ "svg",
201
+ {
202
+ viewBox: "0 0 16 16",
203
+ className: "h-3.5 w-3.5 -translate-x-1 text-mute opacity-0 transition-[transform,opacity] duration-300 group-hover:translate-x-0 group-hover:opacity-100 group-focus-visible:translate-x-0 group-focus-visible:opacity-100",
204
+ style: { transitionTimingFunction: EASE },
205
+ fill: "none",
206
+ stroke: "currentColor",
207
+ strokeWidth: "1.7",
208
+ strokeLinecap: "round",
209
+ strokeLinejoin: "round",
210
+ "aria-hidden": true,
211
+ children: /* @__PURE__ */ jsx("path", { d: "M3 8h10M9 4l4 4-4 4" })
212
+ }
213
+ ),
214
+ isBusy && /* @__PURE__ */ jsx(
215
+ "span",
216
+ {
217
+ "aria-hidden": true,
218
+ className: "absolute inset-x-0 bottom-0 h-[2px] bg-[linear-gradient(90deg,transparent,var(--brand),transparent)]",
219
+ style: { animation: `aui017-sweep 1.1s ${EASE} infinite` }
220
+ }
221
+ )
222
+ ]
223
+ }
224
+ ) }, p);
225
+ }) })
226
+ ] }),
227
+ /* @__PURE__ */ jsxs("div", { className: "my-5 flex items-center gap-3 font-mono text-[10.5px] uppercase tracking-[0.08em] text-mute", style: rise(4), "aria-hidden": true, children: [
228
+ /* @__PURE__ */ jsx("span", { className: "h-px flex-1 bg-[color-mix(in_srgb,var(--ink)_10%,transparent)]" }),
229
+ "or",
230
+ /* @__PURE__ */ jsx("span", { className: "h-px flex-1 bg-[color-mix(in_srgb,var(--ink)_10%,transparent)]" })
231
+ ] }),
232
+ !emailOpen ? /* @__PURE__ */ jsxs(
233
+ "button",
234
+ {
235
+ ref: opener,
236
+ type: "button",
237
+ onClick: () => setEmailOpen(true),
238
+ "aria-expanded": false,
239
+ disabled: !!busy,
240
+ className: "group inline-flex h-11 items-center justify-center gap-2 rounded-[10px] text-[14px] font-medium text-ink outline-none transition-[background-color,transform] duration-200 hover:bg-paper-2 active:scale-[.985] focus-visible:ring-2 focus-visible:ring-brand/50 disabled:opacity-40",
241
+ style: rise(5),
242
+ children: [
243
+ "Continue with email",
244
+ /* @__PURE__ */ jsx("svg", { viewBox: "0 0 16 16", className: "h-3.5 w-3.5 transition-transform duration-300 group-hover:translate-y-0.5", style: { transitionTimingFunction: EASE }, fill: "none", stroke: "currentColor", strokeWidth: "1.7", strokeLinecap: "round", strokeLinejoin: "round", "aria-hidden": true, children: /* @__PURE__ */ jsx("path", { d: "m4 6 4 4 4-4" }) })
245
+ ]
246
+ }
247
+ ) : /* @__PURE__ */ jsxs("form", { id: `${id}-form`, noValidate: true, onSubmit: submit, className: "flex flex-col", children: [
248
+ /* @__PURE__ */ jsx("label", { htmlFor: `${id}-email`, className: "text-[13px] font-medium text-ink", style: { animation: `aui017-rise .5s ${EASE} both` }, children: "Work email" }),
249
+ /* @__PURE__ */ jsx("div", { ref: box, className: "mt-1.5", style: { animation: `aui017-rise .5s ${EASE} 50ms both` }, children: /* @__PURE__ */ jsx(
250
+ "input",
251
+ {
252
+ ref: input,
253
+ id: `${id}-email`,
254
+ type: "email",
255
+ autoComplete: "email",
256
+ placeholder: "you@company.com",
257
+ value: email,
258
+ onChange: (e) => {
259
+ setEmail(e.target.value);
260
+ setFormError("");
261
+ },
262
+ onBlur: () => email && setTouched(true),
263
+ onKeyDown: (e) => {
264
+ if (e.key === "Escape" && !email) {
265
+ setEmailOpen(false);
266
+ requestAnimationFrame(() => opener.current?.focus());
267
+ }
268
+ },
269
+ "aria-invalid": hasError || void 0,
270
+ "aria-describedby": hasError ? `${id}-err` : void 0,
271
+ className: cx(
272
+ "h-11 w-full rounded-[10px] bg-paper px-3.5 text-[14px] text-ink outline-none transition-shadow duration-200 placeholder:text-mute focus-visible:shadow-[inset_0_0_0_1px_var(--brand),0_0_0_4px_color-mix(in_srgb,var(--brand)_14%,transparent)]",
273
+ hasError ? "shadow-[inset_0_0_0_1.5px_var(--ink)]" : RING
274
+ )
275
+ }
276
+ ) }),
277
+ hasError && /* @__PURE__ */ jsxs("p", { id: `${id}-err`, role: "alert", className: "mt-1.5 flex items-center gap-1.5 text-[12.5px] text-ink", style: { animation: `aui017-in .3s ${EASE} both` }, children: [
278
+ /* @__PURE__ */ jsxs("svg", { viewBox: "0 0 16 16", className: "h-3.5 w-3.5 shrink-0", fill: "none", stroke: "currentColor", strokeWidth: "1.6", strokeLinecap: "round", "aria-hidden": true, children: [
279
+ /* @__PURE__ */ jsx("circle", { cx: "8", cy: "8", r: "6.25" }),
280
+ /* @__PURE__ */ jsx("path", { d: "M8 4.8v3.6M8 11h.01" })
281
+ ] }),
282
+ shown
283
+ ] }),
284
+ /* @__PURE__ */ jsxs(
285
+ "button",
286
+ {
287
+ type: "submit",
288
+ disabled: !!busy,
289
+ "aria-busy": busy === "email" || void 0,
290
+ className: cx(
291
+ "mt-3 inline-flex h-11 w-full items-center justify-center gap-2 rounded-[10px] bg-ink px-4 text-[14px] font-medium text-paper outline-none transition-transform duration-200 active:scale-[.985] disabled:opacity-70",
292
+ FOCUS
293
+ ),
294
+ style: { animation: `aui017-rise .5s ${EASE} 100ms both` },
295
+ children: [
296
+ busy === "email" && /* @__PURE__ */ jsx(Spinner, {}),
297
+ busy === "email" ? "Sending link" : "Send sign-in link"
298
+ ]
299
+ }
300
+ )
301
+ ] }),
302
+ formError && !emailOpen && /* @__PURE__ */ jsxs("p", { role: "alert", className: "mt-4 flex items-center gap-1.5 text-[12.5px] text-ink", style: { animation: `aui017-in .3s ${EASE} both` }, children: [
303
+ /* @__PURE__ */ jsxs("svg", { viewBox: "0 0 16 16", className: "h-3.5 w-3.5 shrink-0", fill: "none", stroke: "currentColor", strokeWidth: "1.6", strokeLinecap: "round", "aria-hidden": true, children: [
304
+ /* @__PURE__ */ jsx("circle", { cx: "8", cy: "8", r: "6.25" }),
305
+ /* @__PURE__ */ jsx("path", { d: "M8 4.8v3.6M8 11h.01" })
306
+ ] }),
307
+ formError
308
+ ] }),
309
+ /* @__PURE__ */ jsxs("p", { className: "mt-5 text-center text-[12px] leading-snug text-mute", style: rise(6), children: [
310
+ "By continuing you agree to our",
311
+ " ",
312
+ /* @__PURE__ */ jsx("a", { href: "#", onClick: (e) => e.preventDefault(), className: "rounded text-ink underline-offset-2 outline-none hover:underline focus-visible:ring-2 focus-visible:ring-brand/50", children: "Terms" }),
313
+ " ",
314
+ "and",
315
+ " ",
316
+ /* @__PURE__ */ jsx("a", { href: "#", onClick: (e) => e.preventDefault(), className: "rounded text-ink underline-offset-2 outline-none hover:underline focus-visible:ring-2 focus-visible:ring-brand/50", children: "Privacy Policy" }),
317
+ "."
318
+ ] })
319
+ ] })
320
+ ] });
321
+ }
322
+ var sign_in_aui_017_default = SocialSignIn;
323
+
324
+ export {
325
+ SocialSignIn,
326
+ sign_in_aui_017_default
327
+ };
@@ -160,7 +160,7 @@ function CardCheckout() {
160
160
  style: { containerType: "inline-size", background: "linear-gradient(165deg, #ffffff, #f2f2f0)", boxShadow: shadow, color: INK },
161
161
  children: [
162
162
  /* @__PURE__ */ jsx("svg", { viewBox: "0 0 100 63", className: "pointer-events-none absolute inset-0 h-full w-full", fill: "none", stroke: INK, strokeLinecap: "round", strokeLinejoin: "round", "aria-hidden": true, children: DOODLES.map((o, i) => /* @__PURE__ */ jsx("g", { transform: `translate(${o.x} ${o.y * 63 / 100}) rotate(${o.r} ${o.s / 2} ${o.s / 2}) scale(${o.s / 32})`, children: /* @__PURE__ */ jsx("path", { d: o.d, strokeWidth: 0.5 * (32 / o.s) }) }, i)) }),
163
- /* @__PURE__ */ jsx("div", { className: "absolute right-[7%] top-[7%] text-[3.6cqw] tracking-[0.04em] text-black/55", children: "Northwind" }),
163
+ /* @__PURE__ */ jsx("div", { className: "absolute right-[7%] top-[7%] text-[3.6cqw] tracking-[0.04em] text-black/55", children: "Astabyte" }),
164
164
  /* @__PURE__ */ jsxs("div", { className: "absolute left-[8%] top-[34%] h-[11cqw] w-[15cqw] rounded-[2cqw] bg-gradient-to-br from-[#ececea] to-[#cdcdc9] shadow-[inset_0_0_0_1px_rgb(0_0_0/0.12)]", children: [
165
165
  /* @__PURE__ */ jsx("span", { className: "absolute inset-x-[32%] inset-y-0 border-x border-black/15" }),
166
166
  /* @__PURE__ */ jsx("span", { className: "absolute inset-x-0 top-1/2 border-t border-black/15" })
@@ -34,7 +34,7 @@ var TRACKS = [
34
34
  },
35
35
  {
36
36
  title: "Soft Meridian",
37
- artist: "Lumen Coast",
37
+ artist: "Low Tide",
38
38
  len: 199,
39
39
  start: 47,
40
40
  bg: `radial-gradient(circle at 70% 25%, color-mix(in srgb, ${BRAND} 60%, white), ${BRAND} 55%, color-mix(in srgb, ${BRAND} 60%, black))`,
@@ -0,0 +1,136 @@
1
+ "use client";
2
+
3
+ // components/kit/variants/footer-aui-026.tsx
4
+ import { useRef } from "react";
5
+ import { Fragment, jsx, jsxs } from "react/jsx-runtime";
6
+ var cx = (...c) => c.filter(Boolean).join(" ");
7
+ var EASE = "ease-[cubic-bezier(.16,1,.3,1)]";
8
+ var ring = "outline-none focus-visible:ring-2 focus-visible:ring-brand/70 focus-visible:ring-offset-2 focus-visible:ring-offset-ink";
9
+ var step = (i) => ({ "--i": i });
10
+ var GLYPHS = {
11
+ x: /* @__PURE__ */ jsx("path", { d: "M3 3h3.6l3.1 4.3L13.4 3H15l-4.6 5.4L15.5 15h-3.6l-3.3-4.6L4.6 15H3l5-5.8L3 3Zm2.2 1.2 7.3 9.6h1.1L6.4 4.2H5.2Z", fill: "currentColor" }),
12
+ github: /* @__PURE__ */ jsx(
13
+ "path",
14
+ {
15
+ d: "M9 1.8a7.2 7.2 0 0 0-2.3 14c.4.1.5-.1.5-.3v-1.3c-2 .4-2.4-.9-2.4-.9-.3-.8-.8-1-.8-1-.7-.5 0-.5 0-.5.7 0 1.1.8 1.1.8.6 1.1 1.7.8 2.1.6 0-.5.3-.8.5-1-1.6-.2-3.3-.8-3.3-3.5 0-.8.3-1.4.7-1.9 0-.2-.3-.9.1-1.9 0 0 .6-.2 2 .7a6.8 6.8 0 0 1 3.6 0c1.4-.9 2-.7 2-.7.4 1 .1 1.7.1 1.9.5.5.7 1.1.7 1.9 0 2.8-1.7 3.4-3.3 3.5.3.2.5.7.5 1.3v2c0 .2.1.4.5.3A7.2 7.2 0 0 0 9 1.8Z",
16
+ fill: "currentColor"
17
+ }
18
+ ),
19
+ linkedin: /* @__PURE__ */ jsx("path", { d: "M3 6.5h2.6V15H3V6.5Zm1.3-4.1a1.5 1.5 0 1 1 0 3 1.5 1.5 0 0 1 0-3ZM7.2 6.5h2.5v1.2c.4-.7 1.2-1.4 2.6-1.4 2.7 0 3.2 1.8 3.2 4.1V15h-2.6v-4.1c0-1 0-2.2-1.4-2.2s-1.6 1.1-1.6 2.2V15H7.2V6.5Z", fill: "currentColor" })
20
+ };
21
+ var DEFAULT_LINKS = [
22
+ { label: "Features", href: "#" },
23
+ { label: "Customers", href: "#" },
24
+ { label: "Pricing", href: "#" },
25
+ { label: "Docs", href: "#" },
26
+ { label: "Careers", href: "#" },
27
+ { label: "Contact", href: "#" }
28
+ ];
29
+ var DEFAULT_SOCIALS = [
30
+ { label: "X", href: "#", icon: "x" },
31
+ { label: "GitHub", href: "#", icon: "github" },
32
+ { label: "LinkedIn", href: "#", icon: "linkedin" }
33
+ ];
34
+ var CSS = `
35
+ @keyframes aui-f26-rise { from { opacity: 0; transform: translateY(14px) } }
36
+ @keyframes aui-f26-glow { from { opacity: 0; transform: scale(.7) } }
37
+ .aui-f26-in { animation: aui-f26-rise .7s cubic-bezier(.16,1,.3,1) both; animation-delay: calc(var(--i, 0) * 60ms) }
38
+ .aui-f26-glow { animation: aui-f26-glow 1.4s cubic-bezier(.16,1,.3,1) both }
39
+ @media (prefers-reduced-motion: reduce) { .aui-f26-in, .aui-f26-glow { animation: none } }
40
+ `;
41
+ function Mark() {
42
+ return /* @__PURE__ */ jsxs("span", { className: "flex items-center gap-2.5 text-[17px] font-semibold tracking-[-0.03em] text-paper", children: [
43
+ /* @__PURE__ */ jsx("span", { "aria-hidden": true, className: "grid h-9 w-9 place-items-center rounded-[10px] bg-brand text-white shadow-[0_8px_24px_-6px_color-mix(in_srgb,var(--brand)_70%,transparent)]", children: /* @__PURE__ */ jsx("svg", { viewBox: "0 0 16 16", className: "h-4 w-4", fill: "none", stroke: "currentColor", strokeWidth: "1.8", strokeLinejoin: "round", children: /* @__PURE__ */ jsx("path", { d: "M8 2.5 13.5 13h-11L8 2.5Z" }) }) }),
44
+ "Astabyte"
45
+ ] });
46
+ }
47
+ function CenteredFooter({
48
+ brand = /* @__PURE__ */ jsx(Mark, {}),
49
+ tagline = /* @__PURE__ */ jsxs(Fragment, { children: [
50
+ "Tools for small teams ",
51
+ /* @__PURE__ */ jsx("span", { className: "text-paper/45", children: "who ship every week." })
52
+ ] }),
53
+ links = DEFAULT_LINKS,
54
+ socials = DEFAULT_SOCIALS,
55
+ legal,
56
+ className
57
+ }) {
58
+ const glow = useRef(null);
59
+ const year = (/* @__PURE__ */ new Date()).getFullYear();
60
+ const follow = (e) => {
61
+ const el = glow.current;
62
+ if (!el || window.matchMedia("(prefers-reduced-motion: reduce)").matches) return;
63
+ if (!e) {
64
+ el.style.transform = "translate(-50%, -50%)";
65
+ return;
66
+ }
67
+ const r = e.currentTarget.getBoundingClientRect();
68
+ el.style.transform = `translate(calc(-50% + ${e.clientX - r.left - r.width / 2}px), calc(-50% + ${e.clientY - r.top - r.height / 2}px))`;
69
+ };
70
+ return /* @__PURE__ */ jsxs(
71
+ "footer",
72
+ {
73
+ onPointerMove: follow,
74
+ onPointerLeave: () => follow(null),
75
+ className: cx("relative isolate flex w-full flex-col items-center overflow-hidden rounded-2xl bg-ink px-6 pb-8 pt-14 text-center text-paper sm:pt-16", className),
76
+ children: [
77
+ /* @__PURE__ */ jsx("div", { "aria-hidden": true, className: "pointer-events-none absolute left-1/2 top-[38%] -z-10", children: /* @__PURE__ */ jsx("div", { ref: glow, className: cx("transition-transform duration-[1200ms] motion-reduce:transition-none", EASE), style: { transform: "translate(-50%, -50%)" }, children: /* @__PURE__ */ jsx("div", { className: "aui-f26-glow h-[420px] w-[420px] rounded-full bg-[radial-gradient(closest-side,color-mix(in_srgb,var(--brand)_38%,transparent),transparent)] blur-2xl" }) }) }),
78
+ /* @__PURE__ */ jsx("div", { className: "aui-f26-in", style: step(0), children: brand }),
79
+ /* @__PURE__ */ jsx("p", { className: "aui-f26-in mt-6 max-w-[17ch] text-[34px] font-medium leading-[1.04] tracking-[-0.045em] sm:text-[44px]", style: step(1), children: tagline }),
80
+ /* @__PURE__ */ jsx("nav", { "aria-label": "Footer", className: "aui-f26-in mt-9", style: step(2), children: /* @__PURE__ */ jsx("ul", { className: "flex flex-wrap justify-center gap-x-1 gap-y-1", children: links.map((l) => /* @__PURE__ */ jsx("li", { children: /* @__PURE__ */ jsx(
81
+ "a",
82
+ {
83
+ href: l.href,
84
+ className: cx("inline-flex h-8 items-center rounded-[8px] px-3 text-[13.5px] text-paper/65 transition-[color,background-color] duration-300 hover:bg-paper/[0.07] hover:text-paper", ring),
85
+ children: l.label
86
+ }
87
+ ) }, l.label)) }) }),
88
+ /* @__PURE__ */ jsx("ul", { className: "mt-8 flex items-center gap-2.5", children: socials.map((s, i) => /* @__PURE__ */ jsx("li", { className: "aui-f26-in", style: step(3 + i), children: /* @__PURE__ */ jsxs(
89
+ "a",
90
+ {
91
+ href: s.href,
92
+ "aria-label": s.label,
93
+ className: cx(
94
+ "group/s relative grid h-10 w-10 place-items-center rounded-[10px] bg-paper/[0.06] text-paper/70 shadow-[inset_0_0_0_1px_color-mix(in_srgb,var(--paper)_10%,transparent)] transition-[transform,color,background-color] duration-500 hover:-translate-y-1 hover:bg-paper/[0.1] hover:text-paper focus-visible:-translate-y-1 active:scale-95 motion-reduce:transition-colors motion-reduce:hover:translate-y-0",
95
+ EASE,
96
+ ring
97
+ ),
98
+ children: [
99
+ /* @__PURE__ */ jsx("svg", { viewBox: "0 0 18 18", className: "h-4 w-4", "aria-hidden": true, children: GLYPHS[s.icon] }),
100
+ /* @__PURE__ */ jsx(
101
+ "span",
102
+ {
103
+ "aria-hidden": true,
104
+ className: cx(
105
+ "pointer-events-none absolute -top-8 left-1/2 -translate-x-1/2 translate-y-1 whitespace-nowrap rounded-[6px] bg-paper px-2 py-1 text-[11px] font-medium text-ink opacity-0 transition-[transform,opacity] duration-300 group-hover/s:translate-y-0 group-hover/s:opacity-100 group-focus-visible/s:translate-y-0 group-focus-visible/s:opacity-100",
106
+ EASE
107
+ ),
108
+ children: s.label
109
+ }
110
+ )
111
+ ]
112
+ }
113
+ ) }, s.label)) }),
114
+ /* @__PURE__ */ jsx("div", { className: "aui-f26-in mt-14 flex w-full flex-wrap items-center justify-center gap-x-5 gap-y-2 font-mono text-[11.5px] text-paper/40 sm:justify-between", style: step(3 + socials.length), children: legal ?? /* @__PURE__ */ jsxs(Fragment, { children: [
115
+ /* @__PURE__ */ jsxs("span", { children: [
116
+ "\xA9 ",
117
+ year,
118
+ " Astabyte Made with care in Lisbon."
119
+ ] }),
120
+ /* @__PURE__ */ jsxs("span", { className: "flex gap-5", children: [
121
+ /* @__PURE__ */ jsx("a", { href: "#", className: cx("rounded-[4px] transition-colors hover:text-paper", ring), children: "Privacy" }),
122
+ /* @__PURE__ */ jsx("a", { href: "#", className: cx("rounded-[4px] transition-colors hover:text-paper", ring), children: "Terms" }),
123
+ /* @__PURE__ */ jsx("a", { href: "#", className: cx("rounded-[4px] transition-colors hover:text-paper", ring), children: "Security" })
124
+ ] })
125
+ ] }) }),
126
+ /* @__PURE__ */ jsx("style", { href: "asta-footer-aui-026", precedence: "asta", children: CSS })
127
+ ]
128
+ }
129
+ );
130
+ }
131
+ var footer_aui_026_default = CenteredFooter;
132
+
133
+ export {
134
+ CenteredFooter,
135
+ footer_aui_026_default
136
+ };