1
0
mirror of https://github.com/axzilla/templui.git synced 2025-02-21 01:32:45 +00:00

change: update readme, put icons into icons file

This commit is contained in:
“axzilla” 2024-10-09 13:12:37 +02:00
parent 54eb54c939
commit 6c253c801d
5 changed files with 5998 additions and 6000 deletions

View File

@ -42,7 +42,7 @@ Visit our website at [https://goilerplate.com/docs/getting-started](https://goil
## Changelog
See [CHANGELOG.md](CHANGELOG.md) for a detailed list of changes in each version.
See [Releases](https://github.com/axzilla/goilerplate/releases) for a detailed list of changes in each version.
## Contributing

View File

@ -13,7 +13,7 @@ templ Icon() {
<div class="mb-16">
<h1 class="text-3xl font-bold mb-2">Icon</h1>
<p class="mb-4 text-muted-foreground">
A wrapper for Lucide Icons with optional settings for size, color, fill, stroke, and custom classes. To use this component, you'll also need the code or component from the "Icon" tab!
A wrapper for Lucide Icons with optional settings for size, color, fill, stroke, and custom classes.
</p>
</div>
@components.Tabs(components.TabsProps{
@ -36,7 +36,7 @@ templ Icon() {
{
ID: "icons",
Title: "Icons",
Content: CodeSnippetFromEmbedded("icon_contents.go", "go", icons.TemplFiles),
Content: CodeSnippetFromEmbedded("icons.go", "go", icons.TemplFiles),
},
},
TabsContainerClass: "md:w-1/2",

View File

@ -2,5 +2,5 @@ package icons
import "embed"
//go:embed icon_contents.go
//go:embed icons.go
var TemplFiles embed.FS

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff