Skip to content

Commit

Permalink
meta data
Browse files Browse the repository at this point in the history
  • Loading branch information
TeaByte committed Jan 4, 2024
1 parent 4b90ed7 commit 41c19ef
Show file tree
Hide file tree
Showing 4 changed files with 19 additions and 12 deletions.
4 changes: 2 additions & 2 deletions fresh.gen.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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";
Expand All @@ -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,
},
Expand Down
1 change: 0 additions & 1 deletion routes/[paste].tsx
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,6 @@ export default function Greet(props: PageProps) {
<CopyButton content={props.data.paste.content} />
<a
href={`/api/raw/${props.data.id}`}
target="_blank"
class="px-2 py-1 border-gray-500 border-2 rounded bg-white hover:bg-gray-200 transition-colors"
>
Raw
Expand Down
19 changes: 16 additions & 3 deletions routes/_app.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,21 @@ export default function App({ Component }: PageProps) {
<head>
<meta charset="utf-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>FreshPaste</title>
<title>Fresh Paste</title>
<meta
name="description"
content="Effortless text sharing for quick collaboration. Share code snippets, notes, and more with simplicity and ease."
/>
<meta
name="keywords"
content="text sharing, collaboration, code snippets, notes, online platform, Fresh Paste"
/>
<meta name="robots" content="index, follow" />
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<meta name="language" content="English" />
<meta name="revisit-after" content="10 days" />
<meta name="author" content="TeaBytr" />

<link rel="stylesheet" href="/styles.css" />
<link rel="preconnect" href="https://fonts.googleapis.com" />
<link rel="preconnect" href="https://fonts.gstatic.com" />
Expand Down Expand Up @@ -44,8 +58,7 @@ export default function App({ Component }: PageProps) {
/>
</a>
<a
href="https://github.com/TeaByte"
class="animate-pulse"
href="https://github.com/TeaByte/FreshPaste"
target="_blank"
>
<svg
Expand Down
7 changes: 1 addition & 6 deletions routes/api.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -5,12 +5,7 @@ export default function API() {
return (
<>
<Head>
<script src={asset("prism.js")}></script>
<link
href={asset("prism.css")}
rel="stylesheet"
>
</link>
<title>Fresh Paste - API</title>
</Head>

<section class="mt-8">
Expand Down

0 comments on commit 41c19ef

Please sign in to comment.