<template>
  <PageMeta
      title="Olivier Massot - Fullstack developer"
      description=""
  />

  <div class="banner">
    <h1>
      {{ $t('Fullstack developer') }}
    </h1>

    <h2>
      {{ $t('twelve_years_experience') }}
    </h2>

    <div class="introduction">
      <div>
        {{ $t('intro_part_1') }}
      </div>

      <div>
        {{ $t('intro_part_2') }}
      </div>

      <div>
        {{ $t('intro_part_3') }}
      </div>

      <div v-html="$t('intro_part_4')" />

      <div>
        {{ $t('intro_part_5') }}
      </div>

      <div class="logos">
        <nuxt-link
          href="https://github.com/olinox14"
          target="_blank"
        >
          <v-img
            src="/images/logos/github_large_dark.png"
          />
        </nuxt-link>

        <nuxt-link
          href="https://stackoverflow.com/users/4279120/olinox14"
          target="_blank"
        >
          <v-img
            src="/images/logos/stackoverflow.svg"
            class="so-logo"
          />
        </nuxt-link>

        <nuxt-link
          href="https://www.linkedin.com/in/olivier-massot-60b87b181"
          target="_blank"
        >
          <v-img
            src="/images/logos/linkedin.png"
          />
        </nuxt-link>

        <nuxt-link
          href="https://www.codingame.com/profile/75dcc329745def530c02ddb4485f22235683081"
          target="_blank"
        >
          <v-img
            src="/images/logos/codingame.svg"
          />
        </nuxt-link>

      </div>
    </div>
  </div>

  <div class="badges">
    <h2>Languages</h2>
    <div class="badges-section">
      <Badge title="Python" img="/images/logos/python.svg" />
      <Badge title="PHP" img="/images/logos/php.svg" />
      <Badge title="Node.js" img="/images/logos/node-light.svg" />
      <Badge title="C#" img="/images/logos/csharp.png" />
    </div>

    <h2>Frameworks</h2>
    <div class="badges-section">
      <Badge title="Symfony" img="/images/logos/symfony.svg" />
      <Badge title="Vue.js" img="/images/logos/vue.png" />
      <Badge title="Nuxt.js" img="/images/logos/nuxt.svg" />
      <Badge title="Django" img="/images/logos/django-light.svg" />
      <Badge title=".Net" img="/images/logos/dotnet.svg" />
      <Badge title="Jquery" img="/images/logos/jquery.png" />
    </div>

    <h2>DBs and search-engines</h2>
    <div class="badges-section">
      <Badge title="Mysql" img="/images/logos/mysql.png" />
      <Badge title="MariaDb" img="/images/logos/mariadb.svg" />
      <Badge title="Postgresql" img="/images/logos/postgresql.png" />
      <Badge title="SQL-Server" img="/images/logos/sql-server.svg" />
      <Badge title="Sqlite" img="/images/logos/sqlite.png" />
      <Badge title="ElasticSearch" img="/images/logos/elasticsearch.svg" />
      <Badge title="Solr" img="/images/logos/solr.png" />
    </div>

    <h2>Devops</h2>
    <div class="badges-section">
      <Badge title="Docker" img="/images/logos/docker.svg" />
      <Badge title="Gitlab CI" img="/images/logos/gitlab.svg" />
      <Badge title="Github Actions" img="/images/logos/github-light.svg" />
      <Badge title="Jenkins" img="/images/logos/jenkins.png" />
    </div>

    <h2>CMS</h2>
    <div class="badges-section">
      <Badge title="Typo3" img="/images/logos/typo3.png" />
      <Badge title="Wordpress" img="/images/logos/wordpress.png" />
    </div>

    <h2>Other</h2>
    <div class="badges-section">
      <Badge title="Mercure (SSE)" img="/images/logos/mercure.svg" />
      <Badge title="Nextcloud" img="/images/logos/nextcloud.svg" />
    </div>
  </div>
</template>

<script setup lang="ts">
</script>

<style scoped lang="scss">
.banner {
  height: 640px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  padding: 20px;

  h2 {
    margin: 18px 0;
    border-bottom: none;
  }

  .introduction {
    max-width: 800px;
    text-align: justify;
    padding: 36px;
    border: solid 1px rgba(var(--v-theme-on-neutral), 0.4);
    border-radius: 16px;
    background: rgba(var(--v-theme-primary-alt), 0.1);

    > div {
      margin-bottom: 16px;
    }

    :deep(a) {
      color: var(--v-theme-on-neutral);
      font-weight: 700;
      text-decoration: none;
    }

    .logos {
      display: flex;
      flex-direction: row;

      :deep(a) {
        width: 20%;
        margin: 0 auto;
        max-width: 140px;
        padding: 16px;
      }

      .so-logo {
        background: white;
        border-radius: 6px;
      }
    }
  }
}

.badges {

}

.badges-section {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  justify-content: center;

  .v-card {
    margin: 24px;
  }
}
</style>