From 20e61848efc58dc467a5dda386033bf1919a4303 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Yasmin=20Gon=C3=A7alves?= Date: Tue, 22 Jul 2025 09:26:23 -0300 Subject: [PATCH 1/5] Fix template colors --- .../highlights-section/code/components/HighlightsSection.tsx | 4 ---- 1 file changed, 4 deletions(-) diff --git a/templates/material-ui/block/highlights-section/code/components/HighlightsSection.tsx b/templates/material-ui/block/highlights-section/code/components/HighlightsSection.tsx index 19c7d282..0fb284d1 100644 --- a/templates/material-ui/block/highlights-section/code/components/HighlightsSection.tsx +++ b/templates/material-ui/block/highlights-section/code/components/HighlightsSection.tsx @@ -41,8 +41,6 @@ export function HighlightsSection(props: HighlightsSectionProps) { sx={{ pt: { xs: 4, sm: 12 }, pb: { xs: 8, sm: 16 }, - color: 'white', - bgcolor: 'grey.900', }} > {iconMap[item.icon]} From 7080d00cc6f1846a800fc008ece2caec3bbc79ff Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Yasmin=20Gon=C3=A7alves?= Date: Tue, 22 Jul 2025 10:10:30 -0300 Subject: [PATCH 2/5] Audit fix --- package-lock.json | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/package-lock.json b/package-lock.json index 64894b63..f60bd8c2 100644 --- a/package-lock.json +++ b/package-lock.json @@ -4526,13 +4526,15 @@ } }, "node_modules/form-data": { - "version": "4.0.2", - "resolved": "https://registry.npmjs.org/form-data/-/form-data-4.0.2.tgz", - "integrity": "sha512-hGfm/slu0ZabnNt4oaRZ6uREyfCj6P4fT/n6A1rGV+Z0VdGXjfOhVUpkn6qVQONHGIFwmveGXyDs75+nr6FM8w==", + "version": "4.0.4", + "resolved": "https://registry.npmjs.org/form-data/-/form-data-4.0.4.tgz", + "integrity": "sha512-KrGhL9Q4zjj0kiUt5OO4Mr/A/jlI2jDYs5eHBpYHPcBEVSiipAvn2Ko2HnPe20rmcuuvMHNdZFp+4IlGTMF0Ow==", + "license": "MIT", "dependencies": { "asynckit": "^0.4.0", "combined-stream": "^1.0.8", "es-set-tostringtag": "^2.1.0", + "hasown": "^2.0.2", "mime-types": "^2.1.12" }, "engines": { From 0fe01e160281b2909ec4b1a6ff994ba8655eef1a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Yasmin=20Gon=C3=A7alves?= Date: Thu, 24 Jul 2025 10:41:07 -0300 Subject: [PATCH 3/5] Fix globe template --- .../magic-ui/component/globe/code/components/global-presence.tsx | 1 + 1 file changed, 1 insertion(+) diff --git a/templates/magic-ui/component/globe/code/components/global-presence.tsx b/templates/magic-ui/component/globe/code/components/global-presence.tsx index 97db2540..b30fb2ce 100644 --- a/templates/magic-ui/component/globe/code/components/global-presence.tsx +++ b/templates/magic-ui/component/globe/code/components/global-presence.tsx @@ -16,6 +16,7 @@ interface GlobalPresenceProps { const GLOBE_CONFIG: Omit = { width: 800, height: 800, + onRender: () => {}, devicePixelRatio: 2, phi: 0, theta: 0.3, From a78dd1b9dcd264bf6b3e8e4fc7052b9cb9982e43 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Yasmin=20Gon=C3=A7alves?= Date: Thu, 24 Jul 2025 15:59:27 -0300 Subject: [PATCH 4/5] Add more fixes --- templates/material-ui/block/sign-in-side/template.json5 | 5 +++-- templates/material-ui/block/sign-up-form/template.json5 | 5 +++-- templates/material-ui/block/sign-up-side/template.json5 | 5 +++-- .../marketing-page/code/components/MarketingPage.tsx | 4 ++-- 4 files changed, 11 insertions(+), 8 deletions(-) diff --git a/templates/material-ui/block/sign-in-side/template.json5 b/templates/material-ui/block/sign-in-side/template.json5 index ef084a58..439c8e5b 100644 --- a/templates/material-ui/block/sign-in-side/template.json5 +++ b/templates/material-ui/block/sign-in-side/template.json5 @@ -13,6 +13,7 @@ "sourceUrl": "https://github.com/croct-tech/templates/blob/master/templates/material-ui/block/sign-in-side/template.json5", "coverImageUrl": "https://github.com/croct-tech/templates/blob/master/templates/material-ui/block/sign-in-side/cover.png", "installationUrl": "material-ui://block/sign-in-side", + "deployable": true, "categories": [ "framework/nextjs", "framework/react", @@ -21,8 +22,7 @@ "language/javascript", "language/typescript", "library/material-ui" - ], - "deployable": true + ] }, "options": { "version": { @@ -56,6 +56,7 @@ "template": "material-ui://block/block", "options": { "id": "sign-in-side", + "type": "block", "version": "${options.version}", "router": "${options.router}", "javascript": "${options.javascript}", diff --git a/templates/material-ui/block/sign-up-form/template.json5 b/templates/material-ui/block/sign-up-form/template.json5 index beab76ec..b2866faf 100644 --- a/templates/material-ui/block/sign-up-form/template.json5 +++ b/templates/material-ui/block/sign-up-form/template.json5 @@ -13,6 +13,7 @@ "sourceUrl": "https://github.com/croct-tech/templates/blob/master/templates/material-ui/block/sign-up-form/template.json5", "coverImageUrl": "https://github.com/croct-tech/templates/blob/master/templates/material-ui/block/sign-up-form/cover.png", "installationUrl": "material-ui://block/sign-up-form", + "deployable": true, "categories": [ "framework/nextjs", "framework/react", @@ -26,8 +27,7 @@ "relatedTemplates": [ "interface/component/demo-request-form", "interface/form/react-phone-number-input" - ], - "deployable": true + ] }, "options": { "version": { @@ -61,6 +61,7 @@ "template": "material-ui://block/block", "options": { "id": "sign-up-form", + "type": "block", "version": "${options.version}", "router": "${options.router}", "javascript": "${options.javascript}", diff --git a/templates/material-ui/block/sign-up-side/template.json5 b/templates/material-ui/block/sign-up-side/template.json5 index 27b99953..725fe585 100644 --- a/templates/material-ui/block/sign-up-side/template.json5 +++ b/templates/material-ui/block/sign-up-side/template.json5 @@ -13,6 +13,7 @@ "sourceUrl": "https://github.com/croct-tech/templates/blob/master/templates/material-ui/block/sign-up-side/template.json5", "coverImageUrl": "https://github.com/croct-tech/templates/blob/master/templates/material-ui/block/sign-up-side/cover.png", "installationUrl": "material-ui://block/sign-up-side", + "deployable": true, "categories": [ "framework/nextjs", "framework/react", @@ -26,8 +27,7 @@ "relatedTemplates": [ "interface/component/demo-request-form", "interface/form/react-phone-number-input" - ], - "deployable": true + ] }, "options": { "version": { @@ -61,6 +61,7 @@ "template": "material-ui://block/block", "options": { "id": "sign-up-side", + "type": "block", "version": "${options.version}", "router": "${options.router}", "javascript": "${options.javascript}", diff --git a/templates/material-ui/template/marketing-page/code/components/MarketingPage.tsx b/templates/material-ui/template/marketing-page/code/components/MarketingPage.tsx index b118fcc0..4feaee8d 100644 --- a/templates/material-ui/template/marketing-page/code/components/MarketingPage.tsx +++ b/templates/material-ui/template/marketing-page/code/components/MarketingPage.tsx @@ -24,8 +24,8 @@ export type PageSectionsProps = { faq: FaqSectionProps, } -export function MarketingPage(props: PageSectionsProps) { - const sectionProps = {...defaultContent, ...props}; +export function MarketingPage(props: Partial) { + const sectionProps = {...defaultContent, ...props} as PageSectionsProps; return ( From 14b95bad1b871caeaba6d948620ffb5a5299e667 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Yasmin=20Gon=C3=A7alves?= Date: Thu, 24 Jul 2025 16:29:43 -0300 Subject: [PATCH 5/5] Fix type --- .../template/marketing-page/code/components/MarketingPage.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/templates/material-ui/template/marketing-page/code/components/MarketingPage.tsx b/templates/material-ui/template/marketing-page/code/components/MarketingPage.tsx index 4feaee8d..150dd6d4 100644 --- a/templates/material-ui/template/marketing-page/code/components/MarketingPage.tsx +++ b/templates/material-ui/template/marketing-page/code/components/MarketingPage.tsx @@ -25,7 +25,7 @@ export type PageSectionsProps = { } export function MarketingPage(props: Partial) { - const sectionProps = {...defaultContent, ...props} as PageSectionsProps; + const sectionProps: PageSectionsProps = {...defaultContent, ...props}; return (