forked from emre/www_projectmycelium_com
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:
@@ -1,4 +1,4 @@
|
||||
import { Eyebrow, H3, P, Small } from "@/components/Texts";
|
||||
import { H3, P, Small } from "@/components/Texts";
|
||||
|
||||
const highlights = [
|
||||
{
|
||||
|
||||
@@ -20,7 +20,7 @@ export function HomeComparisonTable() {
|
||||
<Eyebrow>COMPARISON</Eyebrow>
|
||||
<H3 className="mt-2">Why People Choose Mycelium</H3>
|
||||
<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.
|
||||
</P>
|
||||
|
||||
|
||||
@@ -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}`;
|
||||
|
||||
// "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
|
||||
const gx = center.x + (p.x - center.x) * 0.28;
|
||||
const gy = center.y + (p.y - center.y) * 0.28;
|
||||
|
||||
@@ -37,7 +37,7 @@ export function StorageArchitecture() {
|
||||
</H3>
|
||||
<P className="mt-6 text-gray-400">
|
||||
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.
|
||||
</P>
|
||||
</div>
|
||||
|
||||
Reference in New Issue
Block a user