import React from 'react';
import PropTypes from 'prop-types';
import render from '../app-target';
import styles from './credits.css';
import {APP_NAME} from '../../lib/brand';
import {applyGuiColors} from '../../lib/themes/guiHelpers';
import {detectTheme} from '../../lib/themes/themePersistance';
import UserData from './users';
/* eslint-disable react/jsx-no-literals */
applyGuiColors(detectTheme());
document.documentElement.lang = 'en';
const User = ({image, text, href}) => (
{text}
);
User.propTypes = {
image: PropTypes.string.isRequired,
text: PropTypes.string.isRequired,
href: PropTypes.string
};
const UserList = ({users}) => (
{users.map((data, index) => (
))}
);
UserList.propTypes = {
users: PropTypes.arrayOf(PropTypes.object)
};
const Credits = () => (
The {APP_NAME} project is made possible by the work of many volunteers.
{APP_NAME !== 'TurboWarp' && (
// Be kind and considerate. Don't remove this :)
)}
TurboWarp Extension Gallery
Translators
More than 100 people have helped translate {APP_NAME} and its addons into many languages
— far more than we could hope to list here.
Individual contributors are listed in no particular order.
The order is randomized each visit.
);
render();