import { injectable } from '@deepkit/injector' ; import { html } from '@deepkit/template' ; @ injectable export class Website { constructor ( protected props , protected children ) { } async render ( ) { return < > { html ( '<!DOCTYPE html>' ) } < html > < head > < title > { this . props . title } - My Website ! < /title> < link rel = "stylesheet" href = "/style.css" / > < /head> < body > < div class = "frame" > < div class = "content" > { this . children } < /div> < /div> < /body> < /html> < />; } }