Book a Demo!
CoCalc Logo Icon
StoreFeaturesDocsShareSupportNewsAboutPoliciesSign UpSign In
ulixee
GitHub Repository: ulixee/secret-agent
Path: blob/main/website/src/components/Feature.vue
1030 views
<template>
  <div class="feature text-center">
    <div class="feature__inner">
      <slot />
    </div>
  </div>
</template>

<script>
  export default {
    props: ['icon', 'gradient'],
    computed: {
      iconClasses() {
        let classes = [];
        if(this.gradient) classes.push('gradint-' + this.gradient);
        return classes
      }
    }
  }
</script>

<style lang="scss">
  .feature {
    margin-bottom: var(--space-x2);
    padding: 0 var(--space);

    svg {
      margin-top: -.25rem;
    }

    h3 {
      margin-bottom: .5rem;
      line-height: 1.4;
    }

  }
</style>