From 8a0ee33521c39cda1d337992d5e28e09d1f3c915 Mon Sep 17 00:00:00 2001 From: Kyren223 Date: Fri, 9 Oct 2026 18:00:00 +0300 Subject: Changes --- website.templ | 35 ++++++++++++++++++++++++++--------- 1 file changed, 26 insertions(+), 9 deletions(-) (limited to 'website.templ') diff --git a/website.templ b/website.templ index 53992f7..4a0471b 100644 --- a/website.templ +++ b/website.templ @@ -310,12 +310,12 @@ templ FlagshipProject(project Project, extra string) {
@project.Icon - { project.Title } + { project.Title } { project.Category } for _, tag := range project.Tags { { tag.Name } } - + for _, link := range project.Links { @IconLink(link.URL, link.Label, "") { @link.Icon @@ -325,7 +325,7 @@ templ FlagshipProject(project Project, extra string) {

{ project.Desc }

if len(flagship.Downloads) > 0 || flagship.Version != "" { -
+
if versionBeforeDownloads { @VersionTag(project) } @@ -349,7 +349,7 @@ templ FlagshipProject(project Project, extra string) { }
if flagship.Snippet != "" { -
+
example @CopyPre(flagship.Snippet, "text-[80%] leading-[normal]") { { flagship.Snippet } @@ -418,8 +418,13 @@ templ IconExternal(color string) { } templ IconKrypton() { - @Icon("text-[#00f1ff]") { - + @Icon("text-[#00f1ff] scale-150") { + + + + + + } // { "\uf192" } } @@ -430,15 +435,15 @@ templ ProjectItem(project Project, extra string) {
@project.Icon - { project.Title } + { project.Title } { project.Category } for _, tag := range project.Tags { { tag.Name } } // for _, tag := range project.Tags { - // { tag } + // { tag } // } - + for _, link := range project.Links { @IconLink(link.URL, link.Label, "") { @link.Icon @@ -652,6 +657,18 @@ templ IconJetbrains(color string) { } } +templ IconDocs(color string) { + @Icon(color) { + + } +} + +templ IconReleases(color string) { + @Icon(color) { + + } +} + func row(icon func(color string) templ.Component, color, label, value string) FetchRow { return FetchRow{Icon: icon(color), Color: color, Label: label, Value: value} } -- cgit v1.3.1