From bd89715ea07cd2df708ba2809c1db159b385a19e Mon Sep 17 00:00:00 2001 From: mkelvers Date: Tue, 9 Jun 2026 19:09:10 +0200 Subject: [PATCH] chore: remove unused template files MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - delete dropdown.gohtml (unused — codebase uses directly) - delete footer.gohtml (never referenced) - update components/README.md to reflect actual files --- templates/components/README.md | 20 +++++++++----------- templates/components/dropdown.gohtml | 21 --------------------- templates/components/footer.gohtml | 16 ---------------- 3 files changed, 9 insertions(+), 48 deletions(-) delete mode 100644 templates/components/dropdown.gohtml delete mode 100644 templates/components/footer.gohtml diff --git a/templates/components/README.md b/templates/components/README.md index e945635..e62570a 100644 --- a/templates/components/README.md +++ b/templates/components/README.md @@ -4,17 +4,15 @@ Reusable Go template components. ## Available Templates -| Component | File | Purpose | -| ----------------- | -------------------------- | -------------------------------------------- | -| Anime Card | `anime_card.gohtml` | Poster card with hover reveal | -| Continue Watching | `continue_watching.gohtml` | Continue watching row | -| Dropdown | `dropdown.gohtml` | Dropdown wrapper (also uses ``) | -| Filter Bar | `filter_bar.gohtml` | Search + filters for browse | -| Header | `header.gohtml` | Sticky header with nav | -| Navigation | `navigation.gohtml` | Sidebar navigation | -| Video Player | `video_player.gohtml` | Episode video container | -| Watchlist Actions | `watchlist_actions.gohtml` | Add/remove watchlist button | -| Watch Order | `watch_order.gohtml` | Watch order queue | +| Component | File | Purpose | +| ----------------- | -------------------------- | ----------------------------- | +| Anime Card | `anime_card.gohtml` | Poster card with hover reveal | +| Continue Watching | `continue_watching.gohtml` | Continue watching row | +| Filter Bar | `filter_bar.gohtml` | Search + filters for browse | +| Navigation | `navigation.gohtml` | Sidebar navigation | +| Video Player | `video_player.gohtml` | Episode video container | +| Watchlist Actions | `watchlist_actions.gohtml` | Add/remove watchlist button | +| Watch Order | `watch_order.gohtml` | Watch order queue | ## Usage diff --git a/templates/components/dropdown.gohtml b/templates/components/dropdown.gohtml deleted file mode 100644 index 3b1420f..0000000 --- a/templates/components/dropdown.gohtml +++ /dev/null @@ -1,21 +0,0 @@ -{{define "dropdown"}} - -
- {{template "dropdown_trigger" .}} -
- - -
-{{end}} - -{{define "dropdown_trigger"}} - {{with .Trigger}}{{.}}{{end}} -{{end}} - -{{define "dropdown_children"}} - {{with .Children}}{{.}}{{end}} -{{end}} diff --git a/templates/components/footer.gohtml b/templates/components/footer.gohtml deleted file mode 100644 index df789fc..0000000 --- a/templates/components/footer.gohtml +++ /dev/null @@ -1,16 +0,0 @@ -{{define "footer"}} - -{{end}}