This project was done as the pre interview coding challenge for Circl.es.
The design for the challenge looked like this.
For this project I was instructed to use React and supplied with the two SVG used as Icons.
My choice for this project was to use sass to handle my styling but because I needed some elements to have procedural styling I used a combination of Sass and JSS.
My best guess at the colors are as follows:
- $darkColor: #2B74A1;
- $mediumColor: rgba(115,133,145,0.65);
- $lightColor: rgba(255,255,255,.676);
- $transparentColor: rgba(255,255,255,.21);
- $red: #C42E2E;
- $fontColor:#EBF1F5;
Not included in the design but features I added include
- A React Context to manage testing.
- A Button array to add different indicators to show off the design.
- Hover Animations on the buttons.
- The Component supports a dynamic number of indicators.
- For this I also added a feature in which the icons on the broken indicators hide when the number of indicators exceeds 12 to stop the design looking cramped.