Skip to content

Commit 830fd83

Browse files
added leave a review button
1 parent a3d4a96 commit 830fd83

File tree

2 files changed

+83
-14
lines changed

2 files changed

+83
-14
lines changed

source/extension.html

Lines changed: 9 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,11 +6,18 @@
66
</head>
77
<body>
88
<h1>Emoji Copy Extension</h1>
9-
<p>Toggle below:</p>
9+
10+
<!-- <p>Toggle below:</p> -->
1011
<label class="switch">
1112
<input id="toggle" type="checkbox">
1213
<span class="slider round"></span>
1314
</label>
14-
<p>Report any issues <a target="_blank" href="https://github.com/redbackspider77/EmojiCopyExtension/issues/new">on the Github.</a></p>
15+
16+
<div id="review-block">
17+
<p id="like" class="pulse">Like the extension?</p>
18+
<a target="_blank" href="https://chromewebstore.google.com/detail/emoji-copy-extension/nhkpcjdklcgchjejlnfdpgpcgmailpik#:~:text=Leave%20a%20review%20below%20if%20you%20like%20the%20extension%2C%20your%20feedback%20is%20really%20appreciated%21"><button id="review">Reviews are appreciated! 😊</button></a>
19+
</div>
20+
21+
<p id="issues">Report any issues <a target="_blank" href="https://github.com/redbackspider77/EmojiCopyExtension/issues/new">on the Github</a>.</p>
1522
</body>
1623
</html>

source/style.css

Lines changed: 74 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -4,23 +4,85 @@ body {
44
font-family: Calibri;
55
white-space: nowrap;
66
text-align: center;
7+
background: #f8f9fa;
8+
color: black;
79
}
810

9-
@media (prefers-color-scheme: light) {
10-
body {
11-
background: #f8f9fa;
12-
color: black;
13-
}
11+
.review-block {
12+
margin-top: 12px;
13+
margin-bottom: 20px;
14+
}
15+
16+
#like {
17+
margin-bottom: 8px;
18+
font-weight: 500;
19+
font-size: 16px;
20+
color: inherit;
21+
}
22+
23+
#review {
24+
background-color: #2196F3;
25+
color: white;
26+
border: none;
27+
padding: 10px 20px;
28+
font-size: 15px;
29+
border-radius: 25px;
30+
cursor: pointer;
31+
transition: background-color 0.3s ease, transform 0.1s ease;
32+
font-family: Calibri, sans-serif;
33+
box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
34+
}
35+
36+
#review:hover {
37+
background-color: #1976D2;
38+
transform: scale(1.03);
39+
}
40+
41+
.pulse {
42+
animation: pulse 2.5s infinite;
43+
font-weight: 500;
44+
font-size: 16px;
45+
margin-top: 24px;
46+
letter-spacing: 0.2em;
47+
}
48+
49+
@keyframes pulse {
50+
0% {
51+
opacity: 1;
52+
transform: scale(1);
53+
}
54+
50% {
55+
opacity: 0.7;
56+
transform: scale(1.03);
57+
}
58+
100% {
59+
opacity: 1;
60+
transform: scale(1);
61+
}
62+
}
63+
64+
#issues {
65+
margin-top: 20px;
1466
}
1567

1668
@media (prefers-color-scheme: dark) {
17-
body {
18-
background: #303134;
19-
color: white;
20-
}
21-
a {
22-
color: #4f8cff;
23-
}
69+
body {
70+
background: #303134;
71+
color: white;
72+
}
73+
74+
a {
75+
color: #4f8cff;
76+
}
77+
78+
#review {
79+
background-color: #4f8cff;
80+
color: white;
81+
}
82+
83+
#review:hover {
84+
background-color: #377de6;
85+
}
2486
}
2587

2688
/* The switch - the box around the slider */

0 commit comments

Comments
 (0)