diff --git a/websrc/components/HCard.tsx b/websrc/components/HCard.tsx index f79b9c5..ffe5712 100644 --- a/websrc/components/HCard.tsx +++ b/websrc/components/HCard.tsx @@ -1,40 +1,22 @@ import React, {Component} from 'react'; -import {Card, Col, Row} from 'react-bootstrap'; type CardProps = { title: string, content: string, - update: Date } -class HCard extends Component { +export class SidebarCard extends Component { constructor(props: CardProps) { super(props) } render() { return ( - - - -
{this.props.title}
- - - - - - {this.props.content} - - - -
- - Last - updated {this.props.update.toLocaleTimeString('en-GB')} - -
); +
+
{this.props.title}
+
{this.props.content}
+
+ ) } -} - -export default HCard; +} \ No newline at end of file