diff --git a/components/episodepager.js b/components/episodepager.js index df99ef8..3f7e447 100755 --- a/components/episodepager.js +++ b/components/episodepager.js @@ -16,12 +16,12 @@ const EpisodePager = ({ episodedata, config, showdata }) => { } return ( -
+
{episodedata.data.map((episode) => (
- {episode.attributes.Title} + {episode.attributes.Title}
{episode.attributes.publishedAt} diff --git a/components/episodesidebar.js b/components/episodesidebar.js index fa1403e..1fd6123 100755 --- a/components/episodesidebar.js +++ b/components/episodesidebar.js @@ -7,7 +7,7 @@ const EpisodeSideBar = (epdata) => {
{epdata.epdata.data.map((episode) => (
-

{episode.attributes.Title}

+

{episode.attributes.Title}


diff --git a/components/showsidebar.js b/components/showsidebar.js index 14ab186..5845a7c 100755 --- a/components/showsidebar.js +++ b/components/showsidebar.js @@ -1,13 +1,25 @@ import Image from 'next/image'; +import { Link } from 'react-router-dom'; +import config from '../data/internal/config' -const ShowSideBar = (props) => ( +const ShowSideBar = (props) => { + console.log(props.props.data[0].attributes) + return(
-
-); +
+

Feeds

+ + +
); +} export default ShowSideBar \ No newline at end of file diff --git a/pages/index.js b/pages/index.js index fe9fb83..12a1551 100755 --- a/pages/index.js +++ b/pages/index.js @@ -39,7 +39,6 @@ export async function getStaticProps(context) { const artdata = await res.json() const article = artdata.data[0].attributes - console.log(article) const epdata = await getLatestPodcastEpisode() @@ -75,7 +74,7 @@ function HomePage (props) {
{/* {episode.show} */} {props.article.Title} {/* {episode.show} */} {episode.show} (

{props.showdata.title}

+
)