newsbot-portal/internal/views/home/index.templ

29 lines
1.0 KiB
Plaintext
Raw Normal View History

2024-05-11 09:56:19 -07:00
package home
2024-07-13 10:38:54 -07:00
import (
b "git.jamestombleson.com/jtom38/newsbot-portal/templ-bulma"
bl "git.jamestombleson.com/jtom38/newsbot-portal/templ-bulma/layout"
"git.jamestombleson.com/jtom38/newsbot-portal/internal/models"
2024-07-13 10:38:54 -07:00
"git.jamestombleson.com/jtom38/newsbot-portal/internal/views/layout"
)
2024-05-11 09:56:19 -07:00
templ Index(vm models.HomeIndexViewModel) {
@layout.WithTemplate(vm.HeaderMetaTags) {
2024-07-13 10:38:54 -07:00
@bl.Hero("Welcome to Newsbot!", "Your new home for your news.")
@b.Block() {
News bot is a self hostable solution to aggregating your news.
You can run `Newsbot` as an API or interact with it with this site.
}
@b.H2("Why Newsbot", false)
@b.Block() {
I started to build this tool to help me avoid sitting on the big platform websites.
I wanted a tool that would work for me, not them.
This tool started as a notification system that would let me redirect RSS posts over to Discord servers.
It still has those roots but now its starting to scale up to a full Aggregation platform.
}
@b.Block() {
This project is a passion project of mine as I
}
2024-05-11 09:56:19 -07:00
}
}