module source.uim.bootstrap.bs5.demos.contents;

import uim.bootstrap;

static this() {
	demoBS5.pages("basic/contents", new class DH5AppPage {
		this() { 
			super(); 
			this
			.created(DateTime(2020, 12, 20, 10, 10, 0))
			.changed(timeLastModified(__FILE_FULL_PATH__))
			.parameters([
					"pageTitle": "Contents - Bootstrap 5 Demo",
          ]);
		} 
			
        override string content() { 
            return 
  H5Main(["style":"margin-top:70px;"], 
    H5Div(["container-fluid", "mt-3", "bg-light"],
      bs5Breadcrumbs(["/", "/demos", "/demos/uim-bootstrap", "/demos/uim-bootstrap/5/", "/demos/uim-bootstrap/5/basic/"], 
      ["UI Manufaktur", "Demos", "uim-bootstrap", "Bootstrap 5", "Basic"], "Contents")),
    BS5Container(["mt-3"]).row(
    H5Div(["col-12", "col-lg-2"], 
      listLevels("basic"),  
      listAreas("basic", "contents")),
      H5Div(["col-12", "col-lg-8"], 
        dateInfo(this),
      H5H2(["display-4"], "Bootstrap 5 Demo <small>Using Contents</small>"),
        H5Hr,

        listSections("basic", "contents")
      ),
      H5Div(["col-12", "col-lg-2"])
    )).toString;
    }
  });
}