<commit_before><template>
  <div class="row justify-between footer">
      <div>karrot <a :href="releaseLink">{{ releaseName }}</a></div> |
      <div>made with <i class="fa fa-heart"></i> by <a href="https://yunity.org">yunity</a></div> |
      <div>contribute on <a href="https://github.com/yunity/karrot-frontend"><i class="fa fa-github"></i> GitHub</a></div> |
      <div>join our official group on <a href="https://www.facebook.com/groups/foodsaving.worldwide/"><i class="fa fa-facebook"></i> Facebook</a></div> |
      <div><i class="fa fa-envelope"></i>
      <a href="mail:<EMAIL>" aria-label="" md-labeled-by-tooltip="md-tooltip-4">
        <EMAIL>
      </a></div>
  </div>
</template>

<script>
import { QBtn, QIcon, QPopover, QList, QItem } from 'quasar'
import misc from '@/services/misc'

export default {
  components: {
    QBtn, QIcon, QPopover, QList, QItem
  },
  data () {
    return {
      releaseLink: 'https://github.com/yunity/karrot-frontend/blob/master/CHANGELOG.md',
      releaseName: 'Release 3'
    }
  },
  async mounted () {
    try {
      // about.json exists on deployment
      const about = await misc.about()
      this.releaseLink = `https://github.com/yunity/karrot-frontend/tree/${about.commitSHA}`
      this.releaseName = 'development'
    } catch (e) {
      if (DEV) {
        // local development
        this.releaseLink = ''
        this.releaseName = 'local development'
      }
    }
  }
}
</script>

<style scoped lang="stylus">
  .footer
    width: 95%
    max-width: 75em
    margin: 0 auto
</style>
https://github.com/yunity/karrot-frontend/tree/<commit_msg>show release only in dev deploy<commit_after><template>
  <div class="row justify-between footer">
      <div>karrot <a :href="releaseLink">{{ releaseName }}</a></div> |
      <div>made with <i class="fa fa-heart"></i> by <a href="https://yunity.org">yunity</a></div> |
      <div>contribute on <a href="https://github.com/yunity/karrot-frontend"><i class="fa fa-github"></i> GitHub</a></div> |
      <div>join our official group on <a href="https://www.facebook.com/groups/foodsaving.worldwide/"><i class="fa fa-facebook"></i> Facebook</a></div> |
      <div><i class="fa fa-envelope"></i>
      <a href="mail:<EMAIL>" aria-label="" md-labeled-by-tooltip="md-tooltip-4">
        <EMAIL>
      </a></div>
  </div>
</template>

<script>
import { QBtn, QIcon, QPopover, QList, QItem } from 'quasar'
import misc from '@/services/misc'

export default {
  components: {
    QBtn, QIcon, QPopover, QList, QItem
  },
  data () {
    return {
      releaseLink: 'https://github.com/yunity/karrot-frontend/blob/master/CHANGELOG.md',
      releaseName: 'Release 3'
    }
  },
  async mounted () {
    try {
      // about.json exists on deployment
      const about = await misc.about()
      if (about.env === 'development') {
        this.releaseLink = `https://github.com/yunity/karrot-frontend/tree/${about.commitSHA}`
        this.releaseName = 'development'
      }
    } catch (e) {
      if (DEV) {
        // local development
        this.releaseLink = ''
        this.releaseName = 'local development'
      }
    }
  }
}
</script>

<style scoped lang="stylus">
  .footer
    width: 95%
    max-width: 75em
    margin: 0 auto
</style>
https://github.com/yunity/karrot-frontend/tree/
{'fraction_non_alphanumeric': 0.18016378525932666, 'fraction_numerical': 0.004246284501061571, 'mean_word_length': 2.884570082449941, 'pattern_counts': {'":': 0, '<': 79, '<?xml version=': 0, '>': 79, 'https://': 12, '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': '2126386', 'n_tokens_mistral': 1150, 'n_tokens_neox': 1128, 'n_words': 233}