From dea847c3b33d2ce9bbe8668279c698b990b03b65 Mon Sep 17 00:00:00 2001
From: piotr-roslaniec <39299780+piotr-roslaniec@users.noreply.github.com>
Date: Wed, 11 Jun 2025 06:09:47 +0200
Subject: [PATCH 1/7] Update CODEOWNERS
---
CODEOWNERS | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/CODEOWNERS b/CODEOWNERS
index f50e7f0..8b9a19b 100644
--- a/CODEOWNERS
+++ b/CODEOWNERS
@@ -1 +1 @@
-.github/workflows/ci.yaml @pdyraga @lukasz-zimnoch @cygnusv
+.github/workflows/ci.yaml @pdyraga @lukasz-zimnoch @cygnusv @piotr-roslaniec
From 9001c6ad9da2a6780c4877c31829181e09adacb9 Mon Sep 17 00:00:00 2001
From: Piotr Roslaniec
Date: Mon, 23 Jun 2025 13:22:50 +0200
Subject: [PATCH 2/7] chore: add cookie3 script
---
.env.example | 3 ++-
.github/workflows/ci.yml | 2 ++
gatsby-ssr.tsx | 22 ++++++++++++++++++++++
3 files changed, 26 insertions(+), 1 deletion(-)
diff --git a/.env.example b/.env.example
index d151627..6513e08 100644
--- a/.env.example
+++ b/.env.example
@@ -1,2 +1,3 @@
GATSBY_GTM_ID=GTM-XXXXXXX
-GATSBY_GTM_SUPPORT=false
\ No newline at end of file
+GATSBY_GTM_SUPPORT=false
+GATSBY_COOKIE3_SITE_ID=XXXXXXXXXXXXXXXX
\ No newline at end of file
diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml
index a9b85b8..c326c7a 100644
--- a/.github/workflows/ci.yml
+++ b/.github/workflows/ci.yml
@@ -36,6 +36,7 @@ jobs:
env:
PUBLIC_URL: /${{ github.head_ref }}
GATSBY_SUBGRAPH_API_KEY: ${{ secrets.SUBGRAPH_API_KEY }}
+ GATSBY_COOKIE3_SITE_ID: ${{ secrets.COOKIE3_SITE_ID }}
- name: Build
if: github.event_name == 'push'
@@ -48,6 +49,7 @@ jobs:
GATSBY_GTM_SUPPORT: true
GATSBY_GTM_ID: ${{ secrets.GTM_ID }}
GATSBY_SUBGRAPH_API_KEY: ${{ secrets.SUBGRAPH_API_KEY }}
+ GATSBY_COOKIE3_SITE_ID: ${{ secrets.COOKIE3_SITE_ID }}
- uses: actions/upload-artifact@v4
with:
diff --git a/gatsby-ssr.tsx b/gatsby-ssr.tsx
index 09706d0..a945e22 100644
--- a/gatsby-ssr.tsx
+++ b/gatsby-ssr.tsx
@@ -1 +1,23 @@
+import React from "react"
+import type { GatsbySSR } from "gatsby"
+
+const COOKIE3_SCRIPT_VERSION = "0.11.24"
+
+export const onRenderBody: GatsbySSR["onRenderBody"] = ({
+ setHeadComponents,
+}) => {
+ if (process.env.GATSBY_COOKIE3_SITE_ID) {
+ setHeadComponents([
+ ,
+ ])
+ }
+}
+
export { wrapPageElement } from "./gatsby-browser"
From ea62a0a53d3a8aad18e71960b47d20b9f80ef716 Mon Sep 17 00:00:00 2001
From: piotr-roslaniec <39299780+piotr-roslaniec@users.noreply.github.com>
Date: Tue, 24 Jun 2025 13:19:16 +0200
Subject: [PATCH 3/7] Revert "chore: add cookie3 script"
---
.env.example | 3 +--
.github/workflows/ci.yml | 2 --
gatsby-ssr.tsx | 22 ----------------------
3 files changed, 1 insertion(+), 26 deletions(-)
diff --git a/.env.example b/.env.example
index 6513e08..d151627 100644
--- a/.env.example
+++ b/.env.example
@@ -1,3 +1,2 @@
GATSBY_GTM_ID=GTM-XXXXXXX
-GATSBY_GTM_SUPPORT=false
-GATSBY_COOKIE3_SITE_ID=XXXXXXXXXXXXXXXX
\ No newline at end of file
+GATSBY_GTM_SUPPORT=false
\ No newline at end of file
diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml
index c326c7a..a9b85b8 100644
--- a/.github/workflows/ci.yml
+++ b/.github/workflows/ci.yml
@@ -36,7 +36,6 @@ jobs:
env:
PUBLIC_URL: /${{ github.head_ref }}
GATSBY_SUBGRAPH_API_KEY: ${{ secrets.SUBGRAPH_API_KEY }}
- GATSBY_COOKIE3_SITE_ID: ${{ secrets.COOKIE3_SITE_ID }}
- name: Build
if: github.event_name == 'push'
@@ -49,7 +48,6 @@ jobs:
GATSBY_GTM_SUPPORT: true
GATSBY_GTM_ID: ${{ secrets.GTM_ID }}
GATSBY_SUBGRAPH_API_KEY: ${{ secrets.SUBGRAPH_API_KEY }}
- GATSBY_COOKIE3_SITE_ID: ${{ secrets.COOKIE3_SITE_ID }}
- uses: actions/upload-artifact@v4
with:
diff --git a/gatsby-ssr.tsx b/gatsby-ssr.tsx
index a945e22..09706d0 100644
--- a/gatsby-ssr.tsx
+++ b/gatsby-ssr.tsx
@@ -1,23 +1 @@
-import React from "react"
-import type { GatsbySSR } from "gatsby"
-
-const COOKIE3_SCRIPT_VERSION = "0.11.24"
-
-export const onRenderBody: GatsbySSR["onRenderBody"] = ({
- setHeadComponents,
-}) => {
- if (process.env.GATSBY_COOKIE3_SITE_ID) {
- setHeadComponents([
- ,
- ])
- }
-}
-
export { wrapPageElement } from "./gatsby-browser"
From 2577b4fcf57b5ca76faa0c43e81fb68fef4de271 Mon Sep 17 00:00:00 2001
From: Piotr Roslaniec
Date: Mon, 30 Jun 2025 14:03:26 +0200
Subject: [PATCH 4/7] chore: update link to brand assets
---
src/content/components/footer.md | 2 +-
src/content/components/nav-bar.md | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/src/content/components/footer.md b/src/content/components/footer.md
index e4e79b3..4190c2d 100644
--- a/src/content/components/footer.md
+++ b/src/content/components/footer.md
@@ -55,7 +55,7 @@ columns:
url: /about#faq
isExternal: false
- label: Brand Assets
- url: https://bit.ly/threshold-brand-assets
+ url: https://threshold-labs.notion.site/brand-guide
isExternal: true
social_links:
- url: https://twitter.com/TheTNetwork
diff --git a/src/content/components/nav-bar.md b/src/content/components/nav-bar.md
index 591c1a1..6ed33fc 100644
--- a/src/content/components/nav-bar.md
+++ b/src/content/components/nav-bar.md
@@ -39,7 +39,7 @@ nav_items:
label: Audits
url: /about#audits
- label: Brand Assets
- url: https://bit.ly/threshold-brand-assets
+ url: https://threshold-labs.notion.site/brand-guide
isExternal: true
menu_buttons:
- label: tBTC dApp
From fcf105716234e51e8344ddf83be70c31b108505f Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Jos=C3=A9?= <30682875+jo-tm@users.noreply.github.com>
Date: Tue, 22 Jul 2025 20:27:19 +0200
Subject: [PATCH 5/7] signed commit
---
.github/workflows/ci.yml | 2 +-
src/components/Footer/index.tsx | 31 +++++++++++++++++++++++++++----
2 files changed, 28 insertions(+), 5 deletions(-)
diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml
index a9b85b8..f468cc1 100644
--- a/.github/workflows/ci.yml
+++ b/.github/workflows/ci.yml
@@ -1,4 +1,4 @@
-name: Thrershold Website CI
+name: Threshold Website CI
on:
pull_request:
diff --git a/src/components/Footer/index.tsx b/src/components/Footer/index.tsx
index 146ae12..f844ddc 100644
--- a/src/components/Footer/index.tsx
+++ b/src/components/Footer/index.tsx
@@ -56,18 +56,41 @@ const FooterContent: FC<{
justifyContent="center"
p={0}
/>
-
+
- ©{new Date().getFullYear()} | All Rights Reserved
+ ©{new Date().getFullYear()}
+ |
-
+ >
+ All Rights Reserved
+
+ |
+
+ Privacy Policy
+
+ |
+
+ Terms of Use
+
+
Date: Tue, 22 Jul 2025 18:18:57 +0200
Subject: [PATCH 6/7] Update footer component again
---
src/components/Footer/index.tsx | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/src/components/Footer/index.tsx b/src/components/Footer/index.tsx
index f844ddc..1380846 100644
--- a/src/components/Footer/index.tsx
+++ b/src/components/Footer/index.tsx
@@ -80,7 +80,7 @@ const FooterContent: FC<{
target="_blank"
_hover={{ color: "white" }}
>
- Privacy Policy
+ Privacy Policy
|
Date: Tue, 22 Jul 2025 18:25:36 +0200
Subject: [PATCH 7/7] Email verified
---
src/components/Footer/index.tsx | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/src/components/Footer/index.tsx b/src/components/Footer/index.tsx
index 1380846..f844ddc 100644
--- a/src/components/Footer/index.tsx
+++ b/src/components/Footer/index.tsx
@@ -80,7 +80,7 @@ const FooterContent: FC<{
target="_blank"
_hover={{ color: "white" }}
>
- Privacy Policy
+ Privacy Policy
|