diff --git a/app/web/src/components/Hero/Hero.tsx b/app/web/src/components/Hero/Hero.tsx index 97fdc3a..1e3853c 100644 --- a/app/web/src/components/Hero/Hero.tsx +++ b/app/web/src/components/Hero/Hero.tsx @@ -13,7 +13,9 @@ import ProjectsCell from 'src/components/ProjectsCell' import OutBound from 'src/components/OutBound/OutBound' // dynamic import to enable pre-render iof the homepage -const AssetWithGooey = React.lazy(() => import('src/components/Hero/AssetWithGooey')) +const AssetWithGooey = React.lazy( + () => import('src/components/Hero/AssetWithGooey') +) const cqCode = `from cadquery import * d1 = 58.5 @@ -79,36 +81,59 @@ export const Hero = () => { return (
- {cqCode.map((line, index) => {index+1}{line})}
+ {cqCode.map((line, index) => (
+
+
+ {index + 1}
+
+ {line}
+
+ ))}
-
-
-
- {scadCode.map((line, index) => {index+1}{line})}
+ {scadCode.map((line, index) => (
+
+
+ {index + 1}
+
+ {line}
+
+ ))}
-