diff --git a/app/controllers/react_controller.rb b/app/controllers/react_controller.rb index 810abb8a..56f732dc 100644 --- a/app/controllers/react_controller.rb +++ b/app/controllers/react_controller.rb @@ -52,7 +52,7 @@ class ReactController < ApplicationController end def find_route_matches - request.path.match(/\A\/(home|news|api|suggestions|links|chat_conversations|chat_conversation_accounts|messages|shortcuts|group|groups|list|lists|notifications|tags|compose|follow_requests|admin|account|settings|filters|timeline|blocks|mutes)/) + request.path.match(/\A\/(home|news|api|deck|suggestions|links|chat_conversations|chat_conversation_accounts|messages|shortcuts|group|groups|list|lists|notifications|tags|compose|follow_requests|admin|account|settings|filters|timeline|blocks|mutes)/) end def find_public_route_matches diff --git a/app/javascript/gabsocial/components/deck_column.js b/app/javascript/gabsocial/components/deck_column.js new file mode 100644 index 00000000..d46264d2 --- /dev/null +++ b/app/javascript/gabsocial/components/deck_column.js @@ -0,0 +1,35 @@ +import React from 'react' +import PropTypes from 'prop-types' +import DeckColumnHeader from './deck_column_header' + +class DeckColumn extends React.PureComponent { + + render() { + const { + title, + subtitle, + icon, + children, + } = this.props + + return ( +