Skip to content

Commit 86e4ad5

Browse files
committed
Updates
1 parent 21c658b commit 86e4ad5

File tree

2 files changed

+9
-9
lines changed

2 files changed

+9
-9
lines changed

src/components/OneTrust.astro

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,6 @@
11
---
2+
import { Image } from "astro:assets";
3+
import PrivacyChoicesImage from "~/assets/privacyoptions.svg";
24
const isProduction = import.meta.env.PROD;
35
46
const uuid = isProduction
@@ -10,17 +12,15 @@ const uuid = isProduction
1012
src="https://ot.www.cloudflare.com/public/vendor/onetrust/scripttemplates/otSDKStub.js"
1113
type="text/javascript"
1214
charset="UTF-8"
13-
data-domain-script={uuid}
15+
data-domain-script="b1e05d49-f072-4bae-9116-bdb78af15448"
1416
is:inline></script>
1517
<script type="text/javascript" is:inline>
1618
// eslint-disable-next-line @typescript-eslint/no-unused-vars
1719
function OptanonWrapper() {}
1820
</script>
1921
<!-- OneTrust Cookies Settings button start -->
20-
<button id="ot-sdk-btn" class="ot-sdk-show-settings">
21-
<img class="w4 mr1" src="/privacyoptions.svg" alt="privacy options" />Cookie
22-
Settings</button
23-
>
22+
<Image src={PrivacyChoicesImage} alt="privacy options" />
23+
<button id="ot-sdk-btn" class="ot-sdk-show-settings"> Cookie Settings</button>
2424
<!-- OneTrust Cookies Settings button end -->
2525

2626
<style>

src/components/overrides/Footer.astro

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -90,7 +90,7 @@ if (
9090
}
9191
{!splash && <Default />}
9292
<div class="w-full">
93-
<div class="grid grid-cols-2 gap-8 pb-10 pt-6 lg:grid-cols-5">
93+
<div class="grid grid-cols-2 gap-8 pt-6 pb-10 lg:grid-cols-5">
9494
{
9595
groups.map(([title, items]) => (
9696
<ul class="flex w-full list-none flex-col gap-3 pl-0">
@@ -114,23 +114,23 @@ if (
114114
</div>
115115
<div>
116116
<ul
117-
class="flex list-inside flex-wrap items-center justify-center gap-3 gap-y-4 pl-0 text-xs text-cl1-gray-4! dark:text-cl1-gray-7!"
117+
class="text-cl1-gray-4! dark:text-cl1-gray-7! flex list-inside flex-wrap items-center justify-center gap-3 gap-y-4 pl-0 text-xs"
118118
>
119119
<li class="list-none">2025 Cloudflare, Inc.</li>
120120
{
121121
links.map(([text, href]) => (
122122
<li>
123123
<a
124124
href={href}
125-
class="text-cl1-gray-4! no-underline dark:text-cl1-gray-7!"
125+
class="text-cl1-gray-4! dark:text-cl1-gray-7! no-underline"
126126
>
127127
{text}
128128
</a>
129129
</li>
130130
))
131131
}
132132
{
133-
isProduction && (
133+
(
134134
<li>
135135
<OneTrust />
136136
</li>

0 commit comments

Comments
 (0)