Examples

Training activity

Built with the mantine-calendar skill

Total distance
3,111 km
Workouts
216
Longest streak
4 days
Current streak
2 days
Weekly goal met
38 weeks
Under 10 km10–25 km25–50 km50 km and more

December 2025

MoTuWeThFrSaSu
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31

January 2026

MoTuWeThFrSaSu
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31

February 2026

MoTuWeThFrSaSu
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28

March 2026

MoTuWeThFrSaSu
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31

April 2026

MoTuWeThFrSaSu
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30

May 2026

MoTuWeThFrSaSu
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31

June 2026

MoTuWeThFrSaSu
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30

July 2026

MoTuWeThFrSaSu
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31

August 2026

MoTuWeThFrSaSu
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31

September 2026

MoTuWeThFrSaSu
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30

October 2026

MoTuWeThFrSaSu
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31

November 2026

MoTuWeThFrSaSu
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
November 2026
#MoTuWeThFrSaSu
RunRideSwimGoal met

Week 47 · 16–22 November 2026

5 of 4 workouts · Weekly goal met

Monday, 16 November

Run · 6.3 km

35 min · 5:33 /km

Tuesday, 17 November

Ride · 49.1 km

133 min · 22.2 km/h

Wednesday, 18 November

Run · 8.1 km

45 min · 5:33 /km

Saturday, 21 November

Ride · 31.9 km

86 min · 22.3 km/h

Sunday, 22 November

Run · 11.7 km

64 min · 5:28 /km

Build the activity page of a running app: a year at a glance and the details of a single week.

Data:

  • about 220 hard-coded workouts over the last 12 months, generated relative to today: date, type (run, ride, swim), distance, duration; some days have two workouts, there are breaks of a few weeks
  • a weekly goal of 4 workouts

Year overview:

  • the last 12 months as small month grids (4 per row on desktop, 2 on tablets, 1 on phones), no navigation
  • each day is shaded by its total distance on 4 levels of one color, with a legend; days without workouts stay empty
  • above the grids: total distance, number of workouts, the longest streak of consecutive days and the current streak, and the number of weeks the goal was met
  • the overview is for looking only: its days cannot be clicked or focused

Week details:

  • next to the overview, a calendar where a whole week is picked; it shows week numbers, opens on the current week and cannot go before the first month of the overview or into the future
  • days with workouts show a small mark per workout type, and weeks that met the goal are visibly marked
  • the picked week lists its workouts by day (type, distance, duration, pace) and how many workouts are left to reach the goal
  • the workouts of each day are read by screen readers

The component is shown on a demo page that already has a title: do not add a page title or intro text.

Write tests for the component.