CASH-313 WIP

This commit is contained in:
Bryan Mauger 2025-04-29 14:24:44 -04:00
parent e85d19a882
commit d7e6f58eef
2 changed files with 37 additions and 15 deletions

View file

@ -1,13 +1,24 @@
<template>
<div
class="funnel-header d-flex justify-content-center align-items-center flex-column"
v-if="imageSrc">
<div class="funnel-header" v-if="imageSrc">
<salesforceWebchat hideSalesforceWebchatLaunchButton />
<img class="logo-image img-fluid" :src="imageSrc" alt="Safelite logo" />
<!-- // menu-modal temporarily not in use until the hamburger menu is re-implemented for use with the progress bar. See display: none below. -->
<menuModal />
<!-- // menu-modal temporarily not in use until the hamburger menu is re-implemented for use with the progress bar. See display: none below. -->
<progressBar />
<div class="header-column-1 d-flex justify-content-between">
<div class="d-flex justify-content-center align-items-center">
<button class="salesforce-chat-button"></button>
</div>
<div class="d-flex justify-content-center align-items-center">
<img class="logo-image img-fluid" :src="imageSrc" alt="Safelite logo" />
</div>
<!-- // menu-modal temporarily not in use until the hamburger menu is re-implemented for use with the progress bar. See display: none below. -->
<div class="d-flex justify-content-center align-items-center position-relative">
<menuModal />
</div>
<!-- // menu-modal temporarily not in use until the hamburger menu is re-implemented for use with the progress bar. See display: none below. -->
</div>
<div class="header-column-2">
<div class="d-flex w-100 flex-wrap">
<progressBar />
</div>
</div>
</div>
<template v-for="globalAlert in globalAlertMessages" :key="globalAlert.id">
<transition name="fade" mode="out-in">
@ -101,7 +112,7 @@ export default {
<style lang="scss" scoped>
:deep(.menu-modal-container) {
display: none; // This is temporary until the hamburger menu is re-implemented for use with the progress bar
//display: none; // This is temporary until the hamburger menu is re-implemented for use with the progress bar
}
.funnel-header {
position: relative;
@ -112,4 +123,15 @@ export default {
width: auto;
height: 1.1875rem;
}
.salesforce-chat-button {
width: 1.5rem;
height: 1.5rem;
background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' xml:space='preserve' id='Layer_2' x='0' y='0' style='enable-background:new 0 0 24 24' version='1.1' viewBox='0 0 24 24'%3E%3Cstyle%3E .st0%7Bfill:%232e6fb6%7D %3C/style%3E%3Ccircle cx='12' cy='12' r='12' class='st0'/%3E%3Cpath d='M18.3 12c0 3.5-2.8 6.3-6.3 6.3-1.2 0-2.4-.4-3.4-1l-2.3.7s-.5.1-.3-.4.5-1.7.7-2.2c-.6-1-1-2.1-1-3.3 0-3.5 2.8-6.3 6.3-6.3 3.5-.1 6.3 2.7 6.3 6.2z' style='fill:%23fff'/%3E%3Ccircle cx='10.2' cy='12' r='.6' class='st0'/%3E%3Ccircle cx='12' cy='12' r='.6' class='st0'/%3E%3Ccircle cx='13.8' cy='12' r='.6' class='st0'/%3E%3C/svg%3E");
background-repeat: no-repeat;
background-size: 1.5rem 1.5rem;
background-position: center;
border: none;
background-color: transparent;
}
</style>

View file

@ -11,7 +11,7 @@
<div class="bar3"></div>
</button>
</div>
<div class="menu-modal-container">
<!-- <div class="menu-modal-container">
<button
aria-hidden="true"
tabindex="-1"
@ -24,7 +24,7 @@
<div class="bar2"></div>
<div class="bar3"></div>
</button>
</div>
</div> -->
<!-- Modal -->
<div
class="modal menu-modal fade"
@ -123,9 +123,9 @@ export default {
<style lang="scss" scoped>
.menu-modal-container {
position: absolute;
padding: 1.47rem 0 1.47rem 1.47rem;
right: 0;
//position: absolute;
//padding: 1.47rem 0 1.47rem 1.47rem;
//right: 0;
button {
border: none;
&.menu-button {
@ -164,7 +164,7 @@ export default {
}
.modal {
&.menu-modal {
left: auto;
//left: auto;
height: calc(100% - 56px);
top: 56px;
border-top: 1px solid $gray-300;