ugit/internal/html
jolheiser 0db8cc06a5
feat: better mobile styling
Signed-off-by: jolheiser <john.olheiser@gmail.com>
2024-03-19 22:46:57 -05:00
..
markup chore: UI cleanup 2024-03-01 15:34:50 -06:00
base.templ fix: margin-x for thinner screens 2024-03-07 19:59:46 -06:00
base_templ.go fix: margin-x for thinner screens 2024-03-07 19:59:46 -06:00
generate.css feat: better mobile styling 2024-03-19 22:46:57 -05:00
generate.go feat: native git 2024-02-22 13:14:05 -06:00
index.templ feat: better mobile styling 2024-03-19 22:46:57 -05:00
index_templ.go feat: better mobile styling 2024-03-19 22:46:57 -05:00
readme.templ chore: update readme styles 2024-02-02 15:29:18 -06:00
readme_templ.go chore: update readme styles 2024-02-02 15:29:18 -06:00
repo.templ feat: grep search 2024-03-01 11:58:05 -06:00
repo_commit.templ chore: UI cleanup 2024-03-01 15:34:50 -06:00
repo_commit_templ.go chore: UI cleanup 2024-03-01 15:34:50 -06:00
repo_file.templ feat: better mobile styling 2024-03-19 22:46:57 -05:00
repo_file_templ.go feat: better mobile styling 2024-03-19 22:46:57 -05:00
repo_log.templ chore: UI cleanup 2024-03-01 15:34:50 -06:00
repo_log_templ.go chore: UI cleanup 2024-03-01 15:34:50 -06:00
repo_refs.templ feat: log page 2024-01-15 22:54:43 -06:00
repo_refs_templ.go feat: log page 2024-01-15 22:54:43 -06:00
repo_search.templ chore: dedupe results 2024-03-01 16:49:07 -06:00
repo_search_templ.go chore: dedupe results 2024-03-01 16:49:07 -06:00
repo_templ.go feat: grep search 2024-03-01 11:58:05 -06:00
repo_tree.templ feat: better mobile styling 2024-03-19 22:46:57 -05:00
repo_tree_templ.go feat: better mobile styling 2024-03-19 22:46:57 -05:00
tailwind.config.js initial commit 2024-01-15 16:26:51 -06:00
tailwind.go feat: better mobile styling 2024-03-19 22:46:57 -05:00

readme.templ

package html

type ReadmeComponentContext struct {
    Markdown string
}

templ readmeComponent(rcc ReadmeComponentContext) {
	if rcc.Markdown != "" {
		<div class="bg-base dark:bg-base/50 p-5 mt-5 rounded markdown">@templ.Raw(rcc.Markdown)</div>
	}
}