.demo.m-t-1-0
component-doc(:component="content_discovery_card")
hr
h2 Examples
h5 link with photo
content_discovery_card(
:channel_type="card_1.channel_type",
brand_name="My Brand",
:loading="card_1.loading",
:type="card_1.content_type",
:title="card_1.title"
:description="card_1.description",
:image_url="card_1.image_url",
:content_created_at="card_1.content_created_at",
:cta_text="card_1.cta_text",
@click_cta="respond_to_click")
h5 link without photo
content_discovery_card(
:channel_type="card_2.channel_type",
:type="card_2.content_type",
:title="card_2.title"
:description="card_2.description",
:content_created_at="card_2.content_created_at",
:cta_text="card_2.cta_text")
h5 photo only
content_discovery_card(
:channel_type="card_3.channel_type",
:type="card_3.content_type",
:message="card_3.message",
:image_url="card_3.image_url",
:content_created_at="card_3.content_created_at",
:cta_text="card_3.cta_text")
h5 external video (youtube)
content_discovery_card(
:channel_type="card_4.channel_type",
:type="card_4.content_type",
:message="card_4.message",
:video_url="card_4.video_url",
:content_created_at="card_4.content_created_at",
:cta_text="card_4.cta_text")
h5 external video (facebook)
content_discovery_card(
:channel_type="card_5.channel_type",
:type="card_5.content_type",
:message="card_5.message",
:video_url="card_5.video_url",
:content_created_at="card_5.content_created_at",
:image_url="card_5.image_url",
:cta_text="card_5.cta_text")
h5 text only
content_discovery_card(
:channel_type="card_6.channel_type",
:type="card_6.content_type",
:message="card_6.message",
:content_created_at="card_6.content_created_at",
:cta_text="card_6.cta_text")
h5 link with bad photo
content_discovery_card(
:channel_type="card_7.channel_type",
brand_name="My Brand"
:type="card_7.content_type",
:title="card_7.title"
:description="card_7.description",
:image_url="card_7.image_url",
:content_created_at="card_7.content_created_at",
:cta_text="card_7.cta_text")