2017-10-09 03:45:51 -04:00
|
|
|
<script>
|
2018-10-10 02:09:55 -04:00
|
|
|
import iconCycleAnalyticsSplash from 'icons/_icon_cycle_analytics_splash.svg';
|
2019-12-09 07:07:58 -05:00
|
|
|
import Icon from '~/vue_shared/components/icon.vue';
|
2017-10-09 03:45:51 -04:00
|
|
|
|
2018-10-10 02:09:55 -04:00
|
|
|
export default {
|
|
|
|
components: {
|
|
|
|
Icon,
|
|
|
|
},
|
|
|
|
props: {
|
|
|
|
documentationLink: {
|
|
|
|
type: String,
|
|
|
|
required: true,
|
2018-10-15 14:35:00 -04:00
|
|
|
},
|
2018-10-10 02:09:55 -04:00
|
|
|
},
|
|
|
|
computed: {
|
|
|
|
iconCycleAnalyticsSplash() {
|
|
|
|
return iconCycleAnalyticsSplash;
|
2017-10-09 03:45:51 -04:00
|
|
|
},
|
2018-10-10 02:09:55 -04:00
|
|
|
},
|
|
|
|
methods: {
|
|
|
|
dismissOverviewDialog() {
|
|
|
|
this.$emit('dismiss-overview-dialog');
|
2017-10-09 03:45:51 -04:00
|
|
|
},
|
2018-10-10 02:09:55 -04:00
|
|
|
},
|
|
|
|
};
|
2017-10-09 03:45:51 -04:00
|
|
|
</script>
|
|
|
|
<template>
|
|
|
|
<div class="landing content-block">
|
|
|
|
<button
|
2018-06-11 05:49:47 -04:00
|
|
|
:aria-label="__('Dismiss Cycle Analytics introduction box')"
|
2017-10-09 03:45:51 -04:00
|
|
|
class="js-ca-dismiss-button dismiss-button"
|
|
|
|
type="button"
|
2018-01-05 07:56:55 -05:00
|
|
|
@click="dismissOverviewDialog"
|
|
|
|
>
|
2018-11-16 15:07:38 -05:00
|
|
|
<icon name="close" />
|
2017-10-09 03:45:51 -04:00
|
|
|
</button>
|
2018-11-16 15:07:38 -05:00
|
|
|
<div class="svg-container" v-html="iconCycleAnalyticsSplash"></div>
|
2017-10-09 03:45:51 -04:00
|
|
|
<div class="inner-content">
|
2018-11-16 15:07:38 -05:00
|
|
|
<h4>{{ __('Introducing Cycle Analytics') }}</h4>
|
2017-10-09 03:45:51 -04:00
|
|
|
<p>
|
2018-11-16 15:07:38 -05:00
|
|
|
{{
|
|
|
|
__(`Cycle Analytics gives an overview
|
|
|
|
of how much time it takes to go from idea to production in your project.`)
|
|
|
|
}}
|
2017-10-09 03:45:51 -04:00
|
|
|
</p>
|
|
|
|
<p>
|
2018-11-16 15:07:38 -05:00
|
|
|
<a :href="documentationLink" target="_blank" rel="nofollow" class="btn">
|
2018-01-05 07:56:55 -05:00
|
|
|
{{ __('Read more') }}
|
2017-10-09 03:45:51 -04:00
|
|
|
</a>
|
|
|
|
</p>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</template>
|