@latte-macchiat-io/latte-payload 1.0.5 → 1.0.6
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 +2 -2
- package/dist/components/admin/client-space-button.d.ts.map +1 -1
- package/dist/components/admin/client-space-button.js +32 -4
- package/dist/components/admin/client-space-button.js.map +1 -1
- package/dist/components/index.d.ts +1 -0
- package/dist/components/index.d.ts.map +1 -1
- package/dist/components/index.js +2 -0
- package/dist/components/index.js.map +1 -1
- package/dist/components/latte-logo-icon.d.ts +4 -0
- package/dist/components/latte-logo-icon.d.ts.map +1 -0
- package/dist/components/latte-logo-icon.js +5 -0
- package/dist/components/latte-logo-icon.js.map +1 -0
- package/package.json +1 -1
- package/src/components/admin/client-space-button.tsx +61 -15
- package/src/components/index.ts +3 -0
- package/src/components/latte-logo-icon.tsx +23 -0
package/README.md
CHANGED
|
@@ -327,7 +327,7 @@ SMTP_FROM_ADDRESS=noreply@yourdomain.com
|
|
|
327
327
|
EMAIL_DEFAULT_CONTACT_ADDRESS=contact@yourdomain.com
|
|
328
328
|
|
|
329
329
|
# Dashboard widget
|
|
330
|
-
|
|
330
|
+
NEXT_PUBLIC_CLIENT_DASHBOARD_URL=https://dashboard.latte-macchiat.io/your-project
|
|
331
331
|
|
|
332
332
|
# S3 Storage (optional)
|
|
333
333
|
S3_ENDPOINT=https://s3.amazonaws.com
|
|
@@ -363,7 +363,7 @@ export default buildConfig({
|
|
|
363
363
|
|
|
364
364
|
```bash
|
|
365
365
|
# URL to your Latte Macchiat.io dashboard
|
|
366
|
-
|
|
366
|
+
NEXT_PUBLIC_CLIENT_DASHBOARD_URL=https://dashboard.latte-macchiat.io/your-project
|
|
367
367
|
```
|
|
368
368
|
|
|
369
369
|
**Features:**
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"client-space-button.d.ts","sourceRoot":"","sources":["../../../src/components/admin/client-space-button.tsx"],"names":[],"mappings":"AAGA,OAAO,KAAK,MAAM,OAAO,CAAC;
|
|
1
|
+
{"version":3,"file":"client-space-button.d.ts","sourceRoot":"","sources":["../../../src/components/admin/client-space-button.tsx"],"names":[],"mappings":"AAGA,OAAO,KAAK,MAAM,OAAO,CAAC;AAM1B,eAAO,MAAM,iBAAiB,EAAE,KAAK,CAAC,EA0FrC,CAAC;AAGF,eAAe,iBAAiB,CAAC"}
|
|
@@ -1,8 +1,9 @@
|
|
|
1
1
|
'use client';
|
|
2
2
|
import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
3
3
|
import { Banner, Button } from '@payloadcms/ui';
|
|
4
|
+
import { LatteLogoIcon } from '../latte-logo-icon';
|
|
4
5
|
const isDev = process.env.NODE_ENV === 'development';
|
|
5
|
-
const dashboardUrl = process.env.
|
|
6
|
+
const dashboardUrl = process.env.NEXT_PUBLIC_CLIENT_DASHBOARD_URL;
|
|
6
7
|
export const ClientSpaceButton = () => {
|
|
7
8
|
// Hide in production if URL is not set
|
|
8
9
|
if (!dashboardUrl && !isDev) {
|
|
@@ -15,11 +16,38 @@ export const ClientSpaceButton = () => {
|
|
|
15
16
|
};
|
|
16
17
|
const showWarning = !dashboardUrl && isDev;
|
|
17
18
|
return (_jsxs("div", { style: { marginBottom: '1.5rem' }, children: [_jsxs("div", { style: {
|
|
19
|
+
display: 'flex',
|
|
20
|
+
alignItems: 'stretch',
|
|
21
|
+
gap: '1.5rem',
|
|
18
22
|
padding: '1.5rem',
|
|
19
|
-
|
|
23
|
+
background: 'linear-gradient(135deg, #FCEFE6 0%, #FFBEC0 100%)',
|
|
20
24
|
borderRadius: 'var(--border-radius-m)',
|
|
21
|
-
border: '
|
|
22
|
-
|
|
25
|
+
border: '2px solid #2E2E2E',
|
|
26
|
+
boxShadow: '4px 4px 0px #2E2E2E',
|
|
27
|
+
}, children: [_jsxs("div", { style: {
|
|
28
|
+
display: 'flex',
|
|
29
|
+
alignItems: 'center',
|
|
30
|
+
justifyContent: 'center',
|
|
31
|
+
padding: '1rem',
|
|
32
|
+
backgroundColor: 'white',
|
|
33
|
+
borderRadius: 'var(--border-radius-s)',
|
|
34
|
+
border: '2px solid #2E2E2E',
|
|
35
|
+
}, children: [_jsx(LatteLogoIcon, { className: "latte-logo" }), _jsx("style", { children: `
|
|
36
|
+
.latte-logo {
|
|
37
|
+
width: 80px;
|
|
38
|
+
height: auto;
|
|
39
|
+
}
|
|
40
|
+
` })] }), _jsxs("div", { style: { flex: 1, display: 'flex', flexDirection: 'column', justifyContent: 'center' }, children: [_jsx("div", { style: { marginBottom: '0.5rem', fontSize: '1.1rem', fontWeight: 700, color: '#2E2E2E' }, children: "\u2615 Latte Macchiat.io Dashboard" }), _jsx("div", { style: { fontSize: '0.9rem', color: '#2E2E2E', lineHeight: '1.5', opacity: 0.8 }, children: "Questions, new features, issues? Access your dedicated Latte dashboard." })] }), _jsxs("div", { style: { display: 'flex', alignItems: 'center' }, children: [_jsx(Button, { buttonStyle: showWarning ? 'secondary' : 'primary', disabled: !dashboardUrl, onClick: handleClick, size: "medium", "aria-label": showWarning ? 'Dashboard URL not configured' : 'Open Latte Dashboard in new tab', className: dashboardUrl ? 'latte-dashboard-button' : undefined, children: showWarning ? '⚠️ Dashboard URL not set' : '🚀 Open Dashboard' }), dashboardUrl && (_jsx("style", { children: `
|
|
41
|
+
.latte-dashboard-button {
|
|
42
|
+
background-color: #FF7377 !important;
|
|
43
|
+
border-color: #2E2E2E !important;
|
|
44
|
+
color: #2E2E2E !important;
|
|
45
|
+
font-weight: 600 !important;
|
|
46
|
+
}
|
|
47
|
+
.latte-dashboard-button:hover {
|
|
48
|
+
background-color: #ff5a5f !important;
|
|
49
|
+
}
|
|
50
|
+
` }))] })] }), showWarning && (_jsx("div", { style: { marginTop: '1rem' }, children: _jsxs(Banner, { type: "error", children: ["Set ", _jsx("code", { children: "NEXT_PUBLIC_CLIENT_DASHBOARD_URL" }), " in your environment variables"] }) }))] }));
|
|
23
51
|
};
|
|
24
52
|
// Default export for Payload dashboard widget
|
|
25
53
|
export default ClientSpaceButton;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"client-space-button.js","sourceRoot":"","sources":["../../../src/components/admin/client-space-button.tsx"],"names":[],"mappings":"AAAA,YAAY,CAAC;;AAEb,OAAO,EAAE,MAAM,EAAE,MAAM,EAAE,MAAM,gBAAgB,CAAC;
|
|
1
|
+
{"version":3,"file":"client-space-button.js","sourceRoot":"","sources":["../../../src/components/admin/client-space-button.tsx"],"names":[],"mappings":"AAAA,YAAY,CAAC;;AAEb,OAAO,EAAE,MAAM,EAAE,MAAM,EAAE,MAAM,gBAAgB,CAAC;AAEhD,OAAO,EAAE,aAAa,EAAE,MAAM,oBAAoB,CAAC;AAEnD,MAAM,KAAK,GAAG,OAAO,CAAC,GAAG,CAAC,QAAQ,KAAK,aAAa,CAAC;AACrD,MAAM,YAAY,GAAG,OAAO,CAAC,GAAG,CAAC,gCAAgC,CAAC;AAElE,MAAM,CAAC,MAAM,iBAAiB,GAAa,GAAG,EAAE;IAC9C,uCAAuC;IACvC,IAAI,CAAC,YAAY,IAAI,CAAC,KAAK,EAAE,CAAC;QAC5B,OAAO,IAAI,CAAC;IACd,CAAC;IAED,MAAM,WAAW,GAAG,GAAG,EAAE;QACvB,IAAI,YAAY,EAAE,CAAC;YACjB,MAAM,CAAC,IAAI,CAAC,YAAY,EAAE,QAAQ,EAAE,qBAAqB,CAAC,CAAC;QAC7D,CAAC;IACH,CAAC,CAAC;IAEF,MAAM,WAAW,GAAG,CAAC,YAAY,IAAI,KAAK,CAAC;IAE3C,OAAO,CACL,eAAK,KAAK,EAAE,EAAE,YAAY,EAAE,QAAQ,EAAE,aACpC,eACE,KAAK,EAAE;oBACL,OAAO,EAAE,MAAM;oBACf,UAAU,EAAE,SAAS;oBACrB,GAAG,EAAE,QAAQ;oBACb,OAAO,EAAE,QAAQ;oBACjB,UAAU,EAAE,mDAAmD;oBAC/D,YAAY,EAAE,wBAAwB;oBACtC,MAAM,EAAE,mBAA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;;;;;;;;;;aAUP,GAAS,CACX,IACG,IACF,EACL,WAAW,IAAI,CACd,cAAK,KAAK,EAAE,EAAE,SAAS,EAAE,MAAM,EAAE,YAC/B,MAAC,MAAM,IAAC,IAAI,EAAC,OAAO,qBACd,8DAA6C,sCAC1C,GACL,CACP,IACG,CACP,CAAC;AACJ,CAAC,CAAC;AAEF,8CAA8C;AAC9C,eAAe,iBAAiB,CAAC"}
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
export { HTMLViewer } from '../collections/QueuedEmails/components/HtmlViewer';
|
|
2
2
|
export { RetryEmailButtons } from '../collections/QueuedEmails/components/RetryEmailButtons';
|
|
3
|
+
export { LatteLogoIcon } from './latte-logo-icon';
|
|
3
4
|
export { ClientSpaceButton } from './admin/client-space-button';
|
|
4
5
|
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/components/index.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,UAAU,EAAE,MAAM,mDAAmD,CAAC;AAC/E,OAAO,EAAE,iBAAiB,EAAE,MAAM,0DAA0D,CAAC;AAG7F,OAAO,EAAE,iBAAiB,EAAE,MAAM,6BAA6B,CAAC"}
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/components/index.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,UAAU,EAAE,MAAM,mDAAmD,CAAC;AAC/E,OAAO,EAAE,iBAAiB,EAAE,MAAM,0DAA0D,CAAC;AAG7F,OAAO,EAAE,aAAa,EAAE,MAAM,mBAAmB,CAAC;AAGlD,OAAO,EAAE,iBAAiB,EAAE,MAAM,6BAA6B,CAAC"}
|
package/dist/components/index.js
CHANGED
|
@@ -1,6 +1,8 @@
|
|
|
1
1
|
// Re-export components from collections for backward compatibility
|
|
2
2
|
export { HTMLViewer } from '../collections/QueuedEmails/components/HtmlViewer';
|
|
3
3
|
export { RetryEmailButtons } from '../collections/QueuedEmails/components/RetryEmailButtons';
|
|
4
|
+
// Latte-related components
|
|
5
|
+
export { LatteLogoIcon } from './latte-logo-icon';
|
|
4
6
|
// Export admin components
|
|
5
7
|
export { ClientSpaceButton } from './admin/client-space-button';
|
|
6
8
|
//# sourceMappingURL=index.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/components/index.ts"],"names":[],"mappings":"AAAA,mEAAmE;AACnE,OAAO,EAAE,UAAU,EAAE,MAAM,mDAAmD,CAAC;AAC/E,OAAO,EAAE,iBAAiB,EAAE,MAAM,0DAA0D,CAAC;AAE7F,0BAA0B;AAC1B,OAAO,EAAE,iBAAiB,EAAE,MAAM,6BAA6B,CAAC"}
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/components/index.ts"],"names":[],"mappings":"AAAA,mEAAmE;AACnE,OAAO,EAAE,UAAU,EAAE,MAAM,mDAAmD,CAAC;AAC/E,OAAO,EAAE,iBAAiB,EAAE,MAAM,0DAA0D,CAAC;AAE7F,2BAA2B;AAC3B,OAAO,EAAE,aAAa,EAAE,MAAM,mBAAmB,CAAC;AAElD,0BAA0B;AAC1B,OAAO,EAAE,iBAAiB,EAAE,MAAM,6BAA6B,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"latte-logo-icon.d.ts","sourceRoot":"","sources":["../../src/components/latte-logo-icon.tsx"],"names":[],"mappings":"AAGA,eAAO,MAAM,aAAa,EAAE,KAAK,CAAC,EAAE,CAAC;IAAE,SAAS,CAAC,EAAE,MAAM,CAAA;CAAE,CAmB1D,CAAC"}
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
2
|
+
// prettier-ignore
|
|
3
|
+
// Official Latte Macchiat.io Logo
|
|
4
|
+
export const LatteLogoIcon = ({ className }) => (_jsxs("svg", { xmlns: "http://www.w3.org/2000/svg", xmlSpace: "preserve", viewBox: "0 0 1110.7 359.7", className: className, children: [_jsx("style", { children: `.st2{fill:#fff}.st10{fill:#fcefe6}.st11{fill:none;stroke:#fff;stroke-width:1.3438;stroke-linecap:round;stroke-linejoin:round;stroke-miterlimit:10}.st13{fill:#2e2e2e}` }), _jsxs("g", { id: "Layer_1", children: [_jsx("path", { d: "m80.1 252.5 7.3 51.6h99.5l31.3-211.8s.4-4.2.5-5.7c.1-2.3-.7-5.9-1.6-7.8-.7-1.4-1.8-3.2-3.1-5.5-4.3-7.1-11.9-8.9-17-10.2l-.8-.2c-2.1-.5-4-.9-5.5-1.5q-1.8-.75-2.4-1.5c-.8-1-1.1-4.4-1.3-6l-.1-.6c-.2-1.6-.4-3.5-.7-5.2-.5-2.8-1.3-4.9-2.4-6.8l-1.6-1.8c-4.2-3.4-8.8-5.2-13.9-5.2-4.8-.1-9.1 1.4-12.3 2.6-1.7.7-3.5 1.5-5.3 2.3-1.5.7-3 1.3-4.4 1.9-3.1 1.3-5.4 1.8-7.3 1.9-2.8 0-6-1.2-11-3.2-4.5-1.9-10.1-4.3-16.3-4.4-5.8-.1-12.6 2-17.3 3.8-6.1 2.3-11.5 5.2-15 8-4.6 3.7-8.9 10.6-13.4 18.2-2.5 4.2-5.8 10.6-7.4 17.1-.8 3.2-.9 6.8-.3 10.7l8.7 70.9c-6.7-1.9-13.7-2.4-20.7-1.4-21.8 3.1-39.3 21.2-41.7 43.1-1.4 14 3 27.6 12.4 38.2 9.3 10.4 22.6 16.3 36.6 16.3 9.4 0 18.7-2.8 26.5-7.8m-46.4-41c0-10.3 8.6-18.7 19.2-18.7s19.2 8.4 19.2 18.7-8.6 18.7-19.2 18.7-19.2-8.4-19.2-18.7", className: "st2" }), _jsxs("linearGradient", { id: "SVGID_00000044892096903170744450000016791988413877083265_", x1: "108.166", x2: "108.166", y1: "311.745", y2: "118.696", gradientUnits: "userSpaceOnUse", children: [_jsx("stop", { offset: "0", style: { stopColor: '#fcf0e6' } }), _jsx("stop", { offset: "1", style: { stopColor: '#d0af94' } })] }), _jsx("path", { d: "m63 135.2 4.1 28.8c-6.7-1.9-13.7-2.4-20.7-1.4-21.8 3.1-39.3 21.2-41.7 43.1C3.2 219.8 7.6 233.4 17 244c9.3 10.4 22.6 16.3 36.6 16.3 9.4 0 18.7-2.7 26.6-7.8l7.3 51.6h95.7l28.7-168.9zm-10.1 95c-10.6 0-19.2-8.4-19.2-18.7s8.6-18.7 19.2-18.7 19.2 8.4 19.2 18.7-8.6 18.7-19.2 18.7", style: { fill: 'url(#SVGID_00000044892096903170744450000016791988413877083265_)' } }), _jsx("path", { d: "M91 308c-2 0-3.6-1.4-3.9-3.4L79.8 253c-7.8 4.9-17 7.6-26.3 7.6-27.3 0-49.5-22.2-49.5-49.5s22.2-49.5 49.5-49.5c4.4 0 8.8.6 13 1.7L55.3 89.9c-.1-.8 0-1.5.3-2.2.2-.5.4-.9.7-1.2.7-.9 1.8-1.6 2.9-1.6h88.7c2.2 0 3.9 1.8 3.9 3.9 0 2.2-1.8 3.9-3.9 3.9H63.7l11.6 76c.2 1.4-.3 2.8-1.5 3.7-1.1.9-2.6 1.1-3.9.5-5.2-2.2-10.7-3.3-16.4-3.3-23 0-41.6 18.7-41.6 41.6 0 23 18.7 41.7 41.6 41.7 9.8 0 19.3-3.5 26.7-9.7 1.1-.9 2.6-1.2 3.9-.7s2.3 1.7 2.5 3.1l7.7 54.6h85.5l30.7-207.5h-19c-2.2 0-3.9-1.8-3.9-3.9 0-2.2 1.8-3.9 3.9-3.9H215c1.1 0 2.2.5 3 1.4.7.8 1 1.8.9 2.8v.9l-.5 2.8-31.3 212c-.3 1.9-1.9 3.3-3.9 3.3zm-38.1-70.3c-14.7 0-26.7-11.7-26.7-26.2s12-26.2 26.7-26.2 26.7 11.7 26.7 26.2-12 26.2-26.7 26.2m0-44.5c-10.4 0-18.9 8.2-18.9 18.3s8.5 18.3 18.9 18.3 18.9-8.2 18.9-18.3-8.5-18.3-18.9-18.3", className: "st13" }), _jsx("path", { d: "M239.3 91.2c-1.9 0-3.6-1.4-3.9-3.3-.3-2.1 1.2-4.1 3.3-4.4l38.4-5.7c2.1-.3 4.1 1.2 4.4 3.3s-1.2 4.1-3.3 4.4l-38.4 5.7zM235.1 58.2c-1 0-2.1-.4-2.8-1.2-1.5-1.6-1.4-4 .1-5.5l27-25.8c1.6-1.5 4-1.4 5.5.1 1.5 1.6 1.4 4-.1 5.5l-27 25.8c-.8.8-1.7 1.1-2.7 1.1M205.2 48.2h-.1c-2.2-.1-3.8-1.9-3.8-4.1 1.4-37.3 1.4-37.6 1.5-38 .4-2.1 2.5-3.5 4.6-3 2 .4 3.3 2.2 3.1 4.2-.1 1.6-.9 23-1.4 37.1-.1 2.1-1.8 3.8-3.9 3.8", className: "st2" }), _jsx("path", { d: "M247.3 268.4 153.2 228c-4.7-2-9.8 2-9 7.1L160.8 337c.9 5.7 8.5 6.7 10.9 1.5l16.2-35.4 39.3 50.5 20.4-16.2-39.3-50.5 37.9-7.6c5.6-.9 6.3-8.6 1.1-10.9M528.2 243.9c-2.2-2.5-4.7-4.6-7.7-6.2-4.3-2.5-9.3-3.7-15-3.7-6.7 0-12.8 1.8-18.2 5.3-5.4 3.4-9.6 8-12.8 13.9-3.1 5.8-4.6 12.3-4.6 19.6 0 7.2 1.5 13.8 4.6 19.6 3.2 5.8 7.5 10.4 12.8 13.8 5.5 3.4 11.5 5.1 18.2 5.1 5.7 0 10.7-1.2 15.1-3.6 3-1.7 5.5-3.8 7.6-6.2v8.2h17v-74.2h-17zm-4.8 45c-3.8 4.2-8.9 6.3-15.1 6.3-4.1 0-7.8-.9-11-2.8-3.1-2-5.6-4.6-7.4-8s-2.6-7.3-2.6-11.7.9-8.3 2.6-11.7c1.9-3.4 4.3-6 7.4-7.9 3.2-2 6.9-2.9 11-2.9 4.2 0 7.9 1 11 2.9 3.2 1.9 5.7 4.5 7.4 7.9 1.8 3.4 2.6 7.3 2.6 11.7 0 6.6-2 12-5.9 16.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2.6-6.3-2.6c-2.6 0-4.7.9-6.4 2.6s-2.5 3.9-2.5 6.4.8 4.7 2.5 6.4 3.8 2.6 6.4 2.6 4.7-.8 6.3-2.6M1009.7 239.9h14.3v52.3h-14.3zM1098.1 307.2l-112.8 20.1c-2.3.4-3.9 2.6-3.4 4.9.4 2.1 2.2 3.5 4.2 3.5.3 0 .5 0 .8-.1l112.8-20.1c2.3-.4 3.9-2.6 3.4-4.9s-2.8-3.8-5-3.4M361.4 164.5h51v-16.2h-51v-92h-17.7v108.2h12.2zM665.4 162.8c5.2-2.2 9.5-5.4 13.1-9.6l-10.8-11c-2.3 2.6-5 4.5-8.3 5.9-3.2 1.3-6.7 2-10.5 2-4.4 0-8.3-.9-11.7-2.8-3.4-2-6-4.7-7.9-8.2-.9-1.7-1.5-3.5-2-5.4h55.3q.45-2.25.6-4.2.3-1.95.3-3.9c0-7.1-1.5-13.4-4.6-19-3-5.6-7.2-9.9-12.5-13.1s-11.3-4.8-18.2-4.8q-10.65 0-19.5 5.1c-5.8 3.4-10.4 8-13.8 13.9-3.4 5.8-5.1 12.3-5.1 19.6q0 10.95 5.1 19.8c3.5 5.9 8.2 10.5 14.1 13.9 6 3.3 12.7 4.9 20.1 4.9 5.6.1 11.1-1 16.3-3.1M629 115c1.7-3.4 4.2-6 7.4-7.9s7-2.8 11.3-2.8c4.1 0 7.6.8 10.4 2.5 2.9 1.6 5.1 4 6.6 7.1.9 1.7 1.5 3.7 1.9 5.9h-39.3c.4-1.7 1-3.3 1.7-4.8M524.7 164.5h17v-58.7h27.8v58.7h17v-58.7h17.8V90.3h-17.8V59.4h-17v30.9h-27.8V59.4h-17v30.9h-17.8v15.5h17.8zM436.6 160.9c5.5 3.4 11.5 5.1 18.2 5.1 5.7 0 10.7-1.2 15.1-3.6 3-1.7 5.5-3.8 7.6-6.2v8.2h17V90.3h-17v8.3c-2.2-2.5-4.7-4.6-7.7-6.2-4.3-2.5-9.3-3.7-15-3.7-6.7 0-12.8 1.8-18.2 5.3-5.4 3.4-9.6 8-12.8 13.9-3.1 5.8-4.6 12.3-4.6 19.6 0 7.2 1.5 13.8 4.6 19.6s7.4 10.4 12.8 13.8m2.6-45.3c1.9-3.4 4.3-6 7.4-7.9 3.2-2 6.9-2.9 11-2.9 4.2 0 7.9 1 11 2.9 3.2 1.9 5.7 4.5 7.4 7.9 1.8 3.4 2.6 7.3 2.6 11.7 0 6.6-2 12-5.9 16.2-3.8 4.2-8.9 6.3-15.1 6.3-4.1 0-7.8-.9-11-2.8-3.1-2-5.6-4.6-7.4-8s-2.6-7.3-2.6-11.7c0-4.3.8-8.3 2.6-11.7", className: "st13" })] })] }));
|
|
5
|
+
//# sourceMappingURL=latte-logo-icon.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"latte-logo-icon.js","sourceRoot":"","sources":["../../src/components/latte-logo-icon.tsx"],"names":[],"mappings":";AAAA,kBAAkB;AAElB,kCAAkC;AAClC,MAAM,CAAC,MAAM,aAAa,GAAqC,CAAC,EAAE,SAAS,EAAE,EAAE,EAAE,CAAC,CAChF,eACE,KAAK,EAAC,4BAA4B,EAClC,QAAQ,EAAC,UAAU,EACnB,OAAO,EAAC,kBAAkB,EAC1B,SAAS,EAAE,SAAS,aACpB,0BAAQ,uKAAuK,GAAS,EACxL,aAAG,EAAE,EAAC,SAAS,aACb,eAAM,CAAC,EAAC,0vBAA0vB,EAAC,SAAS,EAAC,KAAK,GAAE,EACpxB,0BAAgB,EAAE,EAAC,2DAA2D,EAAC,EAAE,EAAC,SAAS,EAAC,EAAE,EAAC,SAAS,EAAC,EAAE,EAAC,SAAS,EAAC,EAAE,EAAC,SAAS,EAAC,aAAa,EAAC,gBAAgB,aAC/J,eAAM,MAAM,EAAC,GAAG,EAAC,KAAK,EAAE,EAAE,SAAS,EAAE,SAAS,EAAE,GAAG,EACnD,eAAM,MAAM,EAAC,GAAG,EAAC,KAAK,EAAE,EAAE,SAAS,EAAE,SAAS,EAAE,GAAG,IACpC,EACjB,eAAM,CAAC,EAAC,mRAAmR,EAAC,KAAK,EAAE,EAAE,IAAI,EAAE,iEAAiE,EAAE,GAAG,EACjX,eAAM,CAAC,EAAC,6wBAA6wB,EAAC,SAAS,EAAC,MAAM,GAAE,EACxyB,eAAM,CAAC,EAAC,kZAAkZ,EAAC,SAAS,EAAC,KAAK,GAAE,EAC5a,eAAM,CAAC,EAAC,uyKAAuyK,EAAC,SAAS,EAAC,MAAM,GAAE,IACh0K,IACA,CACP,CAAC"}
|
package/package.json
CHANGED
|
@@ -2,9 +2,10 @@
|
|
|
2
2
|
|
|
3
3
|
import { Banner, Button } from '@payloadcms/ui';
|
|
4
4
|
import React from 'react';
|
|
5
|
+
import { LatteLogoIcon } from '../latte-logo-icon';
|
|
5
6
|
|
|
6
7
|
const isDev = process.env.NODE_ENV === 'development';
|
|
7
|
-
const dashboardUrl = process.env.
|
|
8
|
+
const dashboardUrl = process.env.NEXT_PUBLIC_CLIENT_DASHBOARD_URL;
|
|
8
9
|
|
|
9
10
|
export const ClientSpaceButton: React.FC = () => {
|
|
10
11
|
// Hide in production if URL is not set
|
|
@@ -24,28 +25,73 @@ export const ClientSpaceButton: React.FC = () => {
|
|
|
24
25
|
<div style={{ marginBottom: '1.5rem' }}>
|
|
25
26
|
<div
|
|
26
27
|
style={{
|
|
28
|
+
display: 'flex',
|
|
29
|
+
alignItems: 'stretch',
|
|
30
|
+
gap: '1.5rem',
|
|
27
31
|
padding: '1.5rem',
|
|
28
|
-
|
|
32
|
+
background: 'linear-gradient(135deg, #FCEFE6 0%, #FFBEC0 100%)',
|
|
29
33
|
borderRadius: 'var(--border-radius-m)',
|
|
30
|
-
border: '
|
|
34
|
+
border: '2px solid #2E2E2E',
|
|
35
|
+
boxShadow: '4px 4px 0px #2E2E2E',
|
|
31
36
|
}}>
|
|
32
|
-
|
|
33
|
-
<div
|
|
34
|
-
|
|
37
|
+
{/* Logo */}
|
|
38
|
+
<div
|
|
39
|
+
style={{
|
|
40
|
+
display: 'flex',
|
|
41
|
+
alignItems: 'center',
|
|
42
|
+
justifyContent: 'center',
|
|
43
|
+
padding: '1rem',
|
|
44
|
+
backgroundColor: 'white',
|
|
45
|
+
borderRadius: 'var(--border-radius-s)',
|
|
46
|
+
border: '2px solid #2E2E2E',
|
|
47
|
+
}}>
|
|
48
|
+
<LatteLogoIcon className="latte-logo" />
|
|
49
|
+
<style>{`
|
|
50
|
+
.latte-logo {
|
|
51
|
+
width: 80px;
|
|
52
|
+
height: auto;
|
|
53
|
+
}
|
|
54
|
+
`}</style>
|
|
55
|
+
</div>
|
|
56
|
+
|
|
57
|
+
{/* Content */}
|
|
58
|
+
<div style={{ flex: 1, display: 'flex', flexDirection: 'column', justifyContent: 'center' }}>
|
|
59
|
+
<div style={{ marginBottom: '0.5rem', fontSize: '1.1rem', fontWeight: 700, color: '#2E2E2E' }}>☕ Latte Macchiat.io Dashboard</div>
|
|
60
|
+
<div style={{ fontSize: '0.9rem', color: '#2E2E2E', lineHeight: '1.5', opacity: 0.8 }}>
|
|
61
|
+
Questions, new features, issues? Access your dedicated Latte dashboard.
|
|
62
|
+
</div>
|
|
63
|
+
</div>
|
|
64
|
+
|
|
65
|
+
{/* Button on the right */}
|
|
66
|
+
<div style={{ display: 'flex', alignItems: 'center' }}>
|
|
67
|
+
<Button
|
|
68
|
+
buttonStyle={showWarning ? 'secondary' : 'primary'}
|
|
69
|
+
disabled={!dashboardUrl}
|
|
70
|
+
onClick={handleClick}
|
|
71
|
+
size="medium"
|
|
72
|
+
aria-label={showWarning ? 'Dashboard URL not configured' : 'Open Latte Dashboard in new tab'}
|
|
73
|
+
className={dashboardUrl ? 'latte-dashboard-button' : undefined}>
|
|
74
|
+
{showWarning ? '⚠️ Dashboard URL not set' : '🚀 Open Dashboard'}
|
|
75
|
+
</Button>
|
|
76
|
+
{dashboardUrl && (
|
|
77
|
+
<style>{`
|
|
78
|
+
.latte-dashboard-button {
|
|
79
|
+
background-color: #FF7377 !important;
|
|
80
|
+
border-color: #2E2E2E !important;
|
|
81
|
+
color: #2E2E2E !important;
|
|
82
|
+
font-weight: 600 !important;
|
|
83
|
+
}
|
|
84
|
+
.latte-dashboard-button:hover {
|
|
85
|
+
background-color: #ff5a5f !important;
|
|
86
|
+
}
|
|
87
|
+
`}</style>
|
|
88
|
+
)}
|
|
35
89
|
</div>
|
|
36
|
-
<Button
|
|
37
|
-
buttonStyle={showWarning ? 'secondary' : 'primary'}
|
|
38
|
-
disabled={!dashboardUrl}
|
|
39
|
-
onClick={handleClick}
|
|
40
|
-
size="medium"
|
|
41
|
-
aria-label={showWarning ? 'Dashboard URL not set' : 'Open Latte Dashboard in new tab'}>
|
|
42
|
-
{showWarning ? '⚠️ Dashboard URL not set' : 'Open Latte Dashboard'}
|
|
43
|
-
</Button>
|
|
44
90
|
</div>
|
|
45
91
|
{showWarning && (
|
|
46
92
|
<div style={{ marginTop: '1rem' }}>
|
|
47
93
|
<Banner type="error">
|
|
48
|
-
Set <code>
|
|
94
|
+
Set <code>NEXT_PUBLIC_CLIENT_DASHBOARD_URL</code> in your environment variables
|
|
49
95
|
</Banner>
|
|
50
96
|
</div>
|
|
51
97
|
)}
|
package/src/components/index.ts
CHANGED
|
@@ -2,5 +2,8 @@
|
|
|
2
2
|
export { HTMLViewer } from '../collections/QueuedEmails/components/HtmlViewer';
|
|
3
3
|
export { RetryEmailButtons } from '../collections/QueuedEmails/components/RetryEmailButtons';
|
|
4
4
|
|
|
5
|
+
// Latte-related components
|
|
6
|
+
export { LatteLogoIcon } from './latte-logo-icon';
|
|
7
|
+
|
|
5
8
|
// Export admin components
|
|
6
9
|
export { ClientSpaceButton } from './admin/client-space-button';
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
// prettier-ignore
|
|
2
|
+
|
|
3
|
+
// Official Latte Macchiat.io Logo
|
|
4
|
+
export const LatteLogoIcon: React.FC<{ className?: string }> = ({ className }) => (
|
|
5
|
+
<svg
|
|
6
|
+
xmlns="http://www.w3.org/2000/svg"
|
|
7
|
+
xmlSpace="preserve"
|
|
8
|
+
viewBox="0 0 1110.7 359.7"
|
|
9
|
+
className={className}>
|
|
10
|
+
<style>{`.st2{fill:#fff}.st10{fill:#fcefe6}.st11{fill:none;stroke:#fff;stroke-width:1.3438;stroke-linecap:round;stroke-linejoin:round;stroke-miterlimit:10}.st13{fill:#2e2e2e}`}</style>
|
|
11
|
+
<g id="Layer_1">
|
|
12
|
+
<path d="m80.1 252.5 7.3 51.6h99.5l31.3-211.8s.4-4.2.5-5.7c.1-2.3-.7-5.9-1.6-7.8-.7-1.4-1.8-3.2-3.1-5.5-4.3-7.1-11.9-8.9-17-10.2l-.8-.2c-2.1-.5-4-.9-5.5-1.5q-1.8-.75-2.4-1.5c-.8-1-1.1-4.4-1.3-6l-.1-.6c-.2-1.6-.4-3.5-.7-5.2-.5-2.8-1.3-4.9-2.4-6.8l-1.6-1.8c-4.2-3.4-8.8-5.2-13.9-5.2-4.8-.1-9.1 1.4-12.3 2.6-1.7.7-3.5 1.5-5.3 2.3-1.5.7-3 1.3-4.4 1.9-3.1 1.3-5.4 1.8-7.3 1.9-2.8 0-6-1.2-11-3.2-4.5-1.9-10.1-4.3-16.3-4.4-5.8-.1-12.6 2-17.3 3.8-6.1 2.3-11.5 5.2-15 8-4.6 3.7-8.9 10.6-13.4 18.2-2.5 4.2-5.8 10.6-7.4 17.1-.8 3.2-.9 6.8-.3 10.7l8.7 70.9c-6.7-1.9-13.7-2.4-20.7-1.4-21.8 3.1-39.3 21.2-41.7 43.1-1.4 14 3 27.6 12.4 38.2 9.3 10.4 22.6 16.3 36.6 16.3 9.4 0 18.7-2.8 26.5-7.8m-46.4-41c0-10.3 8.6-18.7 19.2-18.7s19.2 8.4 19.2 18.7-8.6 18.7-19.2 18.7-19.2-8.4-19.2-18.7" className="st2"/>
|
|
13
|
+
<linearGradient id="SVGID_00000044892096903170744450000016791988413877083265_" x1="108.166" x2="108.166" y1="311.745" y2="118.696" gradientUnits="userSpaceOnUse">
|
|
14
|
+
<stop offset="0" style={{ stopColor: '#fcf0e6' }}/>
|
|
15
|
+
<stop offset="1" style={{ stopColor: '#d0af94' }}/>
|
|
16
|
+
</linearGradient>
|
|
17
|
+
<path d="m63 135.2 4.1 28.8c-6.7-1.9-13.7-2.4-20.7-1.4-21.8 3.1-39.3 21.2-41.7 43.1C3.2 219.8 7.6 233.4 17 244c9.3 10.4 22.6 16.3 36.6 16.3 9.4 0 18.7-2.7 26.6-7.8l7.3 51.6h95.7l28.7-168.9zm-10.1 95c-10.6 0-19.2-8.4-19.2-18.7s8.6-18.7 19.2-18.7 19.2 8.4 19.2 18.7-8.6 18.7-19.2 18.7" style={{ fill: 'url(#SVGID_00000044892096903170744450000016791988413877083265_)' }}/>
|
|
18
|
+
<path d="M91 308c-2 0-3.6-1.4-3.9-3.4L79.8 253c-7.8 4.9-17 7.6-26.3 7.6-27.3 0-49.5-22.2-49.5-49.5s22.2-49.5 49.5-49.5c4.4 0 8.8.6 13 1.7L55.3 89.9c-.1-.8 0-1.5.3-2.2.2-.5.4-.9.7-1.2.7-.9 1.8-1.6 2.9-1.6h88.7c2.2 0 3.9 1.8 3.9 3.9 0 2.2-1.8 3.9-3.9 3.9H63.7l11.6 76c.2 1.4-.3 2.8-1.5 3.7-1.1.9-2.6 1.1-3.9.5-5.2-2.2-10.7-3.3-16.4-3.3-23 0-41.6 18.7-41.6 41.6 0 23 18.7 41.7 41.6 41.7 9.8 0 19.3-3.5 26.7-9.7 1.1-.9 2.6-1.2 3.9-.7s2.3 1.7 2.5 3.1l7.7 54.6h85.5l30.7-207.5h-19c-2.2 0-3.9-1.8-3.9-3.9 0-2.2 1.8-3.9 3.9-3.9H215c1.1 0 2.2.5 3 1.4.7.8 1 1.8.9 2.8v.9l-.5 2.8-31.3 212c-.3 1.9-1.9 3.3-3.9 3.3zm-38.1-70.3c-14.7 0-26.7-11.7-26.7-26.2s12-26.2 26.7-26.2 26.7 11.7 26.7 26.2-12 26.2-26.7 26.2m0-44.5c-10.4 0-18.9 8.2-18.9 18.3s8.5 18.3 18.9 18.3 18.9-8.2 18.9-18.3-8.5-18.3-18.9-18.3" className="st13"/>
|
|
19
|
+
<path d="M239.3 91.2c-1.9 0-3.6-1.4-3.9-3.3-.3-2.1 1.2-4.1 3.3-4.4l38.4-5.7c2.1-.3 4.1 1.2 4.4 3.3s-1.2 4.1-3.3 4.4l-38.4 5.7zM235.1 58.2c-1 0-2.1-.4-2.8-1.2-1.5-1.6-1.4-4 .1-5.5l27-25.8c1.6-1.5 4-1.4 5.5.1 1.5 1.6 1.4 4-.1 5.5l-27 25.8c-.8.8-1.7 1.1-2.7 1.1M205.2 48.2h-.1c-2.2-.1-3.8-1.9-3.8-4.1 1.4-37.3 1.4-37.6 1.5-38 .4-2.1 2.5-3.5 4.6-3 2 .4 3.3 2.2 3.1 4.2-.1 1.6-.9 23-1.4 37.1-.1 2.1-1.8 3.8-3.9 3.8" className="st2"/>
|
|
20
|
+
<path d="M247.3 268.4 153.2 228c-4.7-2-9.8 2-9 7.1L160.8 337c.9 5.7 8.5 6.7 10.9 1.5l16.2-35.4 39.3 50.5 20.4-16.2-39.3-50.5 37.9-7.6c5.6-.9 6.3-8.6 1.1-10.9M528.2 243.9c-2.2-2.5-4.7-4.6-7.7-6.2-4.3-2.5-9.3-3.7-15-3.7-6.7 0-12.8 1.8-18.2 5.3-5.4 3.4-9.6 8-12.8 13.9-3.1 5.8-4.6 12.3-4.6 19.6 0 7.2 1.5 13.8 4.6 19.6 3.2 5.8 7.5 10.4 12.8 13.8 5.5 3.4 11.5 5.1 18.2 5.1 5.7 0 10.7-1.2 15.1-3.6 3-1.7 5.5-3.8 7.6-6.2v8.2h17v-74.2h-17zm-4.8 45c-3.8 4.2-8.9 6.3-15.1 6.3-4.1 0-7.8-.9-11-2.8-3.1-2-5.6-4.6-7.4-8s-2.6-7.3-2.6-11.7.9-8.3 2.6-11.7c1.9-3.4 4.3-6 7.4-7.9 3.2-2 6.9-2.9 11-2.9 4.2 0 7.9 1 11 2.9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-5.1 1.7-7.2M993.8 290.6c1.7-1.7 2.5-3.9 2.5-6.4s-.8-4.7-2.5-6.4-3.8-2.6-6.3-2.6c-2.6 0-4.7.9-6.4 2.6s-2.5 3.9-2.5 6.4.8 4.7 2.5 6.4 3.8 2.6 6.4 2.6 4.7-.8 6.3-2.6M1009.7 239.9h14.3v52.3h-14.3zM1098.1 307.2l-112.8 20.1c-2.3.4-3.9 2.6-3.4 4.9.4 2.1 2.2 3.5 4.2 3.5.3 0 .5 0 .8-.1l112.8-20.1c2.3-.4 3.9-2.6 3.4-4.9s-2.8-3.8-5-3.4M361.4 164.5h51v-16.2h-51v-92h-17.7v108.2h12.2zM665.4 162.8c5.2-2.2 9.5-5.4 13.1-9.6l-10.8-11c-2.3 2.6-5 4.5-8.3 5.9-3.2 1.3-6.7 2-10.5 2-4.4 0-8.3-.9-11.7-2.8-3.4-2-6-4.7-7.9-8.2-.9-1.7-1.5-3.5-2-5.4h55.3q.45-2.25.6-4.2.3-1.95.3-3.9c0-7.1-1.5-13.4-4.6-19-3-5.6-7.2-9.9-12.5-13.1s-11.3-4.8-18.2-4.8q-10.65 0-19.5 5.1c-5.8 3.4-10.4 8-13.8 13.9-3.4 5.8-5.1 12.3-5.1 19.6q0 10.95 5.1 19.8c3.5 5.9 8.2 10.5 14.1 13.9 6 3.3 12.7 4.9 20.1 4.9 5.6.1 11.1-1 16.3-3.1M629 115c1.7-3.4 4.2-6 7.4-7.9s7-2.8 11.3-2.8c4.1 0 7.6.8 10.4 2.5 2.9 1.6 5.1 4 6.6 7.1.9 1.7 1.5 3.7 1.9 5.9h-39.3c.4-1.7 1-3.3 1.7-4.8M524.7 164.5h17v-58.7h27.8v58.7h17v-58.7h17.8V90.3h-17.8V59.4h-17v30.9h-27.8V59.4h-17v30.9h-17.8v15.5h17.8zM436.6 160.9c5.5 3.4 11.5 5.1 18.2 5.1 5.7 0 10.7-1.2 15.1-3.6 3-1.7 5.5-3.8 7.6-6.2v8.2h17V90.3h-17v8.3c-2.2-2.5-4.7-4.6-7.7-6.2-4.3-2.5-9.3-3.7-15-3.7-6.7 0-12.8 1.8-18.2 5.3-5.4 3.4-9.6 8-12.8 13.9-3.1 5.8-4.6 12.3-4.6 19.6 0 7.2 1.5 13.8 4.6 19.6s7.4 10.4 12.8 13.8m2.6-45.3c1.9-3.4 4.3-6 7.4-7.9 3.2-2 6.9-2.9 11-2.9 4.2 0 7.9 1 11 2.9 3.2 1.9 5.7 4.5 7.4 7.9 1.8 3.4 2.6 7.3 2.6 11.7 0 6.6-2 12-5.9 16.2-3.8 4.2-8.9 6.3-15.1 6.3-4.1 0-7.8-.9-11-2.8-3.1-2-5.6-4.6-7.4-8s-2.6-7.3-2.6-11.7c0-4.3.8-8.3 2.6-11.7" className="st13"/>
|
|
21
|
+
</g>
|
|
22
|
+
</svg>
|
|
23
|
+
);
|