/apps/appthera/activatePrescription

import { button, buttons } from "@hedia/hexui/components/button";
import { footer } from "@hedia/hexui/components/footer";
import { header } from "@hedia/hexui/components/header";
import { navbar } from "@hedia/hexui/components/navbar";
import { content, prose } from "@hedia/hexui/components/prose";
import { screen } from "@hedia/hexui/components/screen";
import { a, h2, img, p } from "@hedia/html/elements";

export default function () {
  return screen(
    header(navbar(a({ href: "#" }, "Close"), h2("License"))),
    content(
      prose(
        img({ src: "/apps/appthera/appthera.svg" }),
        h2("3 hour delay on CGM data"),
        p("Data from your CGM sensor is delivered to Hedia Diabetes Assistant with a 3-hour delay."),
      ),
    ),
    footer(buttons({ arrangement: "vertical" }, button({ kind: "primary" }, "Activate prescription"))),
  );
}