diff --git a/src/components/WorkoutStats.tsx b/src/components/WorkoutStats.tsx
index 06be942..0aae946 100644
--- a/src/components/WorkoutStats.tsx
+++ b/src/components/WorkoutStats.tsx
@@ -5,22 +5,41 @@ import styled from "styled-components";
const formatIntensity = (intensity: Intensity): string => `${Math.round(intensity.value * 100)}%`;
-const StatsLine: React.FC<{ label: string; value: string | number }> = ({ label, value }) => (
-
+type StatsProps = { label: string; value: string | number };
+
+const StatsLine: React.FC = ({ label, value }) => (
+ <>
{label} {value}
+ >
+);
+
+const StatsListItem: React.FC = (props) => (
+
+
);
const Container = styled.div`
display: grid;
grid-template-columns: 1fr 3fr;
+ grid-template-areas:
+ "summary zones"
+ "xp xp ";
border: 1px solid #bbb;
border-radius: 10px;
padding: 10px;
font-size: 12px;
background: rgba(255, 255, 255, 0.6);
`;
-const Section = styled.section``;
+const SummarySection = styled.section`
+ grid-area: summary;
+`;
+const ZonesSection = styled.section`
+ grid-area: zones;
+`;
+const XpSection = styled.section`
+ grid-area: xp;
+`;
const Header = styled.h2`
margin: 0;
@@ -42,24 +61,26 @@ export const WorkoutStats: React.FC<{ workout: Workout }> = ({ workout }) => {
return (
-
-
+
+
{zones.map((zone) => (
-
+
))}
-
+
+
+
+
);
};