This repository was archived by the owner on Mar 24, 2026. It is now read-only.
-
-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy pathconsent.tsx
More file actions
94 lines (86 loc) · 2.47 KB
/
consent.tsx
File metadata and controls
94 lines (86 loc) · 2.47 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
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
import {
MdOutlinePrivacyTip,
MdCookie,
MdGavel,
MdSecurity,
} from 'react-icons/md';
const Privacy = () => {
return (
<a
href="https://www.iubenda.com/privacy-policy/97069484/full-legal"
className="text-gray-400 hover:text-gray-300 transition-colors duration-200 ease-in-out inline-flex items-center gap-2"
title="Privacy Policy"
target="_blank"
rel="noopener noreferrer"
>
<MdOutlinePrivacyTip className="w-4 h-4" />
Privacy Policy
</a>
);
};
const Cookies = () => {
return (
<a
href="https://www.iubenda.com/privacy-policy/97069484/cookie-policy"
className="text-gray-400 hover:text-gray-300 transition-colors duration-200 ease-in-out inline-flex items-center gap-2"
title="Cookie Policy"
target="_blank"
rel="noopener noreferrer"
>
<MdCookie className="w-4 h-4" />
Cookie Policy
</a>
);
};
const Terms = () => {
return (
<a
href="https://www.iubenda.com/terms-and-conditions/97069484"
className="text-gray-400 hover:text-gray-300 transition-colors duration-200 ease-in-out inline-flex items-center gap-2"
title="Terms and Conditions"
target="_blank"
rel="noopener noreferrer"
>
<MdGavel className="w-4 h-4" />
Terms & Conditions
</a>
);
};
const Security = () => {
return (
<a
href="/security"
className="text-gray-400 hover:text-gray-300 transition-colors duration-200 ease-in-out inline-flex items-center gap-2"
title="Security - Responsible Disclosure"
>
<MdSecurity className="w-4 h-4" />
Security
</a>
);
};
// const PrivacyChoices = () => {
// useEffect(() => {
// const script = document.createElement('script');
// script.src =
// '//embeds.iubenda.com/widgets/1a87d6c7-a30f-472c-97ad-dee6e51b6968.js';
// script.async = true;
// script.type = 'text/javascript';
// document.body.appendChild(script);
// return () => {
// if (document.body.contains(script)) {
// document.body.removeChild(script);
// }
// };
// }, []);
// return (
// <a
// href="#"
// className="text-gray-400 hover:text-gray-300 transition-colors duration-200 ease-in-out inline-flex items-center gap-2 iubenda-cs-preferences-link"
// title="Your Privacy Choices"
// >
// <MdOutlinePrivacyTip className="w-4 h-4" />
// Your Privacy Choices
// </a>
// );
// };
export { Privacy, Cookies, Terms, Security };