-
Notifications
You must be signed in to change notification settings - Fork 3
Expand file tree
/
Copy pathfeedback.php
More file actions
49 lines (46 loc) · 1.55 KB
/
feedback.php
File metadata and controls
49 lines (46 loc) · 1.55 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
<?php
echo '<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/4.7.0/css/font-awesome.min.css">' . "\n" ;
echo '<link href="https://fonts.googleapis.com/css?family=Roboto" rel="stylesheet">' . "\n" ;
echo '<style>
.css-button-google {
font-family: Roboto, sans-serif;
text-decoration: none;
color: #FFFFFF;
font-size: 16px;
border-radius: 5px;
border: 1px #3381ed solid;
background: linear-gradient(180deg, #3d93f6 5%, #1e62d0 100%);
text-shadow: 1px 1px 1px #1571cd;
box-shadow: inset 1px 1px 2px 0px #97c4fe;
cursor: pointer;
display: inline-flex;
align-items: center;
margin-top: 12px;
margin-bottom: 12px;
}
.css-button-google:hover {
background: linear-gradient(180deg, #1e62d0 5%, #3d93f6 100%);
}
.css-button-google-icon {
padding: 10px 16px;
border-right: 1px solid rgba(255, 255, 255, 0.16);
box-shadow: rgba(0, 0, 0, 0.14) -1px 0px 0px inset;
}
.css-button-google-icon i {
position: relative;
font-size: 24px;
}
.css-button-google-text {
padding: 10px 18px;
}
</style>' . "\n" ;
/* Insert Google Review button */
function feedbackRequestGoogle () {
echo '<div class="reviewarea">' ;
echo '<p>Ако сте доволни от покупката, бихте ли оставили отзив за нас?</p>' ;
echo '<a class="css-button-google" href="' . REVIEW_URL_GMB . '">' . "\n" ;
echo '<span class="css-button-google-icon"><i class="fa fa-google" aria-hidden="true"></i></span>' . "\n" ;
echo '<span class="css-button-google-text">Препоръчай</span>' . "\n" ;
echo '</a>' ;
echo '</div>' ;
}