2018-03-17 18:26:18 +05:30
|
|
|
<script>
|
2018-12-13 13:39:08 +05:30
|
|
|
import Icon from '~/vue_shared/components/icon.vue';
|
|
|
|
import iconCycleAnalyticsSplash from 'icons/_icon_cycle_analytics_splash.svg';
|
2018-03-17 18:26:18 +05:30
|
|
|
|
2018-12-13 13:39:08 +05:30
|
|
|
export default {
|
|
|
|
components: {
|
|
|
|
Icon,
|
|
|
|
},
|
|
|
|
props: {
|
|
|
|
documentationLink: {
|
|
|
|
type: String,
|
|
|
|
required: true,
|
2018-03-17 18:26:18 +05:30
|
|
|
},
|
2018-12-13 13:39:08 +05:30
|
|
|
},
|
|
|
|
computed: {
|
|
|
|
iconCycleAnalyticsSplash() {
|
|
|
|
return iconCycleAnalyticsSplash;
|
2018-03-17 18:26:18 +05:30
|
|
|
},
|
2018-12-13 13:39:08 +05:30
|
|
|
},
|
|
|
|
methods: {
|
|
|
|
dismissOverviewDialog() {
|
|
|
|
this.$emit('dismiss-overview-dialog');
|
2018-03-17 18:26:18 +05:30
|
|
|
},
|
2018-12-13 13:39:08 +05:30
|
|
|
},
|
|
|
|
};
|
2018-03-17 18:26:18 +05:30
|
|
|
</script>
|
|
|
|
<template>
|
|
|
|
<div class="landing content-block">
|
|
|
|
<button
|
2018-11-08 19:23:39 +05:30
|
|
|
:aria-label="__('Dismiss Cycle Analytics introduction box')"
|
2018-03-17 18:26:18 +05:30
|
|
|
class="js-ca-dismiss-button dismiss-button"
|
|
|
|
type="button"
|
|
|
|
@click="dismissOverviewDialog"
|
|
|
|
>
|
2019-02-15 15:39:39 +05:30
|
|
|
<icon name="close" />
|
2018-03-17 18:26:18 +05:30
|
|
|
</button>
|
2019-02-15 15:39:39 +05:30
|
|
|
<div class="svg-container" v-html="iconCycleAnalyticsSplash"></div>
|
2018-03-17 18:26:18 +05:30
|
|
|
<div class="inner-content">
|
2019-02-15 15:39:39 +05:30
|
|
|
<h4>{{ __('Introducing Cycle Analytics') }}</h4>
|
2018-03-17 18:26:18 +05:30
|
|
|
<p>
|
2019-02-15 15:39:39 +05:30
|
|
|
{{
|
|
|
|
__(`Cycle Analytics gives an overview
|
|
|
|
of how much time it takes to go from idea to production in your project.`)
|
|
|
|
}}
|
2018-03-17 18:26:18 +05:30
|
|
|
</p>
|
|
|
|
<p>
|
2019-02-15 15:39:39 +05:30
|
|
|
<a :href="documentationLink" target="_blank" rel="nofollow" class="btn">
|
2018-03-17 18:26:18 +05:30
|
|
|
{{ __('Read more') }}
|
|
|
|
</a>
|
|
|
|
</p>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</template>
|