pdfequips-footer 0.1.8 → 0.1.9

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -3,6 +3,7 @@ import {
3
3
  FaInstagram,
4
4
  FaLinkedinIn,
5
5
  FaXTwitter,
6
+ FaTiktok
6
7
  } from "react-icons/fa6";
7
8
  import FooterLinks from "./FooterLinks";
8
9
  import { getFooterContent } from "../src/getFooterContent";
@@ -64,6 +65,13 @@ export const Footer = ({
64
65
  >
65
66
  <FaLinkedinIn size="25" />
66
67
  </a>
68
+ <a
69
+ href="https://www.tiktok.com/@pdfequips"
70
+ target="_blank"
71
+ className="tiktok"
72
+ >
73
+ <FaTiktok size="25" />
74
+ </a>
67
75
  </div>
68
76
  </div>
69
77
  <div className="bottom-row">
@@ -94,15 +102,6 @@ export const Footer = ({
94
102
  <li>
95
103
  <a href="/zh/" className="text-muted">中文</a>
96
104
  </li>
97
- <li>
98
- <a href="https://www.buymeacoffee.com/sanusi" target="_blank"
99
- ><img
100
- src="https://cdn.buymeacoffee.com/buttons/v2/default-yellow.png"
101
- alt="Buy Me A Coffee"
102
- style={{ height: "60px !important", width: "217px !important" }}
103
- />
104
- </a>
105
- </li>
106
105
  </ul>
107
106
  </div>
108
107
  <div>
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "pdfequips-footer",
3
- "version": "0.1.8",
3
+ "version": "0.1.9",
4
4
  "type": "module",
5
5
  "scripts": {
6
6
  "dev": "next dev",
@@ -12,6 +12,7 @@
12
12
  "cssmolecule": "^1.0.2",
13
13
  "custom-bs": "^1.3.0",
14
14
  "next": "^13.4.19",
15
+ "pdfequips-donate-btn": "^0.0.5",
15
16
  "react": "^18.2.0",
16
17
  "react-dom": "^18.2.0",
17
18
  "react-icons": "^5.3.0"
package/scss/_footer.scss CHANGED
@@ -27,32 +27,47 @@ footer {
27
27
  align-self: stretch;
28
28
  }
29
29
 
30
- .buy-me-coffee-btn {
31
- img {
32
- height: 60px !important;
33
- width: 217px !important;
34
- }
35
- }
36
-
37
30
  .socials {
38
31
  @include extend("col d-flex justify-content-between align-items-center");
39
32
 
40
33
  .facebook {
41
34
  color: #1877f2;
35
+
36
+ &:hover {
37
+ animation: animate 0.6s ease-in-out;
38
+ }
42
39
  }
43
40
 
44
41
  .twitter {
45
42
  color: #000000;
43
+
44
+ &:hover {
45
+ animation: animate 0.6s ease-in-out;
46
+ }
46
47
  }
47
48
 
48
49
  .instagram {
49
50
  fill: url(#rg);
51
+
52
+ &:hover {
53
+ animation: animate 0.6s ease-in-out;
54
+ }
50
55
  }
51
56
 
57
+ .tiktok {
58
+ color: #000000;
52
59
 
60
+ &:hover {
61
+ animation: color-glitch 1.15s infinite, position-glitch 1.1s infinite;
62
+ }
63
+ }
53
64
 
54
65
  .linkedin {
55
66
  color: #0a66c2;
67
+
68
+ &:hover {
69
+ animation: animate 0.6s ease-in-out;
70
+ }
56
71
  }
57
72
  }
58
73
  }
@@ -94,4 +109,98 @@ footer {
94
109
  }
95
110
  }
96
111
  }
112
+ }
113
+
114
+ @keyframes color-glitch {
115
+ 0% {
116
+ color: #000000;
117
+ }
118
+
119
+ 16.66% {
120
+ color: #ff0050;
121
+ }
122
+
123
+ // TikTok red/pink
124
+ 33.33% {
125
+ color: #00f5ff;
126
+ }
127
+
128
+ // TikTok cyan
129
+ 50% {
130
+ color: #ffffff;
131
+ }
132
+
133
+ // White flash
134
+ 66.66% {
135
+ color: #ff0050;
136
+ }
137
+
138
+ // TikTok red/pink
139
+ 83.33% {
140
+ color: #000000;
141
+ }
142
+
143
+ // Back to original
144
+ 100% {
145
+ color: #00f5ff;
146
+ }
147
+
148
+ // TikTok cyan
149
+ }
150
+
151
+ @keyframes position-glitch {
152
+
153
+ 0%,
154
+ 100% {
155
+ transform: translate(0);
156
+ }
157
+
158
+ 10% {
159
+ transform: translate(-1px, 1px);
160
+ }
161
+
162
+ 20% {
163
+ transform: translate(1px, -1px);
164
+ }
165
+
166
+ 30% {
167
+ transform: translate(-1px, -1px);
168
+ }
169
+
170
+ 40% {
171
+ transform: translate(1px, 1px);
172
+ }
173
+
174
+ 50% {
175
+ transform: translate(-2px, 0px);
176
+ }
177
+
178
+ 60% {
179
+ transform: translate(2px, 0px);
180
+ }
181
+
182
+ 70% {
183
+ transform: translate(0px, -1px);
184
+ }
185
+
186
+ 80% {
187
+ transform: translate(0px, 1px);
188
+ }
189
+
190
+ 90% {
191
+ transform: translate(-1px, 0px);
192
+ }
193
+ }
194
+
195
+ @keyframes animate {
196
+
197
+ 0%,
198
+ 100% {
199
+ transform: rotate(5deg);
200
+ }
201
+
202
+ 50% {
203
+ transform: rotate(5deg);
204
+ filter: brightness(1.4) saturate(1.5);
205
+ }
97
206
  }