1.1.0 • Published 1 year ago
@wolfpacklabs/blog-ui v1.1.0
Blog UI
UI components for the blogs
Install
npm i @wolfpacklabs/blog-ui
Required assets
- Search icon as
/icons/search.svg
- Background image of the CallToAction component as
/images/matrix.jpg
- Social media icons in
/icons/blog/...
in svg format
Components
BlogContextProvider
value
\ object with the id of the website, slug of the website and the main social mediachildren
\ component to set the context
Blog
children
\ image with the brand name
Article
Filter
name
\ can befind
orcategory
ortags
Footer
logo
\ image logo urllabel
\ website namesocialMedia
\ array of[name, url]
companyRoutes
\ array of[name, pathname]
subscribeText
\ text to invite readers to subscribe