Skip to content

Commit 17a1b20

Browse files
committed
(fix) buy me a coffee
1 parent d91b736 commit 17a1b20

File tree

4 files changed

+20
-1
lines changed

4 files changed

+20
-1
lines changed

apps/www/app/(app)/page.tsx

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -51,6 +51,20 @@ export default function IndexPage() {
5151
GitHub
5252
</Link>
5353
</Button>
54+
<Link
55+
href="https://www.buymeacoffee.com/scriptkavi"
56+
target="_blank"
57+
>
58+
<Button variant="ghost" className="flex items-center space-x-2">
59+
<Image
60+
src="https://cdn.buymeacoffee.com/buttons/bmc-new-btn-logo.svg"
61+
alt="Buy me a chai"
62+
width={15}
63+
height={15}
64+
/>
65+
<span>Buy me a chai</span>
66+
</Button>
67+
</Link>
5468
</PageActions>
5569
<PageFrameworks>
5670
<div className="flex items-center space-x-2">

apps/www/app/layout.tsx

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
/* eslint-disable tailwindcss/classnames-order */
22
import "@/styles/globals.css"
33
import { Metadata, Viewport } from "next"
4+
import Script from "next/script"
45
import { AxiomWebVitals } from "next-axiom"
56

67
import { siteConfig } from "@/config/site"

apps/www/next.config.mjs

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,10 @@ const nextConfig = {
1515
protocol: "https",
1616
hostname: "images.unsplash.com",
1717
},
18+
{
19+
protocol: "https",
20+
hostname: "cdn.buymeacoffee.com",
21+
},
1822
],
1923
},
2024
redirects() {

apps/www/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
"scripts": {
77
"dev": "next dev -p 3003",
88
"build": "contentlayer build && pnpm build:registry && next build",
9-
"build:registry": "tsx --tsconfig ./tsconfig.scripts.json ./scripts/build-registry.mts && prettier --loglevel debug --write \"registry/**/*.{ts,tsx,mdx}\" --cache",
9+
"build:registry": "tsx --tsconfig ./tsconfig.scripts.json ./scripts/build-registry.mts && prettier --loglevel silent --write \"registry/**/*.{ts,tsx,mdx}\" --cache",
1010
"build:docs": "contentlayer build",
1111
"seed:tasks": "tsx --tsconfig ./tsconfig.scripts.json ./app/(app)/examples/tasks/data/seed.ts",
1212
"start": "next start -p 3001",

0 commit comments

Comments
 (0)