<aside class="factsheet">
  <h2 id="factsheet" class="factsheet__title">Factsheet</h2>

  {{#if isCompany}}
  <dl class="factsheet__list">
    <div>
      <dt>Developer:</dt>
      <dd>
        <a href=".">{{presskit.title}}</a>
      <dd>Based in {{presskit.basedIn}}</dd>
    </div>

    <div>
      <dt>Founding date:</dt>
      <dd>{{presskit.foundingDate}}</dd>
    </div>

    <div>
      <dt>Website:</dt>
      <dd>
        <a href="{{presskit.website}}">{{prettyURL presskit.website}}</a>
      </dd>
    </div>

    <div>
      <dt>Press / Business contact:</dt>
      <dd>
        <a href="mailto:{{presskit.pressContact}}">{{presskit.pressContact}}</a>
      </dd>
    </div>

    <div>
      <dt>Social:</dt>
      {{#each presskit.socials}}
      <dd>
        <a href="{{link}}">{{name}}</a>
      </dd>
      {{/each}}
    </div>

    <div>
      <dt>Releases:</dt>
      {{#each products}}
      <dd>
        <a href="{{permalink path}}">{{title}}</a>
      </dd>
      {{/each}}
    </div>

    <div>
      <dt>Address:</dt>
      {{#each presskit.address}}
      <dd>{{.}}</dd>
      {{/each}}
    </div>

    <div>
      <dt>Phone:</dt>
      <dd>{{presskit.phone}}</dd>
    </div>
  </dl>
  {{/if}}

  {{#if isProduct}}
  <dl class="factsheet__list">
    <div>
      <dt>Developer:</dt>
      <dd>
        <a href="..">{{company.title}}</a>
      </dd>
      <dd>Based in {{company.basedIn}}</dd>
    </div>

    {{#each presskit.partners}}
    <div>
      <dt>{{type}}:</dt>
      <dd>
        {{#if website}}
          <a href="{{website}}">{{title}}</a>
        {{else}}
          {{title}}
        {{/if}}
      </dd>
      {{#if basedIn}}<dd>Based in {{basedIn}}</dd>{{/if}}
    </div>
    {{/each}}

    <div>
      <dt>Release date:</dt>
      {{#each presskit.releaseDates}}
      <dd>{{.}}</dd>
      {{/each}}
    </div>

    <div>
      <dt>Platforms:</dt>
      {{#each presskit.platforms}}
      <dd>
        {{#if link}}
          <a href="{{link}}">{{name}}</a>
        {{else}}
          {{name}}
        {{/if}}
      </dd>
      {{/each}}
    </div>

    <div>
      <dt>Website:</dt>
      <dd>
        <a href="{{presskit.website}}">{{prettyURL presskit.website}}</a>
      </dd>
    </div>

    <div>
      <dt>Regular Price:</dt>
      {{#each presskit.prices}}
      <dd>{{currency}} {{value}}</dd>
      {{/each}}
    </div>

    {{#each presskit.relations}}
    <div>
      <dt>{{type}}:</dt>
      <dd>
        <a href="{{permalink path}}">{{text}}</a>
      </dd>
    </div>
    {{/each}}

    {{#each presskit.relationOf}}
    <div>
      <dt>{{type}} of:</dt>
      <dd>
        <a href="{{permalink path}}">{{text}}</a>
      </dd>
    </div>
    {{/each}}
  </dl>

  {{#if presskit.pressCopyRequest}}
  <p class="press">
    <a href="{{presskit.pressCopyRequest}}" class="button" tabindex="0">
      Request Press Copy
    </a>
  </p>
  {{/if}}
  {{/if}}
</aside>
