14 lines
423 B
JavaScript
14 lines
423 B
JavaScript
// Generated, do not edit. sha256:3583845b6975a70bf6e3ec60e90764723b09df9714d36916609dadda9746f9e5
|
|
import { t } from '../i18n/index.js';
|
|
import { alertHtml } from '../ui/alert.js';
|
|
|
|
export function makeStub(navKey) {
|
|
return {
|
|
title: () => t(`nav.${navKey}`),
|
|
render(el) {
|
|
el.innerHTML = `
|
|
${alertHtml({ kind: 'neutral', icon: '🚧', title: t('stub.title'), body: t('stub.body') })}`;
|
|
},
|
|
};
|
|
}
|