diff --git a/fresh.gen.ts b/fresh.gen.ts index 56ab595..34517ce 100644 --- a/fresh.gen.ts +++ b/fresh.gen.ts @@ -4,26 +4,26 @@ import * as $0 from "./routes/_404.tsx"; import * as $1 from "./routes/_app.tsx"; -import * as $2 from "./routes/resources/api/index.ts"; -import * as $3 from "./routes/resources/api/recipes/[name].ts"; -import * as $4 from "./routes/resources/api/recipes/images/[image].ts"; -import * as $5 from "./routes/resources/api/recipes/index.ts"; -import * as $6 from "./routes/resources/index.tsx"; -import * as $7 from "./routes/resources/recipes/[name].tsx"; -import * as $8 from "./routes/resources/recipes/index.tsx"; +import * as $2 from "./routes/api/index.ts"; +import * as $3 from "./routes/api/recipes/[name].ts"; +import * as $4 from "./routes/api/recipes/images/[image].ts"; +import * as $5 from "./routes/api/recipes/index.ts"; +import * as $6 from "./routes/index.tsx"; +import * as $7 from "./routes/recipes/[name].tsx"; +import * as $8 from "./routes/recipes/index.tsx"; import * as $$0 from "./islands/Counter.tsx"; const manifest = { routes: { "./routes/_404.tsx": $0, "./routes/_app.tsx": $1, - "./routes/resources/api/index.ts": $2, - "./routes/resources/api/recipes/[name].ts": $3, - "./routes/resources/api/recipes/images/[image].ts": $4, - "./routes/resources/api/recipes/index.ts": $5, - "./routes/resources/index.tsx": $6, - "./routes/resources/recipes/[name].tsx": $7, - "./routes/resources/recipes/index.tsx": $8, + "./routes/api/index.ts": $2, + "./routes/api/recipes/[name].ts": $3, + "./routes/api/recipes/images/[image].ts": $4, + "./routes/api/recipes/index.ts": $5, + "./routes/index.tsx": $6, + "./routes/recipes/[name].tsx": $7, + "./routes/recipes/index.tsx": $8, }, islands: { "./islands/Counter.tsx": $$0, diff --git a/routes/resources/api/index.ts b/routes/api/index.ts similarity index 100% rename from routes/resources/api/index.ts rename to routes/api/index.ts diff --git a/routes/resources/api/recipes/[name].ts b/routes/api/recipes/[name].ts similarity index 100% rename from routes/resources/api/recipes/[name].ts rename to routes/api/recipes/[name].ts diff --git a/routes/resources/api/recipes/images/[image].ts b/routes/api/recipes/images/[image].ts similarity index 100% rename from routes/resources/api/recipes/images/[image].ts rename to routes/api/recipes/images/[image].ts diff --git a/routes/resources/api/recipes/index.ts b/routes/api/recipes/index.ts similarity index 100% rename from routes/resources/api/recipes/index.ts rename to routes/api/recipes/index.ts diff --git a/routes/resources/index.tsx b/routes/index.tsx similarity index 100% rename from routes/resources/index.tsx rename to routes/index.tsx diff --git a/routes/resources/recipes/[name].tsx b/routes/recipes/[name].tsx similarity index 100% rename from routes/resources/recipes/[name].tsx rename to routes/recipes/[name].tsx diff --git a/routes/resources/recipes/index.tsx b/routes/recipes/index.tsx similarity index 93% rename from routes/resources/recipes/index.tsx rename to routes/recipes/index.tsx index 909bd57..d09f759 100644 --- a/routes/resources/recipes/index.tsx +++ b/routes/recipes/index.tsx @@ -1,7 +1,6 @@ import { Handlers, PageProps } from "$fresh/server.ts"; import { RecipeCard } from "@components/RecipeCard.tsx"; import { MainLayout } from "@components/layouts/main.tsx"; -import type { Document } from "@lib/documents.ts"; import { Recipe } from "@lib/recipes.ts"; import { getRecipes } from "../api/recipes/index.ts";