cartodb/lib/assets/javascripts/new-dashboard/components/Onboarding/distributor/Warning.vue

35 lines
742 B
Vue
Raw Normal View History

2020-06-15 10:58:47 +08:00
<template>
<div class="warning">
<span class="text is-small">
{{$t(`Wizards.Distributor.engineWarning.text`)}} <a target="_blank" class="warning__link" :href="$t(`Wizards.Distributor.engineWarning.link`)">{{$t(`Wizards.Distributor.engineWarning.linkText`)}}</a>
</span>
</div>
</template>
<script>
export default {
name: 'Warning'
};
</script>
<style scoped lang="scss">
@import 'new-dashboard/styles/variables';
.warning {
display: flex;
align-items: center;
max-width: 460px;
height: 34px;
padding: 1.3em;
border-bottom-right-radius: 2px;
border-bottom-left-radius: 2px;
background-color: $primary-color;
color: $white;
&__link {
color: $white;
text-decoration: underline;
}
}
</style>