From 91aabb28b2e95bbe8b9228799e76682f32f93842 Mon Sep 17 00:00:00 2001 From: Kieran O'Neill Date: Sun, 24 Dec 2023 13:15:54 +0000 Subject: [PATCH] feat: add brave install link --- .../DownloadSection/DownloadSection.tsx | 7 +++ static/images/brave.svg | 63 +++++++++++++++++++ 2 files changed, 70 insertions(+) create mode 100644 static/images/brave.svg diff --git a/src/components/DownloadSection/DownloadSection.tsx b/src/components/DownloadSection/DownloadSection.tsx index d8273ec..4614d11 100644 --- a/src/components/DownloadSection/DownloadSection.tsx +++ b/src/components/DownloadSection/DownloadSection.tsx @@ -8,6 +8,7 @@ import DownloadItem from './DownloadItem'; import { CHROME_STORE_LINK } from '@site/src/constants'; // images +import braveSvg from '@site/static/images/brave.svg'; import chromeSvg from '@site/static/images/chrome.svg'; import firefoxSvg from '@site/static/images/firefox.svg'; @@ -33,6 +34,12 @@ const DownloadSection: FC = ({ variant }: IProps) => { name: 'Firefox', SvgComponent: firefoxSvg, }, + { + buttonLabel: 'Install', + downloadUri: CHROME_STORE_LINK, + name: 'Brave', + SvgComponent: braveSvg, + }, ]; return ( diff --git a/static/images/brave.svg b/static/images/brave.svg new file mode 100644 index 0000000..540072b --- /dev/null +++ b/static/images/brave.svg @@ -0,0 +1,63 @@ + + + + + + + + + + + + + + + + + + + + + + +