The client library is an archive of custom components build by dekode for specific client projects. The purpose of the library is to provide inspiration and reference for advisors, designers and developers when planning similar functionality.
How to use
There is no guarantee of usability for anything in the library, a component might have been developed in a context that makes re-using it either hard or inadvisable. While some components, (most likely blocks) might be able to seamlessly drag-drop into a new project this process should always be estimated individually as code transitions in and out of legacy unexpectedly.
Explanation of terms
All terms are subject to change, hopefully this article is up to date.
Block
This is a component that is used to build modular pages. In current projects this means Gutenberg block-editor blocks, but on older projects or projects outside of WordPress this might mean something else. For example on a legacy ACF project an acf flexible content module would be a Block
The component itself either refers to a complete block, or an implementation of another block such as a style on a teft/t2 block.
Template
This is a component that adds something to the front of a website that isn’t necessarily a block (or just a block). This could be something like a contact page, membership registration or search archive. This can also act as a “catch all” for components that has no or more than one home.
Extension
This is a component that works on top of WordPress, either extending core/plugin functionality or creating new functionality. Examples of this would be a gravity forms custom field extend or a full integration to a CRM
It can also act as a “catch all” for solutions built fully or partially outside of WordPress
Feature
Categorizes components by describing the general functionality it provides, any related products or third party plugins/libraries it might be using. The name of any service it might be integrating with or any technologies used.
How to contribute
Login as the Dekode user in lastpass and add a block, template or extension. Each kind comes with a set off suggested blocks, feel free to add or remove any of those.
Required info
Title – This should describe what something is, shouldn’t include client name. keep it short.
Featured image – Try to always add this if there is anything visual for the component. The image block added automatically to the top of blocks and templates automaticly sets the featured image.
Published date – Set this to the approximate launch of the component
Client – The client that this component was developed for
Features – A list of features that losely describes the component. Try to think about what might be interesting to search for.
Developers – One or more developers that has contributed to the component. If you’re unsure just add the ones you know. Please add devs even if they are no longer working at Dekode.
Content – try to add at least some kind of description. the more the better. Adding more images when relevant can be really useful