Skip to content

Commit 4b69da8

Browse files
fix(landing): resolve merge conflict with main — incorporate power plants + transmission lines
1 parent 1699f92 commit 4b69da8

File tree

1 file changed

+21
-5
lines changed

1 file changed

+21
-5
lines changed

app/(shell)/page.tsx

Lines changed: 21 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,10 @@ import Link from "next/link";
55
import { getAllUtilities, getAllIsos, getAllRtos, getAllBalancingAuthorities, getAllPrograms } from "@/lib/data";
66

77
// Power plant count is hardcoded to avoid importing the 8.7 MB JSON into the pre-rendered page.
8+
// Updated by sync-power-plants script.
89
const POWER_PLANT_COUNT = 15082;
10+
// Transmission line count is hardcoded for the same reason. Updated by sync-transmission-lines script.
11+
const TRANSMISSION_LINE_COUNT = 52244;
912
const RATE_SCHEDULE_COUNT = "~12k";
1013
const TERRITORY_COUNT = 4841;
1114

@@ -71,16 +74,28 @@ const ENTITY_CARDS = [
7174
countLabel: "rate schedules",
7275
},
7376
{
74-
id: "infrastructure",
77+
id: "power-plants",
7578
href: "/power-plants",
7679
iconBg: "bg-teal-50",
7780
iconColor: "text-teal-500",
7881
iconName: "Factory" as const,
79-
title: "Infrastructure & Assets",
82+
title: "Power Plants",
8083
description:
81-
"Generation plants, substations, and transmission infrastructure. EIA Form 860 data, normalized and connected.",
84+
"Solar, wind, nuclear, natural gas, and more — EIA Form 860 data normalized and connected to utilities and territories.",
8285
countKey: "powerPlants" as const,
83-
countLabel: "facilities",
86+
countLabel: "plants",
87+
},
88+
{
89+
id: "transmission-lines",
90+
href: "/transmission-lines",
91+
iconBg: "bg-sky-50",
92+
iconColor: "text-sky-500",
93+
iconName: "CellTower" as const,
94+
title: "Transmission Lines",
95+
description:
96+
"High-voltage transmission infrastructure (69kV–765kV) across the U.S. — HIFLD dataset, spatially queryable.",
97+
countKey: "transmissionLines" as const,
98+
countLabel: "lines",
8499
},
85100
];
86101

@@ -203,7 +218,8 @@ export default function LandingPage() {
203218
gridOperators: gridOperatorCount.toLocaleString(),
204219
programs: programCount.toLocaleString(),
205220
rates: RATE_SCHEDULE_COUNT,
206-
powerPlants: `~${(POWER_PLANT_COUNT / 1000).toFixed(0)}k`,
221+
powerPlants: POWER_PLANT_COUNT.toLocaleString(),
222+
transmissionLines: TRANSMISSION_LINE_COUNT.toLocaleString(),
207223
};
208224

209225
return (

0 commit comments

Comments
 (0)