Skip to content

CtaBlockB content could be abstracted #48

@prescience-data

Description

@prescience-data

These appear to be similar/identical so could be scoped into their own CtaBlockBContent (or similar) component:

https://github.com/cssninjaStudio/vulk/blob/main/src/components/blocks/cta-blocks/CtaBlockB.vue#L49

https://github.com/cssninjaStudio/vulk/blob/main/src/components/blocks/cta-blocks/CtaBlockB.vue#L90

 export interface CtaBlockBProps {
  primary: CtaBlockBItemProps
  secondary: CtaBlockBItemProps
  inverted?: boolean
  boxed?: boolean
  color?: CtaBLockBColor
  shapes?: boolean
  animated?: boolean
 }

 export interface CtaBlockBItemProps  {
    title: string
    content: string
    cta: string
    link: string
    inverted: boolean
    textClasses: string[]
    blockClasses: string[]
 }

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions