Welcome to mirror list, hosted at ThFree Co, Russian Federation.

banner.vue « components « cycle_analytics « javascripts « assets « app - gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: 4448d909c9b1187679c1ec68e21242b9c3f0bd0c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
<script>
/* eslint-disable vue/no-v-html */
import iconCycleAnalyticsSplash from 'icons/_icon_cycle_analytics_splash.svg';
import { GlIcon } from '@gitlab/ui';

export default {
  components: {
    GlIcon,
  },
  props: {
    documentationLink: {
      type: String,
      required: true,
    },
  },
  computed: {
    iconCycleAnalyticsSplash() {
      return iconCycleAnalyticsSplash;
    },
  },
  methods: {
    dismissOverviewDialog() {
      this.$emit('dismiss-overview-dialog');
    },
  },
};
</script>
<template>
  <div class="landing content-block">
    <button
      :aria-label="__('Dismiss Value Stream Analytics introduction box')"
      class="js-ca-dismiss-button dismiss-button"
      type="button"
      @click="dismissOverviewDialog"
    >
      <gl-icon name="close" />
    </button>
    <div class="svg-container" v-html="iconCycleAnalyticsSplash"></div>
    <div class="inner-content">
      <h4>{{ __('Introducing Value Stream Analytics') }}</h4>
      <p>
        {{
          __(`Value Stream Analytics gives an overview
of how much time it takes to go from idea to production in your project.`)
        }}
      </p>
      <p>
        <a :href="documentationLink" target="_blank" rel="nofollow" class="btn">
          {{ __('Read more') }}
        </a>
      </p>
    </div>
  </div>
</template>