Skip to content
This repository has been archived by the owner on Jan 25, 2024. It is now read-only.

Commit

Permalink
-
Browse files Browse the repository at this point in the history
  • Loading branch information
Jonitsi authored and Jonitsi committed Dec 8, 2023
1 parent fc7bdf7 commit 64b6b3c
Showing 1 changed file with 6 additions and 4 deletions.
10 changes: 6 additions & 4 deletions src/pages/overview.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -89,21 +89,23 @@ export default function Overview(): ReactElement {
<div
className="relative"
onMouseEnter={() => setIsHovered(true)}
onMouseLeave={() => setIsHovered(false)}>
onMouseLeave={() => setIsHovered(false)}
>

Check failure on line 93 in src/pages/overview.tsx

View workflow job for this annotation

GitHub Actions / Continuous Integration

Replace `··>⏎` with `>`

<button className="bg-sky-700 text-gray-800 px-4 py-2 rounded">
More info
</button>
{isHovered && (
<div className="absolute bg-sky-700 text-gray-800 p-4 rounded shadow-md mt-2 dark:bg-white transition-all duration-500">
<p>A carbon footprint is a measurement of the various greenhouse gases, such as carbon dioxide (CO2), methane (CH4),
nitrous oxide (N2O), and others, caused by energy consumption. These gasses are combined into a common unit called carbon
<p> A carbon footprint is a measurement of the various

Check failure on line 100 in src/pages/overview.tsx

View workflow job for this annotation

GitHub Actions / Continuous Integration

Insert `⏎····················{'·'}⏎·················`
greenhouse gases, such as carbon dioxide (CO2), methane

Check failure on line 101 in src/pages/overview.tsx

View workflow job for this annotation

GitHub Actions / Continuous Integration

Replace `························` with `····················`
(CH4), nitrous oxide (N2O), and others, caused by energy consumption. These gasses are combined into a common unit called carbon

Check failure on line 102 in src/pages/overview.tsx

View workflow job for this annotation

GitHub Actions / Continuous Integration

Replace `························(CH4),·nitrous·oxide·(N2O),·and·others,·caused·by·energy·consumption.·These·gasses·are·combined·into·a·common·unit·called·carbon` with `····················(CH4),·nitrous·oxide·(N2O),·and·others,·caused·by·energy⏎····················consumption.·These·gasses·are·combined·into·a·common·unit`
dioxide equivalent (CO2e), based on their global warming potential. The value for the carbon footprint is measured

Check failure on line 103 in src/pages/overview.tsx

View workflow job for this annotation

GitHub Actions / Continuous Integration

Replace `····dioxide·equivalent·(CO2e),·based·on·their·global·warming·potential.·The·value·for·the·carbon·footprint·is·measured·` with `called·carbon·dioxide·equivalent·(CO2e),·based·on·their⏎····················global·warming·potential.·The·value·for·the·carbon·footprint`
by: kW * 1h * 0.5kg CO2/kWh

Check failure on line 104 in src/pages/overview.tsx

View workflow job for this annotation

GitHub Actions / Continuous Integration

Replace `···` with `is·measured`
</p>
</div>
)}
</div>
</div>
<h4 className="text-lg text-gray-500 dark:text-slate-400 font-semibold">
Total Carbon Footprint
</h4>
Expand Down

0 comments on commit 64b6b3c

Please sign in to comment.