refactor: remove unused imports and variables in CloudPros and DataControl

- Removed unused Eyebrow import from CloudPros
- Removed unused loop index variable 'i' from gates mapping in DataControl
This commit is contained in:
2025-11-17 16:07:20 +01:00
parent 828fe93f46
commit 49d9c22de3
4 changed files with 4 additions and 4 deletions

View File

@@ -1,4 +1,4 @@
import { Eyebrow, H3, P, Small } from "@/components/Texts"; import { H3, P, Small } from "@/components/Texts";
const highlights = [ const highlights = [
{ {

View File

@@ -20,7 +20,7 @@ export function HomeComparisonTable() {
<Eyebrow>COMPARISON</Eyebrow> <Eyebrow>COMPARISON</Eyebrow>
<H3 className="mt-2">Why People Choose Mycelium</H3> <H3 className="mt-2">Why People Choose Mycelium</H3>
<P className="mx-auto mt-5 max-w-prose"> <P className="mx-auto mt-5 max-w-prose">
Mycelium brings cloud-grade automation to infrastructure you control without surrendering data, identity, Mycelium brings cloud-grade automation to infrastructure you control without surrendering data, identity,
or uptime to centralized platforms. or uptime to centralized platforms.
</P> </P>

View File

@@ -42,7 +42,7 @@ export default function DataControl({
const line = (a: {x:number;y:number}, b:{x:number;y:number}) => `M ${a.x} ${a.y} L ${b.x} ${b.y}`; const line = (a: {x:number;y:number}, b:{x:number;y:number}) => `M ${a.x} ${a.y} L ${b.x} ${b.y}`;
// "Gates" sit near the center to symbolize explicit permission before data leaves your pod // "Gates" sit near the center to symbolize explicit permission before data leaves your pod
const gates = peers.map((p, i) => { const gates = peers.map((p) => {
// point 30% of the way from center to peer // point 30% of the way from center to peer
const gx = center.x + (p.x - center.x) * 0.28; const gx = center.x + (p.x - center.x) * 0.28;
const gy = center.y + (p.y - center.y) * 0.28; const gy = center.y + (p.y - center.y) * 0.28;

View File

@@ -37,7 +37,7 @@ export function StorageArchitecture() {
</H3> </H3>
<P className="mt-6 text-gray-400"> <P className="mt-6 text-gray-400">
A layered design that encrypts, routes, and exposes storage through A layered design that encrypts, routes, and exposes storage through
multiple protocols without duplicating data or compromising multiple protocols without duplicating data or compromising
sovereignty. sovereignty.
</P> </P>
</div> </div>