From 5c048b2036418b73898415aa8a65d19ffa6a0985 Mon Sep 17 00:00:00 2001 From: Ahmed-Ayman Date: Fri, 7 Dec 2018 19:35:40 +0200 Subject: [PATCH] add the see all videos, topics links --- src/components/RandomTopic.js | 16 ++++++++++------ 1 file changed, 10 insertions(+), 6 deletions(-) diff --git a/src/components/RandomTopic.js b/src/components/RandomTopic.js index 0561173..b9c6bd2 100644 --- a/src/components/RandomTopic.js +++ b/src/components/RandomTopic.js @@ -3,23 +3,27 @@ import React from 'react'; import PropTypes from 'prop-types'; import VideoItem from "./VideoItem"; import SectionHeading from "./SectionHeading"; +import {Link} from 'react-router-dom'; class RandomTopic extends React.Component { render() { return (
- + - { this.props.videos.map(video => - + {this.props.videos.map(video => + )} - + + See All Topics + + + See All videos of {this.props.topicName} () + - See All videos -
)