mirror of
https://github.com/Prowlarr/Prowlarr.git
synced 2025-09-17 17:14:18 +02:00
New: Added all Arr donation links
This commit is contained in:
BIN
frontend/src/Content/Images/Icons/logo-lidarr.png
Normal file
BIN
frontend/src/Content/Images/Icons/logo-lidarr.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 1.3 KiB |
BIN
frontend/src/Content/Images/Icons/logo-prowlarr.png
Normal file
BIN
frontend/src/Content/Images/Icons/logo-prowlarr.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 2.4 KiB |
BIN
frontend/src/Content/Images/Icons/logo-radarr.png
Normal file
BIN
frontend/src/Content/Images/Icons/logo-radarr.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 2.6 KiB |
BIN
frontend/src/Content/Images/Icons/logo-readarr.png
Normal file
BIN
frontend/src/Content/Images/Icons/logo-readarr.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 1.3 KiB |
BIN
frontend/src/Content/Images/Icons/logo-sonarr.png
Normal file
BIN
frontend/src/Content/Images/Icons/logo-sonarr.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 1.9 KiB |
64
frontend/src/System/Status/Donations/Donations.js
Normal file
64
frontend/src/System/Status/Donations/Donations.js
Normal file
@@ -0,0 +1,64 @@
|
|||||||
|
import React, { Component } from 'react';
|
||||||
|
import FieldSet from 'Components/FieldSet';
|
||||||
|
import Link from 'Components/Link/Link';
|
||||||
|
import translate from 'Utilities/String/translate';
|
||||||
|
import styles from '../styles.css';
|
||||||
|
|
||||||
|
class Donations extends Component {
|
||||||
|
|
||||||
|
//
|
||||||
|
// Render
|
||||||
|
|
||||||
|
render() {
|
||||||
|
return (
|
||||||
|
<FieldSet legend={translate('Donations')}>
|
||||||
|
<div className={styles.logoContainer} title="Radarr">
|
||||||
|
<Link to="https://opencollective.com/radarr">
|
||||||
|
<img
|
||||||
|
className={styles.logo}
|
||||||
|
src={`${window.Prowlarr.urlBase}/Content/Images/Icons/logo-radarr.png`}
|
||||||
|
/>
|
||||||
|
</Link>
|
||||||
|
</div>
|
||||||
|
<div className={styles.logoContainer} title="Lidarr">
|
||||||
|
<Link to="https://opencollective.com/lidarr">
|
||||||
|
<img
|
||||||
|
className={styles.logo}
|
||||||
|
src={`${window.Prowlarr.urlBase}/Content/Images/Icons/logo-lidarr.png`}
|
||||||
|
/>
|
||||||
|
</Link>
|
||||||
|
</div>
|
||||||
|
<div className={styles.logoContainer} title="Readarr">
|
||||||
|
<Link to="https://opencollective.com/readarr">
|
||||||
|
<img
|
||||||
|
className={styles.logo}
|
||||||
|
src={`${window.Prowlarr.urlBase}/Content/Images/Icons/logo-readarr.png`}
|
||||||
|
/>
|
||||||
|
</Link>
|
||||||
|
</div>
|
||||||
|
<div className={styles.logoContainer} title="Prowlarr">
|
||||||
|
<Link to="https://opencollective.com/prowlarr">
|
||||||
|
<img
|
||||||
|
className={styles.logo}
|
||||||
|
src={`${window.Prowlarr.urlBase}/Content/Images/Icons/logo-prowlarr.png`}
|
||||||
|
/>
|
||||||
|
</Link>
|
||||||
|
</div>
|
||||||
|
<div className={styles.logoContainer} title="Sonarr">
|
||||||
|
<Link to="https://opencollective.com/sonarr">
|
||||||
|
<img
|
||||||
|
className={styles.logo}
|
||||||
|
src={`${window.Prowlarr.urlBase}/Content/Images/Icons/logo-sonarr.png`}
|
||||||
|
/>
|
||||||
|
</Link>
|
||||||
|
</div>
|
||||||
|
</FieldSet>
|
||||||
|
);
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
Donations.propTypes = {
|
||||||
|
|
||||||
|
};
|
||||||
|
|
||||||
|
export default Donations;
|
@@ -3,6 +3,7 @@ import PageContent from 'Components/Page/PageContent';
|
|||||||
import PageContentBody from 'Components/Page/PageContentBody';
|
import PageContentBody from 'Components/Page/PageContentBody';
|
||||||
import translate from 'Utilities/String/translate';
|
import translate from 'Utilities/String/translate';
|
||||||
import AboutConnector from './About/AboutConnector';
|
import AboutConnector from './About/AboutConnector';
|
||||||
|
import Donations from './Donations/Donations';
|
||||||
import HealthConnector from './Health/HealthConnector';
|
import HealthConnector from './Health/HealthConnector';
|
||||||
import MoreInfo from './MoreInfo/MoreInfo';
|
import MoreInfo from './MoreInfo/MoreInfo';
|
||||||
|
|
||||||
@@ -18,6 +19,7 @@ class Status extends Component {
|
|||||||
<HealthConnector />
|
<HealthConnector />
|
||||||
<AboutConnector />
|
<AboutConnector />
|
||||||
<MoreInfo />
|
<MoreInfo />
|
||||||
|
<Donations />
|
||||||
</PageContentBody>
|
</PageContentBody>
|
||||||
</PageContent>
|
</PageContent>
|
||||||
);
|
);
|
||||||
|
17
frontend/src/System/Status/styles.css
Normal file
17
frontend/src/System/Status/styles.css
Normal file
@@ -0,0 +1,17 @@
|
|||||||
|
.logo {
|
||||||
|
margin: auto;
|
||||||
|
padding: 9px;
|
||||||
|
}
|
||||||
|
|
||||||
|
.logoContainer {
|
||||||
|
display: inline-block;
|
||||||
|
margin: 1em;
|
||||||
|
width: 50px;
|
||||||
|
height: 50px;
|
||||||
|
outline: none;
|
||||||
|
border: solid 1px #e6e6e6;
|
||||||
|
border-radius: 0.5em;
|
||||||
|
background: #f8f8ff;
|
||||||
|
box-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
|
||||||
|
cursor: pointer;
|
||||||
|
}
|
Reference in New Issue
Block a user