mirror of
https://github.com/Sonarr/Sonarr.git
synced 2026-04-20 21:54:58 -04:00
30 lines
799 B
TypeScript
30 lines
799 B
TypeScript
import React from 'react';
|
|
import InlineMarkdown from 'Components/Markdown/InlineMarkdown';
|
|
import useTheme from 'Helpers/Hooks/useTheme';
|
|
import translate from 'Utilities/String/translate';
|
|
import styles from './TheTvdb.css';
|
|
|
|
function TheTvdb() {
|
|
const theme = useTheme();
|
|
|
|
return (
|
|
<div className={styles.container}>
|
|
<img
|
|
className={styles.image}
|
|
src={`${window.Sonarr.urlBase}/Content/Images/thetvdb-${theme}.png`}
|
|
/>
|
|
|
|
<div className={styles.info}>
|
|
<div className={styles.title}>{translate('TheTvdb')}</div>
|
|
<InlineMarkdown
|
|
data={translate('SeriesAndEpisodeInformationIsProvidedByTheTVDB', {
|
|
url: 'https://www.thetvdb.com/subscribe',
|
|
})}
|
|
/>
|
|
</div>
|
|
</div>
|
|
);
|
|
}
|
|
|
|
export default TheTvdb;
|