This commit is contained in:
2025-02-03 11:31:40 +01:00
commit 189b642721
39 changed files with 11800 additions and 0 deletions

View File

@ -0,0 +1,6 @@
import * as belliniApi from '@bellini/api';
export const getArticleUrl = (articleArg: belliniApi.IBelliniClientState['articles'][0]) => {
const articleUrl = `/article/${articleArg.belliniId}/${encodeURIComponent(articleArg.title.toLowerCase().replace(/\s/g, '-'))}`;
return articleUrl;
};

View File

@ -0,0 +1,5 @@
import * as articlehelpers from './articlehelpers.js';
export {
articlehelpers
}