npm install
npm run serve
npm run build
npm run lint
Tech stack used for this project: VueJS, TailwindCSS, vue-round-slider and vue-router.
- DetailsBox.vue
- Made as a reusable component
- Receives data through props for the title, the numbers data and the percentage/symbols
- ActionBox.vue
- Also a reusable component
- Receives data through props for the dynamic icon name (the icon file should be named the same as the name provided) and for the title.
- Has an active class that is called 'active-box' which changes the color of the background, icon and the text.
- TempSlider.vue
- The circular slider is imported from ( https://github.com/soundar24/vue-round-slider ) and is customized for our needs.
- Receives data through props for the temperature value, current ane minimal temperature.
- The warm/cold icon is changing depending on the minimal temperature value set, the default value is 18 degrees.
- Navbar.vue
- A shared component with functional Home and User buttons (first and last) which redirects to the corresponding screens.
- Has an active class called 'active' which changes the color of the icon and adds a bottom border.
- UserScreen.vue
- The avatar picture can be added dinamically with the user's name (however, the image should be stored with the same name in order to be found, the extension can be changed).
- The back link and the 'Delete user' btn redirects to the home screen as requested.