26 lines
469 B
TypeScript
26 lines
469 B
TypeScript
import {html, render} from 'htm/preact';
|
|
import {
|
|
initializeBackgroundMessageHandler,
|
|
getManifest,
|
|
getSettings,
|
|
PageFooter,
|
|
PageHeader,
|
|
PageMain
|
|
} from '.';
|
|
|
|
(async () => {
|
|
initializeBackgroundMessageHandler();
|
|
|
|
const manifest = getManifest();
|
|
const settings = await getSettings();
|
|
|
|
render(
|
|
html`
|
|
<${PageHeader} />
|
|
<${PageMain} settings=${settings} />
|
|
<${PageFooter} manifest=${manifest} />
|
|
`,
|
|
document.body
|
|
);
|
|
})();
|