ugit/internal/html
jolheiser 78f30f901e
feat: native git
Signed-off-by: jolheiser <john.olheiser@gmail.com>
2024-02-22 13:14:05 -06:00
..
markup feat: native git 2024-02-22 13:14:05 -06:00
base.templ chore: add more to html head 2024-01-20 19:10:34 -06:00
base_templ.go chore: add more to html head 2024-01-20 19:10:34 -06:00
generate.css fix: css revert -> revert-layer 2024-02-01 10:55:15 -06:00
generate.go feat: native git 2024-02-22 13:14:05 -06:00
index.templ feat: contrast and clone URL 2024-01-19 20:34:27 -06:00
index_templ.go feat: contrast and clone URL 2024-01-19 20:34:27 -06: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: contrast and clone URL 2024-01-19 20:34:27 -06:00
repo_commit.templ feat: rel images 2024-01-18 09:13:11 -06:00
repo_commit_templ.go feat: rel images 2024-01-18 09:13:11 -06:00
repo_file.templ initial commit 2024-01-15 16:26:51 -06:00
repo_file_templ.go initial commit 2024-01-15 16:26:51 -06:00
repo_log.templ feat: commit page 2024-01-16 21:37:25 -06:00
repo_log_templ.go feat: commit page 2024-01-16 21:37:25 -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_templ.go feat: contrast and clone URL 2024-01-19 20:34:27 -06:00
repo_tree.templ feat: contrast and clone URL 2024-01-19 20:34:27 -06:00
repo_tree_templ.go feat: contrast and clone URL 2024-01-19 20:34:27 -06:00
tailwind.config.js initial commit 2024-01-15 16:26:51 -06:00
tailwind.go chore: update readme styles 2024-02-02 15:29:18 -06: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>
	}
}