<commit_before>import React from 'react'
import styled from 'styled-components'

import {P, H2, Quote, QuoteLink} from '../../components/common/Typography'
import {Link} from '../../components/common/Link'
import Share from '../../components/Share'

const Iframe = styled.iframe`
  position:  absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
`

const AspectDiv = styled.div`
  position: relative;
  width: 100%;
  margin: 0 auto;
  margin-top: 38px;

  &:before {
    content: "";
    display: block;
    padding-top: ${(props) => props.aspect * 100}%;
  }
`

export function GeneralInfo() {
  return (
    <div>
      <H2>What is DIY&nbsp;Dog</H2>
      <P>
        DIY Dog is&nbsp;a&nbsp;full collection of&nbsp;BrewDog recipes released
        by&nbsp;BrewDog team in&nbsp;2016. It&nbsp;is&nbsp;a&nbsp;real gift
        to&nbsp;everyone who want to&nbsp;try themself in&nbsp;home-brewing
        or&nbsp;mature brewers who want to&nbsp;replicate their favourite recipe from
        BrewDog collection. Here is&nbsp;a&nbsp;presentation video from BrewDog site:
      </P>
      <AspectDiv aspect={9/16}>
        <Iframe src="https://player.vimeo.com/video/156532291" frameBorder="0" allowFullScreen />
      </AspectDiv>
      <P>
        <QuoteLink href="https://www.brewdog.com/diydog">
          Video from BrewDog website
        </QuoteLink>
      </P>
      <P>
        To quote one of the founders of BrewDog, <NAME>:
      </P>
      <Quote>
        <P>
          With DIY Dog we&nbsp;wanted to&nbsp;do&nbsp;something that has never
          been done before as&nbsp;well as&nbsp;paying tribute to&nbsp;our home-brewing
          roots. We&nbsp;wanted to&nbsp;take all of&nbsp;our recipes, every single
          last one, and give them all away for free, to&nbsp;the amazing global
          home-brewing community.
        </P>
        <P><commit_msg>AspectDiv -> Aspect<commit_after>import React from 'react'
import styled from 'styled-components'

import {P, H2, Quote, QuoteLink} from '../../components/common/Typography'
import {Link} from '../../components/common/Link'
import Share from '../../components/Share'

const Iframe = styled.iframe`
  position:  absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
`

const Aspect = styled.div`
  position: relative;
  width: 100%;
  margin: 0 auto;
  margin-top: 38px;

  &:before {
    content: "";
    display: block;
    padding-top: ${(props) => props.ratio * 100}%;
  }
`

export function GeneralInfo() {
  return (
    <div>
      <H2>What is DIY&nbsp;Dog</H2>
      <P>
        DIY Dog is&nbsp;a&nbsp;full collection of&nbsp;BrewDog recipes released
        by&nbsp;BrewDog team in&nbsp;2016. It&nbsp;is&nbsp;a&nbsp;real gift
        to&nbsp;everyone who want to&nbsp;try themself in&nbsp;home-brewing
        or&nbsp;mature brewers who want to&nbsp;replicate their favourite recipe from
        BrewDog collection. Here is&nbsp;a&nbsp;presentation video from BrewDog site:
      </P>
      <Aspect ratio={9/16}>
        <Iframe src="https://player.vimeo.com/video/156532291" frameBorder="0" allowFullScreen />
      </Aspect>
      <P>
        <QuoteLink href="https://www.brewdog.com/diydog">
          Video from BrewDog website
        </QuoteLink>
      </P>
      <P>
        To quote one of the founders of BrewDog, <NAME>:
      </P>
      <Quote>
        <P>
          With DIY Dog we&nbsp;wanted to&nbsp;do&nbsp;something that has never
          been done before as&nbsp;well as&nbsp;paying tribute to&nbsp;our home-brewing
          roots. We&nbsp;wanted to&nbsp;take all of&nbsp;our recipes, every single
          last one, and give them all away for free, to&nbsp;the amazing global
          home-brewing community.
        </P>
        <P>
{'fraction_non_alphanumeric': 0.12750066684449188, 'fraction_numerical': 0.019738596959189118, 'mean_word_length': 2.7425149700598803, 'pattern_counts': {'":': 0, '<': 41, '<?xml version=': 0, '>': 44, 'https://': 4, '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': '6943347', 'n_tokens_mistral': 1295, 'n_tokens_neox': 1210, 'n_words': 340}