From 77ee1ce7fee698847e211dc15d4673300901aa48 Mon Sep 17 00:00:00 2001
From: Harrison Healey <harrisonmhealey@gmail.com>
Date: Fri, 8 Apr 2016 11:51:28 -0400
Subject: PLT-2553 Updated backstage page navigation (#2661)

* Updated integrations list based on feedback

* Reorganized Integrations pages

* Repurposed AddIntegration page as a landing page for Integrations

* Moved backstage breadcrumb header into its own component

* Removed unnecessary prop

* Fixed Save links on AddIntegration pages
---
 webapp/components/backstage/integration_option.jsx | 39 ++++++++++++++++++++++
 1 file changed, 39 insertions(+)
 create mode 100644 webapp/components/backstage/integration_option.jsx

(limited to 'webapp/components/backstage/integration_option.jsx')

diff --git a/webapp/components/backstage/integration_option.jsx b/webapp/components/backstage/integration_option.jsx
new file mode 100644
index 000000000..dd7cc0c4c
--- /dev/null
+++ b/webapp/components/backstage/integration_option.jsx
@@ -0,0 +1,39 @@
+// Copyright (c) 2016 Mattermost, Inc. All Rights Reserved.
+// See License.txt for license information.
+
+import React from 'react';
+
+import {Link} from 'react-router';
+
+export default class IntegrationOption extends React.Component {
+    static get propTypes() {
+        return {
+            image: React.PropTypes.string.isRequired,
+            title: React.PropTypes.node.isRequired,
+            description: React.PropTypes.node.isRequired,
+            link: React.PropTypes.string.isRequired
+        };
+    }
+
+    render() {
+        const {image, title, description, link} = this.props;
+
+        return (
+            <Link
+                to={link}
+                className='integration-option'
+            >
+                <img
+                    className='integration-option__image'
+                    src={image}
+                />
+                <div className='integration-option__title'>
+                    {title}
+                </div>
+                <div className='integration-option__description'>
+                    {description}
+                </div>
+            </Link>
+        );
+    }
+}
-- 
cgit v1.2.3-1-g7c22

