import { useBackend } from '../backend'; import { Button, LabeledList, Section } from '../components'; // TODO: refactor the backend of this it's a trainwreck export const CodexGigas = props => { const { act, data } = useBackend(props); const prefixes = [ "Dark", "Hellish", "Fallen", "Fiery", "Sinful", "Blood", "Fluffy", ]; const titles = [ "Lord", "Prelate", "Count", "Viscount", "Vizier", "Elder", "Adept", ]; const names = [ "hal", "ve", "odr", "neit", "ci", "quon", "mya", "folth", "wren", "geyr", "hil", "niet", "twou", "phi", "coa", ]; const suffixes = [ "the Red", "the Soulless", "the Master", "the Lord of all things", "Jr.", ]; return (
{data.name} {prefixes.map(prefix => (
); };