This commit is contained in:
Kenneth Jannette
2024-03-23 03:05:06 -05:00
parent 3b3734f683
commit 9440a23799
3 changed files with 35 additions and 38 deletions

View File

@@ -187,21 +187,18 @@ const Dashboard = () => {
<div className="dash-promo-first-box"> <div className="dash-promo-first-box">
<div className="dash-promo-first-wrap"> <div className="dash-promo-first-wrap">
<div className="dash-promo-first-textwrap"> <div className="dash-promo-first-textwrap">
<div clasName="dash-promo-first-text"> <div className="dash-promo-first-text">
Welcome to Novodraft, attorney {group.lastName}. We are Welcome to Novodraft, attorney {group.lastName}. We are
excited to introduce you to our application. excited to introduce you to our application. Review the
step-by-step user guide by clicking "How-to" in the navigation
bar.
</div> </div>
<div clasName="dash-promo-first-text"> <div className="dash-promo-first-text">
Pleae review the step-by-step user guide by clicking "How-to" Your user name for login is:{" "}
in the navigation bar. <span className="user-name-span">{group.email}</span>. Your
</div> temporary password is{" "}
<div clasName="dash-promo-first-text"> <span className="user-name-span">{group.tpe}</span>. You
You will use your email address and the temporary password should change it now, by clicking here.
below to log in to Novodraft.
</div>
<div clasName="dash-promo-first-text">
Your temporary password been set to {"password"}. Please
change it by clicking here.
</div> </div>
</div> </div>
</div> </div>

View File

@@ -38,15 +38,10 @@ const HomePage = () => {
if (!email || !password || !dataValues[0]) { if (!email || !password || !dataValues[0]) {
return; return;
} }
console.log(
"~~~~~~~~~~~~~~~~~~~~~email, password in saveUserData",
email,
password
);
const appUserId = uuidv4(); const appUserId = uuidv4();
const firmId = uuidv4(); const firmId = uuidv4();
const fbAuthUid = authId; const fbAuthUid = authId;
const tpe = password;
let plan = "promo plan"; let plan = "promo plan";
let docsAllowedPerMonth; let docsAllowedPerMonth;
@@ -72,19 +67,7 @@ const HomePage = () => {
const userState = stateDataValues.filter((value) => { const userState = stateDataValues.filter((value) => {
if (value.name === state) return value; if (value.name === state) return value;
}); });
console.log(
"firstName, lastName, firm, telephone, streetAddress, city, state, zipCode, barNumber, practiceArea",
firstName,
lastName,
firm,
telephone,
streetAddress,
city,
state,
zipCode,
barNumber,
practiceArea
);
const userData = { const userData = {
docsAllowedPerMonth, docsAllowedPerMonth,
docsGenerated, docsGenerated,
@@ -102,6 +85,7 @@ const HomePage = () => {
barNumber, barNumber,
practiceArea, practiceArea,
email, email,
tpe: tpe,
isPromotionalMebership, isPromotionalMebership,
isPromotionalFirstLogin: true, isPromotionalFirstLogin: true,
customerId: customerId, customerId: customerId,

View File

@@ -10,12 +10,15 @@
.dash-promo-first-box { .dash-promo-first-box {
margin-top: 8px; margin-top: 8px;
padding: 8px 88px; padding: 8px 48px;
} }
.user-name-span {
font-weight: 500;
}
.dash-promo-first-wrap { .dash-promo-first-wrap {
padding: 8px 62; padding: 8px 0px;
background-color: var(--barely-there-accen); background-color: var(--barely-there-accent);
display: flex; display: flex;
flex-direction: column; flex-direction: column;
border: 1px solid orange; border: 1px solid orange;
@@ -25,10 +28,18 @@
.dash-promo-first-textwrap { .dash-promo-first-textwrap {
display: flex; display: flex;
flex-direction: column; flex-direction: column;
justify-content: center;
align-items: center;
margin: auto; margin: auto;
max-width: 620; }
.dash-promo-first-text {
font-size: 0.94rem;
letter-spacing: 0.03rem;
font-family: Roboto;
font-weight: 300;
margin-bottom: 2px;
margin-left: 16px;
width: 680px;
color: #3b3b3b;
} }
.dash-heading-text { .dash-heading-text {
@@ -109,6 +120,11 @@
justify-content: flex-end; justify-content: flex-end;
flex-direction: row; flex-direction: row;
} }
@media only screen and (max-width: 860px) {
.dash-promo-first-text {
width: 500px;
}
}
@media only screen and (max-width: 430px) { @media only screen and (max-width: 430px) {
.dashboard-header { .dashboard-header {