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:
parent
54eb54c939
commit
6c253c801d
@ -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
|
||||
|
||||
|
@ -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",
|
||||
|
@ -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
5994
pgk/icons/icons.go
5994
pgk/icons/icons.go
File diff suppressed because it is too large
Load Diff
Loading…
x
Reference in New Issue
Block a user