From 03fbe3ec8a323d153a139cbc8629eb4e4fbe5732 Mon Sep 17 00:00:00 2001 From: Kieran O'Neill Date: Sat, 13 Jan 2024 20:15:51 +0000 Subject: [PATCH] feat: add firefox add-on link --- src/components/DownloadSection/DownloadSection.tsx | 7 ++++++- src/constants/Links.ts | 2 ++ 2 files changed, 8 insertions(+), 1 deletion(-) diff --git a/src/components/DownloadSection/DownloadSection.tsx b/src/components/DownloadSection/DownloadSection.tsx index 336e6a4..725ca30 100644 --- a/src/components/DownloadSection/DownloadSection.tsx +++ b/src/components/DownloadSection/DownloadSection.tsx @@ -5,7 +5,11 @@ import Section from '@site/src/components/Section'; import DownloadItem from './DownloadItem'; // constants -import { CHROME_STORE_LINK, EDGE_STORE_LINK } from '@site/src/constants'; +import { + CHROME_STORE_LINK, + EDGE_STORE_LINK, + FIREFOX_ADD_ON_LINK, +} from '@site/src/constants'; // images import braveSvg from '@site/static/images/brave.svg'; @@ -32,6 +36,7 @@ const DownloadSection: FC = ({ variant }: IProps) => { }, { buttonLabel: 'Install', + downloadUri: FIREFOX_ADD_ON_LINK, name: 'Firefox', SvgComponent: firefoxSvg, }, diff --git a/src/constants/Links.ts b/src/constants/Links.ts index 6be50b5..45513c4 100644 --- a/src/constants/Links.ts +++ b/src/constants/Links.ts @@ -3,6 +3,8 @@ export const CHROME_STORE_LINK: string = 'https://chromewebstore.google.com/detail/kibisis/hcgejekffjilpgbommjoklpneekbkajb'; export const EDGE_STORE_LINK: string = 'https://microsoftedge.microsoft.com/addons/detail/kibisis/bajncpocmkioafbijldokfbjajelkbmc'; +export const FIREFOX_ADD_ON_LINK: string = + 'https://addons.mozilla.org/addon/kibisis/'; export const GITHUB_LINK: string = 'https://github.com/agoralabs-sh/kibisis-web-extension'; export const KIBISIS_LINK: string = 'https://kibis.is';