Compare commits
2 commits
e8a23bd1ca
...
69c2181afa
Author | SHA1 | Date | |
---|---|---|---|
69c2181afa | |||
|
5c048b2036 |
1 changed files with 10 additions and 6 deletions
|
@ -3,6 +3,7 @@ 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 {
|
||||
|
||||
|
@ -16,10 +17,13 @@ class RandomTopic extends React.Component {
|
|||
{this.props.videos.map(video =>
|
||||
<VideoItem id={video.id} title={video.title}/>
|
||||
)}
|
||||
|
||||
<Link to="/topics">
|
||||
See All Topics
|
||||
</Link>
|
||||
<Link to="/topics">
|
||||
See All videos of {this.props.topicName} ()
|
||||
</Link>
|
||||
</Grid>
|
||||
<a href="/topics">See All videos</a>
|
||||
|
||||
</section>
|
||||
|
||||
)
|
||||
|
|
Loading…
Add table
Reference in a new issue