From 1a60fa60a51c7bd538af470bd436e4ab694a6c95 Mon Sep 17 00:00:00 2001 From: Travis Vachon Date: Mon, 16 Dec 2024 12:41:01 -0800 Subject: [PATCH 1/2] feat: add referrals banner currently configured to run for all of Q1 --- app.config.ts | 9 ++++----- components/Notice.vue | 7 +++---- 2 files changed, 7 insertions(+), 9 deletions(-) diff --git a/app.config.ts b/app.config.ts index e6c398c..0015ffe 100644 --- a/app.config.ts +++ b/app.config.ts @@ -4,9 +4,9 @@ export default defineAppConfig({ dateFormat: 'MMM DD, YYYY', notice: { - text: 'Join our Halloween Hackathon 2024! $6666 in DEVILISH prizes up for grabs. Apply before the 13th of October!', - href: 'https://hackathon.storacha.network', - displayUntil: '2024-10-14', // use ISO date format or final day +1 in yyyy-mm-dd + text: 'EARN RACHA POINTS AND STORAGE CREDITS BY REFERRING FRIENDS LEARN MORE', + href: 'https://storacha.network/referrals', + displayUntil: '2025-03-01', // use ISO date format or final day +1 in yyyy-mm-dd }, actions: { start: { text: 'Start Storing', href: 'https://console.storacha.network/' }, @@ -17,8 +17,7 @@ export default defineAppConfig({ { text: 'Node Providers', href: '/node-providers' }, { text: 'Blog', href: '/blog' }, { text: 'Docs', href: 'https://docs.storacha.network' }, - // TODO: uncomment when we're ready for this to go live - // { text: 'Referrals', href: '/referrals' }, + { text: 'Referrals', href: '/referrals' }, ], mailingList: { icon: 'i-carbon:email', diff --git a/components/Notice.vue b/components/Notice.vue index f4c80ba..d47f482 100644 --- a/components/Notice.vue +++ b/components/Notice.vue @@ -14,9 +14,8 @@ onMounted(() => { From 8e7ec6bb7ade922dba1ad176136cbf48f343e157 Mon Sep 17 00:00:00 2001 From: Travis Vachon Date: Mon, 16 Dec 2024 13:31:24 -0800 Subject: [PATCH 2/2] bump banner expiry date to next december --- app.config.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app.config.ts b/app.config.ts index 0015ffe..6e4815f 100644 --- a/app.config.ts +++ b/app.config.ts @@ -6,7 +6,7 @@ export default defineAppConfig({ notice: { text: 'EARN RACHA POINTS AND STORAGE CREDITS BY REFERRING FRIENDS LEARN MORE', href: 'https://storacha.network/referrals', - displayUntil: '2025-03-01', // use ISO date format or final day +1 in yyyy-mm-dd + displayUntil: '2025-12-31', // use ISO date format or final day +1 in yyyy-mm-dd }, actions: { start: { text: 'Start Storing', href: 'https://console.storacha.network/' },