SubTitle.vue 1003 B

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253
  1. <template>
  2. <LayoutContainer>
  3. <div class="subtitle">
  4. <v-icon :size="iconSize" :style="{ color: iconColor }" :class="iconClasses" />
  5. <h4 class="presentation-title" :style="{ color: titleColor }">{{ titleText }}</h4> </div>
  6. </LayoutContainer>
  7. </template>
  8. <script setup>
  9. const props = defineProps({
  10. iconSize: {
  11. type: [String, Number],
  12. default: 6,
  13. },
  14. iconClasses: {
  15. type: String,
  16. default: 'fa-solid fa-circle icon-title',
  17. },
  18. titleText: {
  19. type: String,
  20. default: 'default title',
  21. },
  22. iconColor: {
  23. type: String,
  24. default: 'rgba(32, 147, 190, 0.6)',
  25. },
  26. titleColor: {
  27. type: String,
  28. default: '#071b1f',
  29. },
  30. });
  31. </script>
  32. <style scoped>
  33. .subtitle {
  34. display: flex;
  35. align-items: center;
  36. gap: 0.5rem;
  37. margin-left: 3rem;
  38. }
  39. .presentation-title {
  40. color: #071b1f;
  41. font-family: Barlow;
  42. font-size: 1rem;
  43. font-style: normal;
  44. font-weight: 600;
  45. line-height: 15px;
  46. letter-spacing: 1.8px;
  47. text-transform: uppercase;
  48. }
  49. </style>