Security News
Input Validation Vulnerabilities Dominate MITRE's 2024 CWE Top 25 List
MITRE's 2024 CWE Top 25 highlights critical software vulnerabilities like XSS, SQL Injection, and CSRF, reflecting shifts due to a refined ranking methodology.
@volvo-cars/care-by-volvo-components
Advanced tools
Components for Care by Volvo information page
These are components that are being used by multiple projects for describing Care by Volvo.
The philosophy of the components is that they should be ready out of the box, you only need to provide the data.
Install the package:
npm install @volvo-cars/care-by-volvo-components
The data and content are not provided in this package. You will need to fetch content from the VCC Content Delivery API.
For analytics to work you will need to make sure a product_id
is defined in the window object in your app, e.g.:
if (!window.hasOwnProperty('product_id')) window.product_id = 'VC-WPI';
This component is describing what distincts Care by Volvo from it's competitors. It essentially contains copy.
import { CardList } from "@volvo-cars/care-by-volvo-components"
const myApp() (
...
<CardList data={dataFromContentDeliveryAPI} />
...
)
This is a component displays a few ways for visitors to get in touch with Volvo (chat, phone and email).
import { ContactInfo } from "@volvo-cars/care-by-volvo-components"
const myApp() (
...
<ContactInfo data={dataFromContentDeliveryAPI} page="home" />
...
)
This component is an accordion on the landing page, that displays what is included in Care by Volvo.
import { FeatureList } from "@volvo-cars/care-by-volvo-components"
const myApp() (
...
<FeatureList data={dataFromContentDeliveryAPI} />
...
)
This is an component that describes how the subscription works. It contains of a title, a icon and a body text. It turns into a Carousel on mobile devices.
import { IconCardList } from "@volvo-cars/care-by-volvo-components"
const myApp() (
...
<IconCardList
data={dataFromContentDeliveryAPI}
hideCta={false}
scrollToSelector={'#choose-your-volvo'}
/>
...
)
The IconCardList has pure-react-carousel as a dependency and importing the accompanying CSS file is therefore required.
import 'pure-react-carousel/dist/react-carousel.es.css';
This is an component that shortly describes what Care by Volvo is. It is essentially just a title and a body text.
import { InfoBlock } from "@volvo-cars/care-by-volvo-components"
const myApp() (
...
<InfoBlock data={dataFromContentDeliveryAPI} />
...
)
FAQs
Components for Care by Volvo information page
The npm package @volvo-cars/care-by-volvo-components receives a total of 1 weekly downloads. As such, @volvo-cars/care-by-volvo-components popularity was classified as not popular.
We found that @volvo-cars/care-by-volvo-components demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 12 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
MITRE's 2024 CWE Top 25 highlights critical software vulnerabilities like XSS, SQL Injection, and CSRF, reflecting shifts due to a refined ranking methodology.
Security News
In this segment of the Risky Business podcast, Feross Aboukhadijeh and Patrick Gray discuss the challenges of tracking malware discovered in open source softare.
Research
Security News
A threat actor's playbook for exploiting the npm ecosystem was exposed on the dark web, detailing how to build a blockchain-powered botnet.