#import "/packages.typ": notebookinator, gentle-clues
#import notebookinator: *
#import themes.radial.components: *
#import gentle-clues: *

#import "/util.typ": qrlink

#let auton(
  title,
  date,
  filename,
  description,
  directory: "src/auton/autons/",
  body,
) = {
  show: create-body-entry.with(
    title: "Auton: " + title,
    type: "program",
    date: date,
    author: "<NAME>",
  )

  grid(
    columns: 2,
    gutter: 2mm,
    {
      heading(title)
      description
    },
    {
      set align(horizon)
      figure(
        qrlink(
          "https://github.com/meiszwflz/OverUnder781X/tree/master/" + dictionary + filename,
          width: 9em,
        ),
        caption: "Source Code on Github",
      )
    },
  )

  body
}