docs(marketing): improve section data model and section rendering

This commit is contained in:
Prad Nukala
2024-10-24 16:11:30 -04:00
parent c8657022a2
commit f14f6ff536
9 changed files with 97 additions and 1007 deletions
@@ -2,6 +2,10 @@ package sections
import models "github.com/onsonr/sonr/internal/orm/marketing"
// ╭───────────────────────────────────────────────────────────╮
// │ Data Model │
// ╰───────────────────────────────────────────────────────────╯
// architecture is the (4th) home page architecture section
var arch = &models.Architecture{
Heading: "Onchain Security with Offchain Privacy",
@@ -28,6 +32,11 @@ var arch = &models.Architecture{
},
}
// ╭───────────────────────────────────────────────────────────╮
// │ Render Section View │
// ╰───────────────────────────────────────────────────────────╯
// Architecture is the (4th) home page architecture section
templ Architecture() {
<!-- Features #2 -->
<section>