From 44607ca41075762bdca82cc7bc6c02f916b0e5dd Mon Sep 17 00:00:00 2001 From: Laurens Valk Date: Sat, 13 Jun 2020 16:34:03 +0200 Subject: [PATCH] images: add support and pybricks docs buttons --- src/components/DocsButton.tsx | 2 +- src/components/SupportButton.tsx | 2 +- src/components/images/pybricks.svg | 159 ++++++++++++++++++++++++++++ src/components/images/support.svg | 164 +++++++++++++++++++++++++++++ 4 files changed, 325 insertions(+), 2 deletions(-) create mode 100644 src/components/images/pybricks.svg create mode 100644 src/components/images/support.svg diff --git a/src/components/DocsButton.tsx b/src/components/DocsButton.tsx index 52faf863..46afb705 100644 --- a/src/components/DocsButton.tsx +++ b/src/components/DocsButton.tsx @@ -8,7 +8,7 @@ import { Action, Dispatch } from '../actions'; import { toggleDocs } from '../actions/app'; import ActionButton, { ActionButtonProps } from './ActionButton'; import { TooltipId } from './button-i18n'; -import docsIcon from './images/run.svg'; // FIXME: need proper icon +import docsIcon from './images/pybricks.svg'; type StateProps = undefined; type DispatchProps = Pick; diff --git a/src/components/SupportButton.tsx b/src/components/SupportButton.tsx index 5e997767..1886d89a 100644 --- a/src/components/SupportButton.tsx +++ b/src/components/SupportButton.tsx @@ -4,7 +4,7 @@ import { connect } from 'react-redux'; import LinkButton, { LinkButtonProps } from './LinkButton'; import { TooltipId } from './button-i18n'; -import supportIcon from './images/stop.svg'; // FIXME: replace with correct icon +import supportIcon from './images/support.svg'; type StateProps = undefined; type DispatchProps = undefined; diff --git a/src/components/images/pybricks.svg b/src/components/images/pybricks.svg new file mode 100644 index 00000000..cf3ffcc2 --- /dev/null +++ b/src/components/images/pybricks.svg @@ -0,0 +1,159 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + image/svg+xml + + + + + + + + + + + diff --git a/src/components/images/support.svg b/src/components/images/support.svg new file mode 100644 index 00000000..76ce8d29 --- /dev/null +++ b/src/components/images/support.svg @@ -0,0 +1,164 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + image/svg+xml + + + + + + + + + + + +