CASH-187: Prettier
This commit is contained in:
parent
44b878e87c
commit
8faec89124
3 changed files with 50 additions and 50 deletions
|
|
@ -1,26 +1,26 @@
|
||||||
const pagePercentageMapper = {
|
const pagePercentageMapper = {
|
||||||
'vehicle': 4,
|
"vehicle": 4,
|
||||||
'vehicle-damage': 16,
|
"vehicle-damage": 16,
|
||||||
'estimate': 28,
|
"estimate": 28,
|
||||||
'service-zip': 32,
|
"service-zip": 32,
|
||||||
'vin-lookup': 32,
|
"vin-lookup": 32,
|
||||||
'license-plate-lookup': 32,
|
"license-plate-lookup": 32,
|
||||||
'address-lookup': 32,
|
"address-lookup": 32,
|
||||||
'address-vehicles': 36,
|
"address-vehicles": 36,
|
||||||
'part-questions': 40,
|
"part-questions": 40,
|
||||||
'molding-questions': 40,
|
"molding-questions": 40,
|
||||||
'vehicle-parts': 40,
|
"vehicle-parts": 40,
|
||||||
'capability-questions': 40,
|
"capability-questions": 40,
|
||||||
'quote': 48,
|
"quote": 48,
|
||||||
'insurance-company': 52,
|
"insurance-company": 52,
|
||||||
'service-location': 60,
|
"service-location": 60,
|
||||||
'schedule': 72,
|
"schedule": 72,
|
||||||
'customer-details': 84,
|
"customer-details": 84,
|
||||||
'payment-method': 92,
|
"payment-method": 92,
|
||||||
'payment': 96,
|
"payment": 96,
|
||||||
'confirmation': 100,
|
"confirmation": 100,
|
||||||
}
|
};
|
||||||
|
|
||||||
export const getProgressBarPercentage = (page) => {
|
export const getProgressBarPercentage = (page) => {
|
||||||
return pagePercentageMapper[page] || 0;
|
return pagePercentageMapper[page] || 0;
|
||||||
}
|
};
|
||||||
|
|
|
||||||
|
|
@ -25,7 +25,7 @@ export default {
|
||||||
</script>
|
</script>
|
||||||
<style lang="scss">
|
<style lang="scss">
|
||||||
#progress-bar-container {
|
#progress-bar-container {
|
||||||
padding: .75rem 0;
|
padding: 0.75rem 0;
|
||||||
width: 100%;
|
width: 100%;
|
||||||
|
|
||||||
progress {
|
progress {
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue