Security News
Cloudflare Adds Security.txt Setup Wizard
Cloudflare has launched a setup wizard allowing users to easily create and manage a security.txt file for vulnerability disclosure on their websites.
@financial-times/community-event-teaser
Advanced tools
Storybook: https://jubilant-umbrella-dd461ca9.pages.github.io
EventTeaser
, EventTopicCardItem
, and EventPromo
liveEventToEventTeaserProps
, and initTeaserTracking
initTeaserTracking
is using a reference of oTracking passed in the function. The package is tested and compatible with versions from 4.0.0
to 4.4.0
.npm install @financial-times/community-event-teaser
Example of how to use the <EventTeaser/>
import { h, render } from '@financial-times/x-engine';
import { EventTeaser } from "@financial-times/community-event-teaser";
const container = document.querySelector('.some-container-element');
render((
<EventTeaser
imgUrl={"https://ftweekend.live.ft.com/some-cool-image-png"}
title={"FTWeekend Festival"}
standfirst={"Some short description of the event"}
eventUrl={"https://ftweekend.live.ft.com"}
lazyLoadImage={"some__lazy-loading-classname"}
location={"Kenwood House Gardens & Online"}
scheduledStartTime={new Date("2021-09-04T12:00:00.000Z")}
showImage={true}
showBrand={true}
showStandfirst={true}
/>), container)
Example of how to use the EventTopicCardItem
import { h, render } from '@financial-times/x-engine';
import { EventTopicCardItem } from "@financial-times/community-event-teaser";
const container = document.querySelector('.some-container-element');
render((
<EventTopicCardItem
title={"FTWeekend Festival"}
eventUrl={"https://ftweekend.live.ft.com"}
location={"Kenwood House Gardens & Online"}
scheduledStartTime={new Date("2021-09-04T12:00:00.000Z")}
/>), container)
npm install
FAQs
community event teasers etc
The npm package @financial-times/community-event-teaser receives a total of 217 weekly downloads. As such, @financial-times/community-event-teaser popularity was classified as not popular.
We found that @financial-times/community-event-teaser demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 0 open source maintainers collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Security News
Cloudflare has launched a setup wizard allowing users to easily create and manage a security.txt file for vulnerability disclosure on their websites.
Security News
The Socket Research team breaks down a malicious npm package targeting the legitimate DOMPurify library. It uses obfuscated code to hide that it is exfiltrating browser and crypto wallet data.
Security News
ENISA’s 2024 report highlights the EU’s top cybersecurity threats, including rising DDoS attacks, ransomware, supply chain vulnerabilities, and weaponized AI.