From 0cc2cc87ca472648e6cf81f4adb4fd55f024de21 Mon Sep 17 00:00:00 2001 From: teabyte Date: Thu, 11 Jan 2024 21:04:40 +0300 Subject: [PATCH] cleaning --- .github/workflows/main.yml | 2 +- components/Footer.tsx | 24 ------------- components/NavBar.tsx | 38 ++++++++++---------- fresh.gen.ts | 8 ----- routes/[paste].tsx | 2 +- routes/_404.tsx | 6 ++-- routes/_app.tsx | 1 - routes/api.tsx | 73 -------------------------------------- routes/api/[paste].ts | 22 ------------ routes/api/new.ts | 26 -------------- routes/api/raw/[paste].ts | 16 --------- 11 files changed, 24 insertions(+), 194 deletions(-) delete mode 100644 routes/api.tsx delete mode 100644 routes/api/[paste].ts delete mode 100644 routes/api/new.ts delete mode 100644 routes/api/raw/[paste].ts diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index fee3be5..cd9e9fb 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -29,5 +29,5 @@ jobs: - name: Upload to Deno Deploy uses: denoland/deployctl@v1 with: - project: "clear-cow-12" + project: "freshpaste" entrypoint: "./main.ts" diff --git a/components/Footer.tsx b/components/Footer.tsx index 3695398..eaa0cce 100644 --- a/components/Footer.tsx +++ b/components/Footer.tsx @@ -10,30 +10,6 @@ export default function Footer() { /> - ); } diff --git a/components/NavBar.tsx b/components/NavBar.tsx index 3999273..76f525c 100644 --- a/components/NavBar.tsx +++ b/components/NavBar.tsx @@ -1,24 +1,24 @@ +import IconBrandGithub from "https://deno.land/x/tabler_icons_tsx@0.0.5/tsx/brand-github.tsx"; + export default function NavBar() { return ( -