<commit_before>import React from "react";
import { Glyph, GlyphStyles, GlyphSizes } from "../utils/glyphs.js";
import NewsletterSignup from "../common/integrations/NewsletterSignup.jsx";
import url from "../utils/url.js";
import Section from "../enums/Section.js";
import cdn from "../utils/cdn.js";

const sectionsToHideFooter: $ReadOnlyArray<string> = [Section.LiveEvent];

class SiteFooter extends React.Component {
  // can have a maximum of three SiteFooter-link-groups
  _footerTopSection() {
    return (
      <div className="SiteFooter-nav col-sm-12 col-lg-8">
        <div className="SiteFooter-nav-links">
          <div className="SiteFooter-logo">
            <img src={cdn.image("favicon.png")} alt="DemocracyLab logo" />
          </div>
          <div className="SiteFooter-link-group">
            <a href={url.section(Section.AboutUs)}>About</a>
            <a href={url.section(Section.ContactUs)}>Contact Us</a>
            <a href={url.section(Section.Donate)}>Donate</a>
            <a href={url.section(Section.Companies)}>Partner with Us</a>
          </div>

          <div className="SiteFooter-link-group">
            <a href={url.section(Section.Privacy)}>Privacy Policy</a>
            <a href={url.section(Section.Terms) + "#use"}>
              Terms of Use
            </a>
            <a href={url.section(Section.Terms) + "#volunteer"}>
              Terms of Volunteering
            </a>
          </div>
        </div>
      </div>
    );
  }

  _footerMidSection() {
    return (
      <React.Fragment>
        <div className="SiteFooter-social col-sm-12 col-lg-4">
          <div className="Footer-dividerline d-lg-none"></div>
          <div className="SiteFooter-mid-container">
            <div className="SiteFooter-newsletter">
              <p>Stay in the loop with our newsletter</p>
              <NewsletterSignup btnClass="btn btn-primary" />
            </div>

            <div className="Footer-dividerline d-lg-none"></div>

            <div className="SiteFooter-iconblock">
              <a href="https://www.facebook.com/democracylaborg">
                <i
                  className={Glyph(GlyphStyles.FacebookSquare, GlyphSizes.X2)}
                ></i>
              </a>
              <a href="https://twitter.com/democracylab">
                <i
                  className={Glyph(GlyphStyles.TwitterSquare, GlyphSizes.X2)}
                ></i>
              </a><commit_msg>Correct footer facebook link<commit_after>import React from "react";
import { Glyph, GlyphStyles, GlyphSizes } from "../utils/glyphs.js";
import NewsletterSignup from "../common/integrations/NewsletterSignup.jsx";
import url from "../utils/url.js";
import Section from "../enums/Section.js";
import cdn from "../utils/cdn.js";

const sectionsToHideFooter: $ReadOnlyArray<string> = [Section.LiveEvent];

class SiteFooter extends React.Component {
  // can have a maximum of three SiteFooter-link-groups
  _footerTopSection() {
    return (
      <div className="SiteFooter-nav col-sm-12 col-lg-8">
        <div className="SiteFooter-nav-links">
          <div className="SiteFooter-logo">
            <img src={cdn.image("favicon.png")} alt="DemocracyLab logo" />
          </div>
          <div className="SiteFooter-link-group">
            <a href={url.section(Section.AboutUs)}>About</a>
            <a href={url.section(Section.ContactUs)}>Contact Us</a>
            <a href={url.section(Section.Donate)}>Donate</a>
            <a href={url.section(Section.Companies)}>Partner with Us</a>
          </div>

          <div className="SiteFooter-link-group">
            <a href={url.section(Section.Privacy)}>Privacy Policy</a>
            <a href={url.section(Section.Terms) + "#use"}>Terms of Use</a>
            <a href={url.section(Section.Terms) + "#volunteer"}>
              Terms of Volunteering
            </a>
          </div>
        </div>
      </div>
    );
  }

  _footerMidSection() {
    return (
      <React.Fragment>
        <div className="SiteFooter-social col-sm-12 col-lg-4">
          <div className="Footer-dividerline d-lg-none"></div>
          <div className="SiteFooter-mid-container">
            <div className="SiteFooter-newsletter">
              <p>Stay in the loop with our newsletter</p>
              <NewsletterSignup btnClass="btn btn-primary" />
            </div>

            <div className="Footer-dividerline d-lg-none"></div>

            <div className="SiteFooter-iconblock">
              <a href="https://www.facebook.com/DemocracyLab">
                <i
                  className={Glyph(GlyphStyles.FacebookSquare, GlyphSizes.X2)}
                ></i>
              </a>
              <a href="https://twitter.com/democracylab">
                <i
                  className={Glyph(GlyphStyles.TwitterSquare, GlyphSizes.X2)}
                ></i>
              </a>
{'fraction_non_alphanumeric': 0.14708299096138044, 'fraction_numerical': 0.003286770747740345, 'mean_word_length': 2.129177377892031, 'pattern_counts': {'":': 0, '<': 97, '<?xml version=': 0, '>': 97, 'https://': 4, 'lorem ipsum': 0, 'www.': 2, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 2, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '3210377', 'n_tokens_mistral': 1499, 'n_tokens_neox': 1458, 'n_words': 272}