summaryrefslogtreecommitdiff
path: root/app/assets/javascripts/vue_pipelines_index/components/empty_state.js
blob: 56b4858f4b487f1e60866d5c68713075edd8fc7d (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
import pipelinesEmptyStateSVG from 'empty_states/icons/_pipelines_empty.svg';

export default {
  props: {
    helpPagePath: {
      type: String,
      required: true,
    },
  },

  template: `
    <div class="row empty-state">
      <div class="col-xs-12">
        <div class="svg-content">
          ${pipelinesEmptyStateSVG}
        </div>
      </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>
  `,
};