* backend integrations ui start * some more ui things * moving around some integration code * add dynatrace * add datadog, useform hook and other things to update backend logging integration forms * change api queries * backend logging modals * tracker: fix some types * remove deprecated integrations, update types * some ui fixes and improvements * update notifications on success/error * ui: debugging log output, autoclose fix * ui: some stuff for logs base64str * ui: improve log formatting, change datadog data format * some improvs for logging irm * ui: fixup for sentry
26 lines
No EOL
675 B
TypeScript
26 lines
No EOL
675 B
TypeScript
import React from 'react';
|
|
import { Icon } from 'UI';
|
|
|
|
interface Props {
|
|
title: string;
|
|
icon: string;
|
|
description: string;
|
|
useIcon?: boolean;
|
|
}
|
|
|
|
function IntegrationModalCard(props: Props) {
|
|
const { title, icon, description, useIcon } = props;
|
|
return (
|
|
<div className='flex items-start p-5 gap-4'>
|
|
<div className='border rounded-lg p-2 shrink-0'>
|
|
{useIcon ? <Icon name={icon} size={80} /> : <img className="h-20 w-20" src={"/assets/" + icon + ".svg"} alt="integration" />}
|
|
</div>
|
|
<div>
|
|
<h3 className='text-2xl'>{title}</h3>
|
|
<div>{description}</div>
|
|
</div>
|
|
</div>
|
|
);
|
|
}
|
|
|
|
export default IntegrationModalCard; |