import { Service } from '../../../interfaces/CardTypes';
import styled from 'styled-components';
import { CardLink, PageCard, CardStyleWrap, CardContentTitle, CardContentWarning, OnlineStatus } from '../content';
// Card Content Component for Services Page
export const CardContentService = ({ content }: { content: Service }) => {
let ret;
if (content.href) {
ret = (
{content.desc}
{content.warn}
{content.status}
)
}
else {
ret = (
{content.desc}
{content.warn}
{content.status}
)
}
return ret;
}