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

@@ -1,11 +1,12 @@
package templates
import "mal/internal/jikan"
import "mal/internal/shared/ui"
import "mal/integrations/jikan"
import "mal/web/components"
import "fmt"
import "mal/web/shared/layout"
templ Discover() {
@Layout("mal - discover", true) {
@layout.Layout("mal - discover", true) {
<div class="grid gap-4">
<div class="grid gap-4">
<h1>Discover</h1>