From 4ce96d9867105596c669ad318a08e7e9805c5cf5 Mon Sep 17 00:00:00 2001 From: eastmael Date: Fri, 10 Aug 2018 05:43:50 +0000 Subject: [PATCH 1/2] display ulog-quotes created --- src/client/feed/Page.js | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/src/client/feed/Page.js b/src/client/feed/Page.js index fa7db0c920..dedcf448ab 100644 --- a/src/client/feed/Page.js +++ b/src/client/feed/Page.js @@ -51,6 +51,8 @@ class Page extends React.Component { const shouldDisplaySelector = location.pathname !== '/' || (!authenticated && loaded); const displayTopicSelector = location.pathname === '/trending'; + const displayUlogQuotes = location.pathname === '/created/ulog-quotes'; + console.log(location.pathname); const robots = location.pathname === '/' ? 'index,follow' : 'noindex,follow'; @@ -86,6 +88,9 @@ class Page extends React.Component {
+ {displayUlogQuotes && +
Display ulog quotes here..
+ } {displayTopicSelector && } {shouldDisplaySelector && ( Date: Fri, 10 Aug 2018 22:30:42 +0900 Subject: [PATCH 2/2] added #ulog-quotes collapse to created/ulog-quotes --- src/client/feed/Feed.less | 4 ++++ src/client/feed/Page.js | 22 ++++++++++++++++++---- 2 files changed, 22 insertions(+), 4 deletions(-) diff --git a/src/client/feed/Feed.less b/src/client/feed/Feed.less index 120ef82194..c9765af1c2 100644 --- a/src/client/feed/Feed.less +++ b/src/client/feed/Feed.less @@ -1,3 +1,7 @@ .Feed { padding-bottom: 40px; } + +.ulog-quotes { + padding-bottom: 20px; +} diff --git a/src/client/feed/Page.js b/src/client/feed/Page.js index dedcf448ab..155d253f71 100644 --- a/src/client/feed/Page.js +++ b/src/client/feed/Page.js @@ -2,7 +2,7 @@ import React from 'react'; import PropTypes from 'prop-types'; import { connect } from 'react-redux'; import { Helmet } from 'react-helmet'; -import { Carousel } from 'antd'; +import { Carousel, Collapse } from 'antd'; import { getFeedContent } from './feedActions'; import { getIsLoaded, getIsAuthenticated } from '../reducers'; import SubFeed from './SubFeed'; @@ -15,6 +15,7 @@ import Affix from '../components/Utils/Affix'; import ScrollToTop from '../components/Utils/ScrollToTop'; import ScrollToTopOnMount from '../components/Utils/ScrollToTopOnMount'; import QuickPostEditor from '../components/QuickPostEditor/QuickPostEditor'; +import './Feed.less'; @connect(state => ({ authenticated: getIsAuthenticated(state), @@ -52,8 +53,6 @@ class Page extends React.Component { const shouldDisplaySelector = location.pathname !== '/' || (!authenticated && loaded); const displayTopicSelector = location.pathname === '/trending'; const displayUlogQuotes = location.pathname === '/created/ulog-quotes'; - console.log(location.pathname); - const robots = location.pathname === '/' ? 'index,follow' : 'noindex,follow'; return ( @@ -89,7 +88,22 @@ class Page extends React.Component {
{displayUlogQuotes && -
Display ulog quotes here..
+
+ + + "We have all created quotes. We tend to quote others; we can quote ourselves too; we can have others quote us. We can have the world quote us. Let's have the world quote us!" @surpassinggoogle

+ "Let's become reasons for the world to find glow. Let's be that light and let's move inside the tunnel. Let's bring that very light closer and inside, to the masses who seek the "end of the tunnel". @surpassinggoogle

+ + Join the movement! Be "true fans" on #ulog-quotes! Create #ulog-quotes now by Clicking Here! Join us on Discord & Telegram.

+ Verified/Certified @uloggers who oversea #ulog-quotes currently:
+ +
+
+
+
} {displayTopicSelector && } {shouldDisplaySelector && (