Skip to content

CtaBlockB content could be abstracted #48

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[]
 }

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions