Add Still need help section: contact, Viber community button, Yes/No feedback
Every guide page and the landing now end with a help section: an Email us contact, a prominent Viber community join button, and a Was this page helpful Yes/No widget. guide-feedback.js records the vote in localStorage and on No invites emailing MSOS or asking in Viber; it exposes a sendVote hook for later central collection. Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
This commit is contained in:
1 parent
601df2c95e
commit
acc39a701f
95 files changed
+2380
No files matched your search
@@ -318,6 +318,177 @@
|
||||
margin-right: 8px;
|
||||
}
|
||||
|
||||
/* ---------- Still need help? ---------- */
|
||||
.guide-help {
|
||||
max-width: 860px;
|
||||
margin: 44px auto 0;
|
||||
padding-top: 28px;
|
||||
border-top: 1px solid #E4E7EC;
|
||||
display: grid;
|
||||
grid-template-columns: 1fr 1fr;
|
||||
gap: 20px;
|
||||
}
|
||||
.guide-help-contact {
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
align-items: flex-start;
|
||||
}
|
||||
.guide-help-title {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
gap: 10px;
|
||||
margin: 0 0 10px;
|
||||
font-size: 20px;
|
||||
font-weight: 700;
|
||||
color: #101828;
|
||||
}
|
||||
.guide-help-title i {
|
||||
color: #ff6b2c;
|
||||
}
|
||||
.guide-help-contact p {
|
||||
margin: 0 0 16px;
|
||||
color: #475467;
|
||||
line-height: 25px;
|
||||
}
|
||||
.guide-help-email {
|
||||
display: inline-flex;
|
||||
align-items: center;
|
||||
gap: 8px;
|
||||
padding: 10px 18px;
|
||||
border-radius: 8px;
|
||||
background: #fff;
|
||||
border: 1.5px solid #D0D5DD;
|
||||
color: #344054;
|
||||
font-weight: 600;
|
||||
text-decoration: none;
|
||||
transition: border-color .15s, color .15s, transform .15s;
|
||||
}
|
||||
.guide-help-email:hover {
|
||||
border-color: #ff6b2c;
|
||||
color: #ff6b2c;
|
||||
transform: translateY(-1px);
|
||||
}
|
||||
/* Viber community card + button */
|
||||
.guide-viber {
|
||||
background: linear-gradient(135deg, #f3f1ff 0%, #ece8ff 100%);
|
||||
border: 1px solid #ddd6fe;
|
||||
border-radius: 14px;
|
||||
padding: 20px 22px;
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
align-items: flex-start;
|
||||
}
|
||||
.guide-viber-title {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
gap: 10px;
|
||||
margin: 0 0 8px;
|
||||
font-size: 17px;
|
||||
font-weight: 700;
|
||||
color: #4b3fb0;
|
||||
line-height: 22px;
|
||||
}
|
||||
.guide-viber-title i,
|
||||
.guide-viber-btn i {
|
||||
color: #7360F2;
|
||||
}
|
||||
.guide-viber-text {
|
||||
margin: 0 0 16px;
|
||||
color: #475467;
|
||||
line-height: 24px;
|
||||
}
|
||||
.guide-viber-btn {
|
||||
display: inline-flex;
|
||||
align-items: center;
|
||||
gap: 10px;
|
||||
margin-top: auto;
|
||||
padding: 13px 24px;
|
||||
border-radius: 999px;
|
||||
background: linear-gradient(135deg, #7360F2 0%, #8f7ff7 100%);
|
||||
color: #fff;
|
||||
font-weight: 700;
|
||||
font-size: 16px;
|
||||
text-decoration: none;
|
||||
box-shadow: 0 8px 20px rgba(115, 96, 242, .35);
|
||||
transition: transform .15s, box-shadow .15s;
|
||||
}
|
||||
.guide-viber-btn i {
|
||||
color: #fff;
|
||||
font-size: 20px;
|
||||
}
|
||||
.guide-viber-btn:hover {
|
||||
transform: translateY(-2px);
|
||||
box-shadow: 0 12px 26px rgba(115, 96, 242, .45);
|
||||
}
|
||||
/* Was this page helpful? */
|
||||
.guide-feedback {
|
||||
grid-column: 1 / -1;
|
||||
margin-top: 6px;
|
||||
padding-top: 22px;
|
||||
border-top: 1px solid #E4E7EC;
|
||||
display: flex;
|
||||
flex-wrap: wrap;
|
||||
align-items: center;
|
||||
gap: 14px;
|
||||
}
|
||||
.guide-feedback-q {
|
||||
margin: 0;
|
||||
font-weight: 600;
|
||||
color: #344054;
|
||||
}
|
||||
.guide-feedback-buttons {
|
||||
display: flex;
|
||||
gap: 10px;
|
||||
}
|
||||
.guide-feedback-btn {
|
||||
display: inline-flex;
|
||||
align-items: center;
|
||||
gap: 8px;
|
||||
padding: 9px 20px;
|
||||
border-radius: 8px;
|
||||
background: #fff;
|
||||
border: 1.5px solid #D0D5DD;
|
||||
color: #344054;
|
||||
font-weight: 600;
|
||||
font-size: 15px;
|
||||
cursor: pointer;
|
||||
transition: border-color .15s, color .15s, background .15s;
|
||||
}
|
||||
.guide-feedback-btn i {
|
||||
font-size: 13px;
|
||||
color: #98A2B3;
|
||||
}
|
||||
.guide-feedback-btn[data-vote="yes"]:hover {
|
||||
border-color: #12B76A;
|
||||
color: #12B76A;
|
||||
background: #F6FEF9;
|
||||
}
|
||||
.guide-feedback-btn[data-vote="yes"]:hover i {
|
||||
color: #12B76A;
|
||||
}
|
||||
.guide-feedback-btn[data-vote="no"]:hover {
|
||||
border-color: #F04438;
|
||||
color: #F04438;
|
||||
background: #FFFBFA;
|
||||
}
|
||||
.guide-feedback-btn[data-vote="no"]:hover i {
|
||||
color: #F04438;
|
||||
}
|
||||
.guide-feedback-msg {
|
||||
margin: 0;
|
||||
color: #475467;
|
||||
font-weight: 500;
|
||||
}
|
||||
.guide-feedback-msg a {
|
||||
color: #7360F2;
|
||||
font-weight: 600;
|
||||
}
|
||||
@media (max-width: 640px) {
|
||||
.guide-help {
|
||||
grid-template-columns: 1fr;
|
||||
}
|
||||
}
|
||||
|
||||
/* ---------- Route builder ---------- */
|
||||
.guide-route {
|
||||
max-width: 920px;
|
||||
|
||||
Reference in new issue
Block a user