2a2497072d
* infer card title * Infer entry body & image * infer image * Better terminology: EntryListing accept a single Collection * remove log * Refactored Collections VO into selectors * use selectors when showning card * fixed size cards * Added 'bio' and 'biography' to collection description inference synonyms * Removed unused card file * throw error instance * bugfix for file based collections * lint * moved components with css to own folder * Search Bugfix: More than one collection might be returned * Changed sidebar implementation. Closes #104 & #152 * Show spinning loading for unpublished entries * Refactored Sidebar into a separate container * Make preview widgets more robust
9 lines
234 B
JavaScript
9 lines
234 B
JavaScript
|
|
export default function consoleError(title, description) {
|
|
console.error(
|
|
`%c ⛔ ${ title }\n` + `%c${ description }\n\n`,
|
|
'color: black; font-weight: bold; font-size: 16px; line-height: 50px;',
|
|
'color: black;'
|
|
);
|
|
}
|