From 1ec36fb45d48cadd98ec7188414fa6de4d9455ad Mon Sep 17 00:00:00 2001 From: Anike Arni Date: Tue, 28 Mar 2017 15:33:55 -0300 Subject: [#932] Adds back link to account recovery steps --- web-ui/src/common/back_link/back_link.js | 35 +++++++++++++++++++++++++++ web-ui/src/common/back_link/back_link.scss | 31 ++++++++++++++++++++++++ web-ui/src/common/back_link/back_link.spec.js | 20 +++++++++++++++ 3 files changed, 86 insertions(+) create mode 100644 web-ui/src/common/back_link/back_link.js create mode 100644 web-ui/src/common/back_link/back_link.scss create mode 100644 web-ui/src/common/back_link/back_link.spec.js (limited to 'web-ui/src/common') diff --git a/web-ui/src/common/back_link/back_link.js b/web-ui/src/common/back_link/back_link.js new file mode 100644 index 00000000..f3bdb2b5 --- /dev/null +++ b/web-ui/src/common/back_link/back_link.js @@ -0,0 +1,35 @@ +/* + * Copyright (c) 2017 ThoughtWorks, Inc. + * + * Pixelated is free software: you can redistribute it and/or modify + * it under the terms of the GNU Affero General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + * + * Pixelated is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU Affero General Public License for more details. + * + * You should have received a copy of the GNU Affero General Public License + * along with Pixelated. If not, see . + */ + +import React from 'react'; + +import './back_link.scss'; + +const BackLink = ({ text, ...other }) => ( +
+ +