From 41c19ef538dd6d564829f553cc1c51fceffd1314 Mon Sep 17 00:00:00 2001 From: teabyte Date: Thu, 4 Jan 2024 14:10:37 +0300 Subject: [PATCH] meta data --- fresh.gen.ts | 4 ++-- routes/[paste].tsx | 1 - routes/_app.tsx | 19 ++++++++++++++++--- routes/api.tsx | 7 +------ 4 files changed, 19 insertions(+), 12 deletions(-) diff --git a/fresh.gen.ts b/fresh.gen.ts index 93166f2..7e70a2a 100644 --- a/fresh.gen.ts +++ b/fresh.gen.ts @@ -7,7 +7,7 @@ import * as $_404 from "./routes/_404.tsx"; import * as $_app from "./routes/_app.tsx"; import * as $api from "./routes/api.tsx"; import * as $api_paste_ from "./routes/api/[paste].ts"; -import * as $api_new_paste_ from "./routes/api/new.ts"; +import * as $api_new from "./routes/api/new.ts"; import * as $api_raw_paste_ from "./routes/api/raw/[paste].ts"; import * as $index from "./routes/index.tsx"; import * as $CopyButton from "./islands/CopyButton.tsx"; @@ -20,7 +20,7 @@ const manifest = { "./routes/_app.tsx": $_app, "./routes/api.tsx": $api, "./routes/api/[paste].ts": $api_paste_, - "./routes/api/new.ts": $api_new_paste_, + "./routes/api/new.ts": $api_new, "./routes/api/raw/[paste].ts": $api_raw_paste_, "./routes/index.tsx": $index, }, diff --git a/routes/[paste].tsx b/routes/[paste].tsx index 06b81bb..efc49e8 100644 --- a/routes/[paste].tsx +++ b/routes/[paste].tsx @@ -33,7 +33,6 @@ export default function Greet(props: PageProps) { Raw diff --git a/routes/_app.tsx b/routes/_app.tsx index 9fd8fd5..948b763 100644 --- a/routes/_app.tsx +++ b/routes/_app.tsx @@ -5,7 +5,21 @@ export default function App({ Component }: PageProps) { - FreshPaste + Fresh Paste + + + + + + + + @@ -44,8 +58,7 @@ export default function App({ Component }: PageProps) { /> - - - + Fresh Paste - API