Cobbled Climbs is a personal project to explore React/Redux, SVG graphs and theming.

  • UI design
  • HTML/CSS/JS
  • React

Lifecycling with React

As a fan of Cobbled Classic races I have created a side project to learn and explore React-related challenges. I've set up a React environment with Redux to pass states along components and route urls via a select dropdown.

Visit cobbled-climbs.netlify.app
or View on Github

SVG

I am injecting JSON data to create an SVG path calculating the coordinates based on the altitude and length values of a climb. The graph is fully responsive and text labels are rendered outside of the SVG to be able to style/resize them.

Theming

With a data-theme attribute I control different themes through css variables. Every theme change is passed into a reducer state.

Any ideas?

If you have any feedback or ideas, drop me a line.