angrybeanie-front-end/components/showsidebar.js

26 lines
980 B
JavaScript
Raw Normal View History

2023-05-20 20:17:35 +10:00
import Image from "next/legacy/image";
import { Link } from 'react-router-dom';
import config from '../data/internal/config'
2021-02-04 14:27:14 +11:00
const ShowSideBar = (props) => {
return(
2021-02-04 14:27:14 +11:00
<div className="side_content col-md-3">
<Image
src={config.siteURL + props.props.data[0].attributes.Logo.data.attributes.url}
height={props.props.data[0].attributes.Logo.data.attributes.height}
width={props.props.data[0].attributes.Logo.data.attributes.width}
2021-02-04 14:27:14 +11:00
/>
<div dangerouslySetInnerHTML={{ __html: props.props.data[0].attributes.Description }}></div>
<h2>Feeds</h2>
<div><a href={props.props.data[0].attributes.iTunesLink}>
Apple Podcast Feed <br />
<img src="/images/iTunes.png" alt="Get it on iTunes"></img>
</a></div>
<div><a href={props.props.data[0].attributes.rssLink+".xml"}>
RSS Feed <br></br>
<img src="/images/rss.png" alt="RSS Feed"></img>
</a></div>
</div>);
}
2021-02-04 14:27:14 +11:00
export default ShowSideBar