2024-05-11 09:56:19 -07:00
|
|
|
package layout
|
|
|
|
|
2024-07-14 09:06:43 -07:00
|
|
|
import (
|
2024-07-15 15:35:08 -07:00
|
|
|
"git.jamestombleson.com/jtom38/newsbot-portal/templ-bulma"
|
|
|
|
bl "git.jamestombleson.com/jtom38/newsbot-portal/templ-bulma/layout"
|
2024-07-14 09:06:43 -07:00
|
|
|
"git.jamestombleson.com/jtom38/newsbot-portal/internal/models"
|
2024-07-15 15:35:08 -07:00
|
|
|
"git.jamestombleson.com/jtom38/newsbot-portal/templ-bulma/html"
|
2024-07-14 09:06:43 -07:00
|
|
|
)
|
|
|
|
|
|
|
|
templ WithTemplate(meta models.HeaderMetaTags) {
|
2024-07-15 15:35:08 -07:00
|
|
|
@html.Doctype()
|
|
|
|
@html.New("en") {
|
|
|
|
@html.NewHeader() {
|
2024-07-14 09:06:43 -07:00
|
|
|
@header(meta)
|
2024-07-15 15:35:08 -07:00
|
|
|
}
|
|
|
|
@html.NewBody(){
|
2024-05-18 22:37:30 -07:00
|
|
|
@navBar()
|
2024-07-15 15:35:08 -07:00
|
|
|
@html.Br()
|
2024-07-14 09:06:43 -07:00
|
|
|
@bl.Container(bulma.BreakpointDefault) {
|
2024-05-11 09:56:19 -07:00
|
|
|
{ children... }
|
2024-07-14 09:06:43 -07:00
|
|
|
}
|
2024-07-15 15:35:08 -07:00
|
|
|
@footer()
|
|
|
|
}
|
|
|
|
}
|
2024-05-11 09:56:19 -07:00
|
|
|
}
|