<commit_before>{% extends "templates/site.html" %}

{% block head %}

  <link type="text/css" rel="stylesheet" media="all" href="/static/css/styles.home.css" />

{% endblock %}

{% block body %}

  <div class="darkbox"><h1>{% trans %}Visualizing the Economy of Minas Gerais and Brazil{% endtrans %}</h1></div>
  <div class="home_sub">
    {% trans %}DataViva is opening up data for the entire formal sector of the Brazilian economy{% endtrans %}
      <br>
    {% trans %}through more than 100 million interactive visualization.{% endtrans %}
  </div>

  <div id="intro">
    <div id="carousel">
      <div class="centered">
        <a class="decision">{% trans %}Learn More{% endtrans %}</a>
      </div>
    </div>
    <div class="pages"></div>
  </div>
  
  <div class="bottom_section">
    
    <div class="bottom_title">
      <h1>{% trans %}Also Browse{% endtrans %}:</h1>
    </div>
  
    <a class="decision icon square apps" href="/apps/">
      <h1>{% trans %}Apps{% endtrans %}</h1>
      <p>{% trans %}Explore the Brazilian economy through over 100 million visualizations.{% endtrans %}</p>
    </a>
  
    <a class="decision icon square profiles" href="/profiles/">
      <h1>{% trans %}Profiles{% endtrans %}</h1>
      <p>{% trans %}Quickly learn about the exports, occupations, and industries of each Brazilian state and economic sector.{% endtrans %}</p>
    </a>
  
    <a class="decision icon square guide" href="/guide/">
      <h1>{% trans %}Guide{% endtrans %}</h1>
      <p>{% trans %}Answer strategic questions about economic opportunities of states and industries.{% endtrans %}</p>
    </a>
  
    <a class="decision icon square rankings" href="/rankings/">
      <h1>{% trans %}Rankings{% endtrans %}</h1>
      <p>{% trans %}Compare locations, industries and occupations based on economic output, diversity, and salaries.{% endtrans %}</p>
    </a>
  
  </div>

{% endblock %}

{% block js %}

<script>

  var carousel = [
  {"en": "Learn How DataViva was Created", "color": "#129cc0",
  "pt": "Conheça Como Foi Criado o DataViva",
  "image": "youtube", "url": "https://www.youtube.com/embed/XZKFhNpsYS4?modestbranding=1&rel=0&showinfo=0&autohide=1{% if g.locale == 'pt' %}&hl=pt-br&cc_lang_pref=pt-br{% else %}&hl=en&cc_lang_pref=en{% endif %}&cc_load_policy=1", "id": 1},
  {"en": "Did you know that Minas Gerais is the largest exporter in Brazil?", "color": "#516043",
  "pt": "Você sabia que Minas Gerais é o maior estado exportador do Brasil?",
  "image": "factory", "url": "/profiles/bra/all/?app=1", "id": 2},
  {"en": "The Goal of DataViva", "color": "#1d372c", "color": "#243e31",
  "pt": "O Objetivo do DataViva",
  "image": "youtube", "url": "https://www.youtube.com/embed/Xp0azMCmzdA?modestbranding=1&rel=0&showinfo=0&autohide=1{% if g.locale == 'en' %}&hl=en&cc_lang_pref=en&cc_load_policy=1{% endif %}", "id": 3},
  {"en": "What are the export opportunities for Minas Gerais?", "color": "#c9532f",
  "pt": "Quais são as oportunidades de exportação de Minas Gerais?",
  "image": "sparks", "url": "/guide/bra/mg/opportunity/hs/", "id": 4}

  ]
  
  // {"en": "Did you know that Minas Gerais employs more Vocational Middle School Teachers than any other state in Brazil?", "color": "#2a2948",
  // "pt": "Você sabia que Minas Gerais é o estado brasileiro que emprega o maior número de Professores de Nível Médio no Ensino Profissionalizante?",
  // "image": "students", "url": "/profiles/cbo/3313/", "id": 4},
  // {"en": "Did you know that Minas Gerais employs more than 24 thousand doctors?",
  // "pt": "Você sabia que Minas Gerais tem mais de 24 mil médicos?", "color": "#8e708a",
  // "image": "doctor", "url": "/profiles/cbo/2251/", "id": 6}
    
  var app = 1, stopped = false, changing = false
  
  d3.select("#carousel .decision")
    .on(d3plus.evt.click,function(){
      window.location = carousel[app-1].url
    })
  
  var apps = d3.select("#carousel").selectAll(".app")
    .data(carousel)
    
  apps.enter().append("div")
    .attr("class","app")
    .attr("id",function(d){return "app_"+d.id})
    .style("background-image",function(d){return d.image != "youtube" ? "url('/static/img/home/"+d.image+".jpg')" : "none"})<commit_msg>removed incorrect homepage link<commit_after>{% extends "templates/site.html" %}

