import React from 'react'; import { Link, RouteComponentProps } from 'react-router-dom'; import { ContentContainer } from '../../components'; import './home.scss'; import header_forms from '../../assets/header-forums.gif'; import support from '../../assets/support.gif'; import serverstatus from '../../assets/serverstatus.gif'; import uicustomizations from '../../assets/uicustomizations.gif'; import bugs from '../../assets/bugs.gif'; import realms from '../../assets/realms.gif'; import offtopic from '../../assets/offtopic.gif'; import suggestions from '../../assets/suggestions.gif'; import guilds from '../../assets/guilds.gif'; import roleplaying from '../../assets/roleplaying.gif'; import general from '../../assets/general.gif'; import dungeons from '../../assets/dungeons.gif'; import bullet from '../../assets/bullet.gif'; // classes import druid from '../../assets/druid.gif'; import rogue from '../../assets/rogue.gif'; import priest from '../../assets/priest.gif'; import hunter from '../../assets/hunter.gif'; import shaman from '../../assets/shaman.gif'; import warrior from '../../assets/warrior.gif'; import mage from '../../assets/mage.gif'; import paladin from '../../assets/paladin.gif'; import warlock from '../../assets/warlock.gif'; import professions from '../../assets/professions.gif'; import pvp from '../../assets/pvp.gif'; import quests from '../../assets/quests.gif'; interface Props extends RouteComponentProps {} interface State {} export class Home extends React.Component { constructor(props: Props) { super(props); } private renderTopic(link: string, title: string, icon: any, text: string): any { return (
{title}
{text}
); } private renderClass(title: string, url: string, icon: any): any { return (
{title}
); } private renderClasses(): any { return (
{this.renderClass('Druid', '#', druid)} {this.renderClass('Rogue', '#', rogue)} {this.renderClass('Priest', '#', priest)}
{this.renderClass('Hunter', '#', hunter)} {this.renderClass('Shaman', '#', shaman)} {this.renderClass('Warrior', '#', warrior)}
{this.renderClass('Mage', '#', mage)} {this.renderClass('Paladin', '#', paladin)} {this.renderClass('Warlock', '#', warlock)}
); } render() { return (
Welcome to the World of Warcraft community forums!

Blizzard provides the World of Warcraft community forums for its player to chat, exchange ideas, and submit feedback. Posting on the World of Warcraft community forums requires a World of Warcraft account. Only customers are allowed to post on these forums, but anyone can read them. Please note that you must adhere to the Forum Guidelines if you wish to post on the forums.

{this.renderTopic('#', 'Technical Support', support, `If you're experiencing technical problems playing World of Warcraft, post here for assistance.`)} {this.renderTopic('#', 'Realm Status', serverstatus, `Collection of important messages regarding the status of the Realms.`)}
{this.renderTopic('#', 'UI & Macros Forum', uicustomizations, `Work with other players to create your own special custom interfaces and macros.`)} {this.renderTopic('#', 'Bug Report Forum', bugs, `Found a bug in the game? Help us squash it by reporting it here!`)}

Classes
Discuss your favorite class:
{this.renderClasses()}
Professions
Discuss professions in detail.
PvP Discussion
Discuss player versus player combat.
Quest Discussion
Talk about and get help with the countless quests in World of Warcraft.
{this.renderTopic('/realms', 'Realm Forums', realms, `Discuss topics related to World of Warcraft with players on your specific Realm.`)} {this.renderTopic('#', 'Off-topic', offtopic, `Off-topic posts of interest to the World of Warcraft community.`)}
{this.renderTopic('#', 'Suggestions', suggestions, `Have a suggestion for World of Warcraft? Please post it here.`)} {this.renderTopic('#', 'Guild Recruitment', guilds, `Searching for a guild, or do you want to advertise your guild?`)}
{this.renderTopic('#', 'Role-Playing', roleplaying, `Pull up a chair, drink a mug of ale, meet new friends, tell stories, and role-play in this forum.`)} {this.renderTopic('#', 'General Discussion.', general, `Discuss World of Warcraft.`)}
{this.renderTopic('#', 'Raid and Dungeon Discussion', dungeons, `Discuss the instance dungeons and end-game raid encounters in World of Warcraft.`)}

); } }