fix: break import cycle by moving Layout to shared package and fix import paths

This commit is contained in:
2026-04-20 16:59:55 +02:00
parent b57d689468
commit 8088ab7105
13 changed files with 60 additions and 48 deletions

View File

@@ -2,11 +2,11 @@ package anime
import (
"fmt"
"mal/web/templates"
"mal/web/shared/layout"
)
templ Pending(id int) {
@templates.Layout("mal - anime pending", true) {
@layout.Layout("mal - anime pending", true) {
<div class="grid items-start gap-5 xl:grid-cols-[minmax(0,1fr)_300px]">
<div class="grid min-w-0 gap-8">
<section>