From e260baba8ff9b9764309d0c79ec4b815075b6612 Mon Sep 17 00:00:00 2001 From: juancwu <46619361+juancwu@users.noreply.github.com> Date: Sun, 11 Jan 2026 22:22:13 -0500 Subject: [PATCH] update links --- Taskfile.yml | 2 +- cmd/server/main.go | 2 +- data/data.go | 32 ++++++++++++++++++++++++++------ views/index.templ | 15 +++++++++++---- 4 files changed, 39 insertions(+), 12 deletions(-) diff --git a/Taskfile.yml b/Taskfile.yml index 7be3ed1..7bf8247 100644 --- a/Taskfile.yml +++ b/Taskfile.yml @@ -26,7 +26,7 @@ tasks: templ: desc: Run templ with integrated server and hot reload cmds: - - go tool templ generate --watch --cmd="go run ./cmd/server/main.go" --proxy="http://localhost:9000" --open-browser=false + - go tool templ generate --watch --cmd="go run ./cmd/server/main.go" --proxy="http://localhost:8080" --open-browser=false tailwind-clean: desc: Clean tailwind output cmds: diff --git a/cmd/server/main.go b/cmd/server/main.go index 6d9f399..70b4446 100644 --- a/cmd/server/main.go +++ b/cmd/server/main.go @@ -22,7 +22,7 @@ func main() { component.Render(r.Context(), w) }) - log.Println("Dev server starting on :8080 (Proxy to :9000 via Templ)") + log.Println("Dev server starting on :8080 (Proxy to :7331 via Templ)") if err := http.ListenAndServe(":8080", nil); err != nil { log.Fatal(err) } diff --git a/data/data.go b/data/data.go index d0021df..8a2b253 100644 --- a/data/data.go +++ b/data/data.go @@ -22,6 +22,26 @@ type Page struct { func GetPageData() Page { return Page{ Projects: []Project{ + { + Name: "Ccretdns", + URL: "", + Description: "DNS tool to resolve private domain names and public domains using upstream servers.", + Repo: "https://git.juancwu.dev/juancwu/ccretdns", + Classes: "border-red-400", + TechList: []Tech{ + {TechName: "Go", TechURL: "https://go.dev/", TechClasses: ""}, + }, + }, + { + Name: "Gosh", + URL: "", + Description: "Context-aware, just-in-time SSH agent wrapper.", + Repo: "https://git.juancwu.dev/juancwu/gosh", + Classes: "border-green-400", + TechList: []Tech{ + {TechName: "Go", TechURL: "https://go.dev/", TechClasses: ""}, + }, + }, { Name: "Budgit", URL: "", @@ -77,9 +97,9 @@ func GetPageData() Page { Repo: "https://github.com/juancwu/shoto", Classes: "border-indigo-500", TechList: []Tech{ - {TechName: "Next.js", TechURL: "https://nextjs.org/", TechClasses: "transition bg-zinc-950 text-zinc-100 hover:bg-zinc-100 hover:text-gray-950"}, - {TechName: "Drizzle ORM", TechURL: "https://orm.drizzle.team/", TechClasses: "transition bg-zinc-950 text-zinc-100 hover:bg-green-600"}, - {TechName: "Turso", TechURL: "https://turso.tech/", TechClasses: "transition bg-zinc-950 text-zinc-100 hover:bg-teal-600"}, + {TechName: "Next.js", TechURL: "https://nextjs.org/", TechClasses: ""}, + {TechName: "Drizzle ORM", TechURL: "https://orm.drizzle.team/", TechClasses: ""}, + {TechName: "Turso", TechURL: "https://turso.tech/", TechClasses: ""}, }, }, { @@ -89,9 +109,9 @@ func GetPageData() Page { Repo: "https://github.com/juancwu/potoforio", Classes: "border-gray-600", TechList: []Tech{ - {TechName: "Golang", TechURL: "https://go.dev/", TechClasses: "bg-zinc-950 text-zinc-100"}, - {TechName: "HTMX", TechURL: "https://htmx.org/", TechClasses: "bg-zinc-950 text-zinc-100"}, - {TechName: "Hyperscript", TechURL: "https://hyperscript.org/", TechClasses: "bg-zinc-950 text-zinc-100"}, + {TechName: "Golang", TechURL: "https://go.dev/", TechClasses: ""}, + {TechName: "HTMX", TechURL: "https://htmx.org/", TechClasses: ""}, + {TechName: "Hyperscript", TechURL: "https://hyperscript.org/", TechClasses: ""}, }, }, }, diff --git a/views/index.templ b/views/index.templ index 21c0ff2..51dc3d2 100644 --- a/views/index.templ +++ b/views/index.templ @@ -83,6 +83,14 @@ templ Index(d data.Page) {
  • LinkedIn
  • + +
  • + Forgejo +
  • @@ -136,8 +144,8 @@ templ Index(d data.Page) { Project Backyard - - Checkout my GitHub for more projects! + + Checkout my Forgejo for more projects! @@ -175,8 +183,7 @@ templ Index(d data.Page) {

    { p.Description }

    - Checkout the code in - GitHub + View repository

    } -- 2.43.0