summaryrefslogtreecommitdiff
path: root/app/assets/javascripts/pipelines/components/empty_state.vue
blob: 3db64339a62756589fe07855b34b4229abd2b6d2 (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
<script>
import pipelinesEmptyStateSVG from 'empty_states/icons/_pipelines_empty.svg';

export default {
  props: {
    helpPagePath: {
      type: String,
      required: true,
    },
  },
  data: () => ({ pipelinesEmptyStateSVG }),
};
</script>

<template>
  <div class="row empty-state js-empty-state">
    <div class="col-xs-12">
      <div class="svg-content" v-html="pipelinesEmptyStateSVG" />
    </div>

    <div class="col-xs-12 text-center">
      <div class="text-content">
        <h4>Build with confidence</h4>
        <p>
          Continous Integration can help catch bugs by running your tests automatically,
          while Continuous Deployment can help you deliver code to your product environment.
        </p>
        <a :href="helpPagePath" class="btn btn-info">
          Get started with Pipelines
        </a>
      </div>
    </div>
  </div>
</template>