{% block head %}

  <link type="text/css" rel="stylesheet" media="all" href="/static/css/styles.home.css" />

{% endblock %}

{% block body %}

  <div class="darkbox"><h1>{% trans %}Visualizing the Economy of Minas Gerais and Brazil{% endtrans %}</h1></div>
  <div class="home_sub">
    {% trans %}DataViva is opening up data for the entire formal sector of the Brazilian economy{% endtrans %}
      <br>
    {% trans %}through more than 100 million interactive visualization.{% endtrans %}
  </div>

  <div id="intro">
    <div id="carousel">
      <div class="centered">
        <a class="decision">{% trans %}Learn More{% endtrans %}</a>
      </div>
    </div>
    <div class="pages"></div>
  </div>
  
  <div class="bottom_section">
    
    <div class="bottom_title">
      <h1>{% trans %}Also Browse{% endtrans %}:</h1>
    </div>
  
    <a class="decision icon square apps" href="/apps/">
      <h1>{% trans %}Apps{% endtrans %}</h1>
      <p>{% trans %}Explore the Brazilian economy through over 100 million visualizations.{% endtrans %}</p>
    </a>
  
    <a class="decision icon square profiles" href="/profiles/">
      <h1>{% trans %}Profiles{% endtrans %}</h1>
      <p>{% trans %}Quickly learn about the exports, occupations, and industries of each Brazilian state and economic sector.{% endtrans %}</p>
    </a>
  
    <a class="decision icon square guide" href="/guide/">
      <h1>{% trans %}Guide{% endtrans %}</h1>
      <p>{% trans %}Answer strategic questions about economic opportunities of states and industries.{% endtrans %}</p>
    </a>
  
    <a class="decision icon square rankings" href="/rankings/">
      <h1>{% trans %}Rankings{% endtrans %}</h1>
      <p>{% trans %}Compare locations, industries and occupations based on economic output, diversity, and salaries.{% endtrans %}</p>
    </a>
  
  </div>

{% endblock %}

{% block js %}

<script>

  var carousel = [
  {"en": "Learn How DataViva was Created", "color": "#129cc0",
  "pt": "Conheça Como Foi Criado o DataViva",
  "image": "youtube", "url": "https://www.youtube.com/embed/XZKFhNpsYS4?modestbranding=1&rel=0&showinfo=0&autohide=1{% if g.locale == 'pt' %}&hl=pt-br&cc_lang_pref=pt-br{% else %}&hl=en&cc_lang_pref=en{% endif %}&cc_load_policy=1", "id": 1},
  {"en": "Did you know that Minas Gerais employs more than 24 thousand doctors?",
  "pt": "Você sabia que Minas Gerais tem mais de 24 mil médicos?", "color": "#8e708a",
  "image": "doctor", "url": "/profiles/cbo/2251/", "id": 2},
  {"en": "The Goal of DataViva", "color": "#1d372c", "color": "#243e31",
  "pt": "O Objetivo do DataViva",
  "image": "youtube", "url": "https://www.youtube.com/embed/Xp0azMCmzdA?modestbranding=1&rel=0&showinfo=0&autohide=1{% if g.locale == 'en' %}&hl=en&cc_lang_pref=en&cc_load_policy=1{% endif %}", "id": 3},
  {"en": "What are the export opportunities for Minas Gerais?", "color": "#c9532f",
  "pt": "Quais são as oportunidades de exportação de Minas Gerais?",
  "image": "sparks", "url": "/guide/bra/mg/opportunity/hs/", "id": 4}

  ]
  
  // {"en": "Did you know that Minas Gerais employs more Vocational Middle School Teachers than any other state in Brazil?", "color": "#2a2948",
  // "pt": "Você sabia que Minas Gerais é o estado brasileiro que emprega o maior número de Professores de Nível Médio no Ensino Profissionalizante?",
  // "image": "students", "url": "/profiles/cbo/3313/", "id": 4},

    
  var app = 1, stopped = false, changing = false
  
  d3.select("#carousel .decision")
    .on(d3plus.evt.click,function(){
      window.location = carousel[app-1].url
    })
  
  var apps = d3.select("#carousel").selectAll(".app")
    .data(carousel)
    
  apps.enter().append("div")
    .attr("class","app")
    .attr("id",function(d){return "app_"+d.id})
    .style("background-image",function(d){return d.image != "youtube" ? "url('/static/img/home/"+d.image+".jpg')" : "none"})
{'fraction_non_alphanumeric': 0.1911078359125522, 'fraction_numerical': 0.020142471137312698, 'mean_word_length': 3.8470238095238094, 'pattern_counts': {'":': 68, '<': 101, '<?xml version=': 0, '>': 101, 'https://': 4, 'lorem ipsum': 0, 'www.': 4, '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': '1743506', 'n_tokens_mistral': 3060, 'n_tokens_neox': 2804, 'n_words': 816}