// CBAM free calculator wedge — interactive mini-tool
function Calculator({ t }) {
const narrow = window.useNarrow(768);
const [sector, setSector] = React.useState("steel");
const [tons, setTons] = React.useState(20000);
const [method, setMethod] = React.useState("eaf"); // eaf vs bof
// very rough emission factors — illustrative
const factor = {
steel: { eaf: 0.4, bof: 1.9, label: "Demir-çelik" },
cement: { eaf: 0.6, bof: 0.85, label: "Çimento" },
fert: { eaf: 1.6, bof: 2.4, label: "Gübre" },
alu: { eaf: 1.5, bof: 11.6, label: "Alüminyum" },
}[sector];
const ef = factor[method];
const tco2 = tons * ef;
const cbamPrice = 85; // EUR/tCO2 (illustrative 2027 estimate)
const etsTr = 12; // EUR/tCO2 Türkiye ETS
const gross = tco2 * cbamPrice;
const net = tco2 * (cbamPrice - etsTr);
return (
{t.kicker}
{t.title_a}
{t.title_b}
{t.sub}
{t.meta}
{t.cta} →
{/* live calculator */}
CBAM COST ESTIMATOR · v0.3 · İLLÜSTRATİF
{tons.toLocaleString("tr-TR")} t}>
setTons(Number(e.target.value))}
style={{ width: "100%", accentColor: "var(--accent-2)" }}/>
TR ETS DÜŞÜMÜ SONRASI · NET YIL
€ {(net / 1e6).toFixed(2)}M / yıl
Tahminler 2027 piyasa ortalamalarına dayanır. Tam hesap için belge yükleyin.
);
}
function Field({ label, right, children }) {
return (
{label}
{right}
{children}
);
}
function Segmented({ value, onChange, options, dark }) {
return (
{options.map(o => (
))}
);
}
function Stat({ label, v, u }) {
return (
);
}
window.Calculator = Calculator;