Skip to content

Commit 85b317d

Browse files
committed
Sierra Blanka Destroyer + WIP
1 parent 962bcbd commit 85b317d

File tree

4 files changed

+315
-147
lines changed

4 files changed

+315
-147
lines changed

data/events.json

Lines changed: 38 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19152,5 +19152,43 @@
1915219152
]
1915319153
},
1915419154
"route": []
19155+
},
19156+
{
19157+
"id": 17,
19158+
"date": "2026-02-14",
19159+
"start": "08:00",
19160+
"location": { "lat": 36.5008438, "lng": -4.9061914 },
19161+
"name": "Sierra Blanca Destroyer",
19162+
"distance": "42.2",
19163+
"ascent": "2850",
19164+
"time": "09:10",
19165+
"time_limit": "10:00",
19166+
"average_hr": "154",
19167+
"max_hr": "185",
19168+
"link": "https://en.cxmsierrablanca.com/destroyer",
19169+
"tags": {
19170+
"date": ["2026", "Q1"],
19171+
"region": ["Europe", "Spain", "Marbella"],
19172+
"type": ["Marathon"]
19173+
},
19174+
"type": "Marathon",
19175+
"notes": {
19176+
"race": [
19177+
"Carb gels only and no GI issues but did underfuel and cramped a bunch.",
19178+
"Some sections were extremely steep and even had chains and bars bolted into the mountain to climb with all hands and feet.",
19179+
"Very technical and rocky at times.",
19180+
"One section was so steep it took me around 35 minutes to do a single kilometer. There were a few sections like this but not as bad.",
19181+
"Wasn't marked well in a few sections so I went off course, as did a few others around me.",
19182+
"One off course section was so bad I fell and luckily my pole got stuck in the ground and bent instead of me falling into that brush."
19183+
],
19184+
"event": [
19185+
"Some markings can be improved a lot.",
19186+
"Portable aid stations were okay.",
19187+
"Mostly away from the public so pretty quiet.",
19188+
"Overall very technical at times and mountainous specifically for this shorter distance it feels brutal and like you've done much more."
19189+
],
19190+
"takeaways": ["Always underfueling and likely need more electrolytes to stop cramping."]
19191+
},
19192+
"route": []
1915519193
}
1915619194
]

data/future-events.json

Lines changed: 0 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -2,15 +2,6 @@
22
"registered": {
33
"marathon": [],
44
"ultra-marathon": [
5-
{
6-
"date": "14/02/26",
7-
"location": "Marbella, Spain",
8-
"name": "Sierra Blanca - Destroyer",
9-
"link": "https://en.cxmsierrablanca.com/destroyer",
10-
"distance": "43",
11-
"time": "10",
12-
"gain": "2700"
13-
},
145
{
156
"date": "08/03/26",
167
"location": "Galatzó, Spain",

src/App.tsx

Lines changed: 3 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -14,10 +14,8 @@ function App() {
1414
const [selectedTile, setSelectedTile] = useState<TileLayerOption>(() => {
1515
try {
1616
const savedTile = localStorage.getItem("selectedTile");
17-
return savedTile
18-
? (JSON.parse(savedTile) as TileLayerOption)
19-
: tileOptions[0];
20-
} catch (error) {
17+
return savedTile ? (JSON.parse(savedTile) as TileLayerOption) : tileOptions[0];
18+
} catch (_error) {
2119
return tileOptions[0];
2220
}
2321
});
@@ -95,13 +93,7 @@ function App() {
9593
setOpenNotes={setOpenNotes}
9694
/>
9795

98-
{notes && (
99-
<NotesDialog
100-
open={openNotes}
101-
event={notes}
102-
onClose={() => setOpenNotes(false)}
103-
/>
104-
)}
96+
{notes && <NotesDialog open={openNotes} event={notes} onClose={() => setOpenNotes(false)} />}
10597
</div>
10698
);
10799
}

0 commit comments

Comments
 (0)