Skip to content

The Postgres development platform. Supabase gives you a dedicated Postgres database to build your web, mobile, and AI applications.

Fix code indentation

Francesco Sansalvadore186ed17b6dd2
diff --git a/apps/www/_blog/2023-08-05-launch-week-8-constellation-breakdown.mdx b/apps/www/_blog/2023-08-05-launch-week-8-constellation-breakdown.mdx
index 3e79b96641a..d85b2fd743b 100644
--- a/apps/www/_blog/2023-08-05-launch-week-8-constellation-breakdown.mdx
+++ b/apps/www/_blog/2023-08-05-launch-week-8-constellation-breakdown.mdx
@@ -100,24 +100,24 @@ const Material = () =>
)
return (
- <div style={{ width: 100vw, height: 100vh, background: "#000000" }}>
- <Canvas
- dpr={[1, 2]}
- camera={{ fov: 75, position: [0, 0, 500] }}
- >
- <ambientLight intensity={0.3} />
- <group>
- {particles?.map((particle, index) => (
- <mesh
- key={particle.username}
- >
- <Geometry />
- <Material />
- </mesh>
- ))}
- </group>
- </Canvas>
- </div>
+ <div style={{ width: 100vw, height: 100vh, background: "#000000" }}>
+ <Canvas
+ dpr={[1, 2]}
+ camera={{ fov: 75, position: [0, 0, 500] }}
+ >
+ <ambientLight intensity={0.3} />
+ <group>
+ {particles?.map((particle, index) => (
+ <mesh
+ key={particle.username}
+ >
+ <Geometry />
+ <Material />
+ </mesh>
+ ))}
+ </group>
+ </Canvas>
+ </div>
)
```
@@ -179,7 +179,7 @@ const heightRadius = 100
useFrame(({ clock }) => {
const timer = clock.getElapsedTime()
- particle.current.position.x = Math.sin(timer) * widthRadius
+ particle.current.position.x = Math.sin(timer) * widthRadius
}
})
@@ -377,24 +377,24 @@ const ParticlesCanvas = () => {
)
return (
- <div style={{ width: 100vw, height: 100vh, background: "#000000" }}>
- <Canvas
- dpr={[1, 2]}
- camera={{ fov: 75, position: [0, 0, 500] }}
- >
- <ambientLight intensity={config.lightIntensity} />
- <group>
- {particles?.map((particle, index) => (
- <Particle
- key={particle.username}
- >
- <Geometry />
- <Material />
- </Particle>
- ))}
- </group>
- </Canvas>
- </div>
+ <div style={{ width: 100vw, height: 100vh, background: "#000000" }}>
+ <Canvas
+ dpr={[1, 2]}
+ camera={{ fov: 75, position: [0, 0, 500] }}
+ >
+ <ambientLight intensity={config.lightIntensity} />
+ <group>
+ {particles?.map((particle, index) => (
+ <Particle
+ key={particle.username}
+ >
+ <Geometry />
+ <Material />
+ </Particle>
+ ))}
+ </group>
+ </Canvas>
+ </div>
)
}