<commit_before>import React, { Component } from 'react';

import ScrollFilledIcon from 'Icons/ScrollFilled';
import MegaphoneIcon from 'Icons/Megaphone';
import Wrapper from 'common/Wrapper';
import DiscordButton from 'Main/DiscordButton';
import AntorusImage from 'Raids/AntorusTheBurningThrone/Images/antorus.jpg';

import ChangelogPanel from './ChangelogPanel';
import MasteryRadiusImage from './Images/mastery-radius.png';
import DiscordLogo from './Images/Discord-Logo+Wordmark-White.svg';
import DiscordBotGif from './Images/discord-bot.gif';
import DiscordBanner from './Images/discord-banner.jpg';
import SpecListing from './SpecListing';
import ChecklistOverview from './Images/checklist-overview.png';
import ChecklistItem from './Images/checklist-item.png';
import Results2point0 from './Images/results-2.0.png';

class Home extends Component {
  render() {
    return (
      <Wrapper>
        <section>
          <div className="container">
            <header>
              <div className="row">
                <div className="col-md-12">
                  <h1><MegaphoneIcon /> Announcements</h1>
                </div>
              </div>
            </header>

            <div className="row">
              <div className="col-lg-8 col-md-7">
                <div className="panel">
                  <div className="panel-heading">
                    <h2>The World of Warcraft Analyzer</h2>
                  </div>
                  <div className="panel-body" style={{ textAlign: 'justify' }}>
                    <img src={MasteryRadiusImage} alt="Mastery radius" className="pull-right" style={{ margin: 15 }} />
                    WoW Analyzer is a comprehensive tool for analyzing your performance based on important metrics for your spec. You will need a Warcraft Logs report with advanced combat logging enabled to start. Private logs can not be used, if your guild has private logs you will have to <a href="https://www.warcraftlogs.com/help/start/">upload your own logs</a> or change the existing logs to the <i>unlisted</i> privacy option instead.<br /><br />

                    Here are some interesting examples: <a href="/report/LRchdHVAmWtNQ8Fj/22-Mythic+Harjatan+-+Kill+(5:54)/Zerotorescue" className="Paladin">Holy Paladin</a>, <a href="/report/KbQnkMHZmqWgtXwz/33-Heroic+Krosus+-+Kill+(2:55)/Zerotorescue" className="Priest">Discipline Priest</a> and <a href="/report/dcDkhfMR6nG2XxVr/35-Normal+Gul'dan+-+Kill+(5:56)/Zerotorescue" className="Monk">Brewmaster Monk</a>. Let us know if you want your logs to be featured here.
                    <br /><br />

                    Feature requests and bug reports are welcome! On <a href="https://discord.gg/AxphPxU">Discord</a> or create an issue <a href="https://github.com/WoWAnalyzer/WoWAnalyzer/issues">here</a>.
                  </div>
                </div>

                <div className="panel">
                  <div className="panel-heading">
                    <h2>Check your fights with the all new checklist</h2>
                  </div>
                  <div className="panel-body" style={{ textAlign: 'justify' }}>
                    We're very excited to finally be able to share with you the biggest improvement to WoWAnalyzer since the introduction of suggestions: the checklist. The checklist is an overview of things you should do well for optimal performance, as configured by experts of your spec. Each checklist item will be marked with a green tick if you sufficiently passed the recommended thresholds for the requirements, and a red cross if your performance was below recommended parameters.<br /><br />

                    <div style={{ textAlign: 'center', marginBottom: '1em' }}>
                      <a href="/report/LRchdHVAmWtNQ8Fj/22-Mythic+Harjatan+-+Kill+(5:54)/Zerotorescue">
                        <img src={ChecklistOverview} alt="Checklist overview" style={{ width: '100%', maxWidth: 600 }} />
                      </a>
                      <div className="text-muted">A subset of the checklist items for Holy Paladins.</div>
                    </div>

                    Presenting your gameplay suggestions in such a way should give you a much better overview of what goes into playing your spec well. Checks that you pass will continue to be visible as a way to provide you with positive feedback about things you're doing well (and so you can review them for minor improvements). The item performance is also less nitpicky than individual suggestions so that we can put more focus on large improvements.<br /><br />

                    <div style={{ textAlign: 'center', marginBottom: '1em' }}>
                      <a href="/report/LRchdHVAmWtNQ8Fj/22-Mythic+Harjatan+-+Kill+(5:54)/Zerotorescue">
                        <img src={ChecklistItem} alt="Checklist item" style={{ width: '100%', maxWidth: 600 }} />
                      </a>
                      <div className="text-muted">A single checklist item with its description and checks.</div>
                    </div>

                    With the introduction of the checklist we have also reworked the results page to present the most important information from top to bottom.<br /><br />

                    <div style={{ textAlign: 'center', marginBottom: '1em' }}>
                      <a href="/report/LRchdHVAmWtNQ8Fj/22-Mythic+Harjatan+-+Kill+(5:54)/Zerotorescue">
                        <img src={Results2point0} alt="Results layout 2.0" style={{ width: '100%', maxWidth: 200 }} />
                      </a>
                      <div className="text-muted">The new results page is organized by how commonly info is used.</div>
                    </div>

                    The checklist is available at the launch for the specs <a href="/report/hNqbFwd7Mx3G1KnZ/18-Mythic+Antoran+High+Command+-+Kill+(6:51)/Taffly">Holy Paladin</a>, Shadow Priest, Restoration Shaman, Marksmanship Hunter, Mistweaver Monk, Frost Mage, Unholy Death Knight and Beast Mastery Hunter. More specs to follow later.
                  </div>
                </div>

                <div className="panel image-overlay" style={{ backgroundImage: `url(${AntorusImage})`, paddingTop: 350 }}>
                  <div className="panel-body">
                    <div className="row">
                      <div className="col-md-10">
                        <h1>Updated for Antorus</h1>
                        <div className="description">
                          We've been working hard to implement all the new trinkets and tier bonuses available in the new raid <i>Antorus, the Burning Throne</i>. Let us know on <a href="https://discord.gg/AxphPxU">Discord</a> or <a href="https://github.com/WoWAnalyzer/WoWAnalyzer">GitHub</a> if you're still missing anything.
                        </div>
                      </div>
                    </div>
                  </div>
                </div>

                <div className="panel">
                  <div className="panel-heading">
                    <h2>The WoWAnalyzer Discord bot</h2>
                  </div><commit_msg>Text tweaks<commit_after>import React, { Component } from 'react';

import ScrollFilledIcon from 'Icons/ScrollFilled';
import MegaphoneIcon from 'Icons/Megaphone';
import Wrapper from 'common/Wrapper';
import DiscordButton from 'Main/DiscordButton';
import AntorusImage from 'Raids/AntorusTheBurningThrone/Images/antorus.jpg';

import ChangelogPanel from './ChangelogPanel';
import MasteryRadiusImage from './Images/mastery-radius.png';
import DiscordLogo from './Images/Discord-Logo+Wordmark-White.svg';
import DiscordBotGif from './Images/discord-bot.gif';
import DiscordBanner from './Images/discord-banner.jpg';
import SpecListing from './SpecListing';
import ChecklistOverview from './Images/checklist-overview.png';
import ChecklistItem from './Images/checklist-item.png';
import Results2point0 from './Images/results-2.0.png';

class Home extends Component {
  render() {
    return (
      <Wrapper>
        <section>
          <div className="container">
            <header>
              <div className="row">
                <div className="col-md-12">
                  <h1><MegaphoneIcon /> Announcements</h1>
                </div>
              </div>
            </header>

            <div className="row">
              <div className="col-lg-8 col-md-7">
                <div className="panel">
                  <div className="panel-heading">
                    <h2>The World of Warcraft Analyzer</h2>
                  </div>
                  <div className="panel-body" style={{ textAlign: 'justify' }}>
                    <img src={MasteryRadiusImage} alt="Mastery radius" className="pull-right" style={{ margin: 15 }} />
                    WoW Analyzer is a comprehensive tool for analyzing your performance based on important metrics for your spec. You will need a Warcraft Logs report with advanced combat logging enabled to start. Private logs can not be used, if your guild has private logs you will have to <a href="https://www.warcraftlogs.com/help/start/">upload your own logs</a> or change the existing logs to the <i>unlisted</i> privacy option instead.<br /><br />

                    Here are some interesting examples: <a href="/report/LRchdHVAmWtNQ8Fj/22-Mythic+Harjatan+-+Kill+(5:54)/Zerotorescue" className="Paladin">Holy Paladin</a>, <a href="/report/KbQnkMHZmqWgtXwz/33-Heroic+Krosus+-+Kill+(2:55)/Zerotorescue" className="Priest">Discipline Priest</a> and <a href="/report/dcDkhfMR6nG2XxVr/35-Normal+Gul'dan+-+Kill+(5:56)/Zerotorescue" className="Monk">Brewmaster Monk</a>. Let us know if you want your logs to be featured here.
                    <br /><br />

                    Feature requests and bug reports are welcome! On <a href="https://discord.gg/AxphPxU">Discord</a> or create an issue <a href="https://github.com/WoWAnalyzer/WoWAnalyzer/issues">here</a>.
                  </div>
                </div>

                <div className="panel">
                  <div className="panel-heading">
                    <h2>Check your fights with the all new checklist</h2>
                  </div>
                  <div className="panel-body" style={{ textAlign: 'justify' }}>
                    We're very excited to finally be able to share with you the biggest improvement to WoWAnalyzer since the introduction of suggestions: the checklist. The checklist is an overview of things you should do well for optimal performance, as configured by experts of your spec. Each checklist item will be marked with a green tick if you sufficiently passed the recommended thresholds for the requirements, and a red cross if your performance was below recommended parameters.<br /><br />

                    <div style={{ textAlign: 'center', marginBottom: '1em' }}>
                      <a href="/report/LRchdHVAmWtNQ8Fj/22-Mythic+Harjatan+-+Kill+(5:54)/Zerotorescue">
                        <img src={ChecklistOverview} alt="Checklist overview" style={{ width: '100%', maxWidth: 600 }} />
                      </a>
                      <div className="text-muted">A subset of the checklist items for Holy Paladins.</div>
                    </div>

                    Presenting your gameplay suggestions in such a way should give you a much better overview of what goes into playing your spec well. Checks that you pass will continue to be visible as a way to provide you with positive feedback about things you're doing well (and so you can review them for minor improvements). The item performance is also less nitpicky than individual suggestions so that we can put more focus on large improvements.<br /><br />

                    <div style={{ textAlign: 'center', marginBottom: '1em' }}>
                      <a href="/report/LRchdHVAmWtNQ8Fj/22-Mythic+Harjatan+-+Kill+(5:54)/Zerotorescue">
                        <img src={ChecklistItem} alt="Checklist item" style={{ width: '100%', maxWidth: 600 }} />
                      </a>
                      <div className="text-muted">A single checklist item with its description and checks.</div>
                    </div>

                    With the introduction of the checklist we have also reworked the results page to present the most important information from top to bottom.<br /><br />

                    <div style={{ textAlign: 'center', marginBottom: '1em' }}>
                      <a href="/report/LRchdHVAmWtNQ8Fj/22-Mythic+Harjatan+-+Kill+(5:54)/Zerotorescue">
                        <img src={Results2point0} alt="Results layout 2.0" style={{ width: '100%', maxWidth: 200 }} />
                      </a>
                      <div className="text-muted">The new results page is organized by how commonly info is used.</div>
                    </div>

                    The checklist is available right now for <a href="/report/hNqbFwd7Mx3G1KnZ/18-Mythic+Antoran+High+Command+-+Kill+(6:51)/Taffly">Holy Paladin</a>, Shadow Priest, Restoration Shaman, Marksmanship Hunter, Mistweaver Monk, <a href="/report/t3wKdDkB7fZqbmWz/1-Normal+Garothi+Worldbreaker+-+Kill+(4:24)/Sref">Frost Mage</a>, Unholy Death Knight and Beast Mastery Hunter. More specs to follow later.
                  </div>
                </div>

                <div className="panel image-overlay" style={{ backgroundImage: `url(${AntorusImage})`, paddingTop: 350 }}>
                  <div className="panel-body">
                    <div className="row">
                      <div className="col-md-10">
                        <h1>Updated for Antorus</h1>
                        <div className="description">
                          We've been working hard to implement all the new trinkets and tier bonuses available in the new raid <i>Antorus, the Burning Throne</i>. Let us know on <a href="https://discord.gg/AxphPxU">Discord</a> or <a href="https://github.com/WoWAnalyzer/WoWAnalyzer">GitHub</a> if you're still missing anything.
                        </div>
                      </div>
                    </div>
                  </div>
                </div>

                <div className="panel">
                  <div className="panel-heading">
                    <h2>The WoWAnalyzer Discord bot</h2>
                  </div>
{'fraction_non_alphanumeric': 0.11234377194214296, 'fraction_numerical': 0.013621682347984833, 'mean_word_length': 2.2870990076159705, 'pattern_counts': {'":': 0, '<': 207, '<?xml version=': 0, '>': 207, 'https://': 10, 'lorem ipsum': 0, 'www.': 2, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '6134927', 'n_tokens_mistral': 4113, 'n_tokens_neox': 3785, 'n_words': 1226}