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, 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]} 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..150dd6d4 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: PageSectionsProps = {...defaultContent, ...props}; return (