}
}
}
// Summary is the summary of a repository: the README reads in the main
// column at the reading measure; what one acts on sits in the rail.
templ Summary(l Layout, p SummaryPage) {
@Shell(l, summaryRail(p)) {
if p.Readme != nil {
@ReadmeCard(*p.Readme)
}
}
}
templ summaryRail(p SummaryPage) {
}
}
// Login asks the owner to confirm a login link. Opening the link consumes
// nothing; only this form does. It is a state page with a button.
templ Login(l Layout, p LoginPage) {
@Shell(l, nil) {
}
}
// PasskeyLogin is the sign-in page: a button the script (passkey.js) drives.
// Without script the button is hidden and the page says what to do instead.
templ PasskeyLogin(l Layout, p PasskeyLoginPage) {
@Shell(l, nil) {