Loading examples/next-integration/README.md +1 −1 Original line number Diff line number Diff line Loading @@ -18,7 +18,7 @@ 3. Start the server: ```sh pnpm dev && pnpx @fedify/cli tunnel 3000 pnpm dev & pnpx @fedify/cli tunnel 3000 ``` 4. Open your browser tunneled URL and start interacting with the app. Loading examples/next-integration/app/.well-known/[[...catchAll]]/route.tsdeleted 100644 → 0 +0 −9 Original line number Diff line number Diff line import { fedifyRequestHandler } from "~/shared/integrate-fedify"; export { fedifyRequestHandler as DELETE, fedifyRequestHandler as GET, fedifyRequestHandler as PATCH, fedifyRequestHandler as POST, fedifyRequestHandler as PUT, }; examples/next-integration/app/fedify-activity-handler/[[...catchAll]]/route.tsdeleted 100644 → 0 +0 −9 Original line number Diff line number Diff line import { fedifyRequestHandler } from "~/shared/integrate-fedify"; export { fedifyRequestHandler as DELETE, fedifyRequestHandler as GET, fedifyRequestHandler as PATCH, fedifyRequestHandler as POST, fedifyRequestHandler as PUT, }; examples/next-integration/app/globals.css +3 −8 Original line number Diff line number Diff line @import "tailwindcss"; @tailwind base; @tailwind components; @tailwind utilities; :root { --background: #ffffff; --foreground: #171717; } @theme inline { --color-background: var(--background); --color-foreground: var(--foreground); --font-sans: var(--font-geist-sans); --font-mono: var(--font-geist-mono); } @media (prefers-color-scheme: dark) { :root { --background: #0a0a0a; Loading examples/next-integration/app/layout.tsx +1 −16 Original line number Diff line number Diff line import type { Metadata } from "next"; import { Geist, Geist_Mono } from "next/font/google"; import "./globals.css"; const geistSans = Geist({ variable: "--font-geist-sans", subsets: ["latin"], }); const geistMono = Geist_Mono({ variable: "--font-geist-mono", subsets: ["latin"], }); export const metadata: Metadata = { title: "Fedify Next.js App Router Example", description: "A demo of Fedify with Next.js App Router", Loading @@ -24,11 +13,7 @@ export default function RootLayout({ }>) { return ( <html lang="en"> <body className={`${geistSans.variable} ${geistMono.variable} antialiased`} > {children} </body> <body className={`antialiased`}>{children}</body> </html> ); } Loading
examples/next-integration/README.md +1 −1 Original line number Diff line number Diff line Loading @@ -18,7 +18,7 @@ 3. Start the server: ```sh pnpm dev && pnpx @fedify/cli tunnel 3000 pnpm dev & pnpx @fedify/cli tunnel 3000 ``` 4. Open your browser tunneled URL and start interacting with the app. Loading
examples/next-integration/app/.well-known/[[...catchAll]]/route.tsdeleted 100644 → 0 +0 −9 Original line number Diff line number Diff line import { fedifyRequestHandler } from "~/shared/integrate-fedify"; export { fedifyRequestHandler as DELETE, fedifyRequestHandler as GET, fedifyRequestHandler as PATCH, fedifyRequestHandler as POST, fedifyRequestHandler as PUT, };
examples/next-integration/app/fedify-activity-handler/[[...catchAll]]/route.tsdeleted 100644 → 0 +0 −9 Original line number Diff line number Diff line import { fedifyRequestHandler } from "~/shared/integrate-fedify"; export { fedifyRequestHandler as DELETE, fedifyRequestHandler as GET, fedifyRequestHandler as PATCH, fedifyRequestHandler as POST, fedifyRequestHandler as PUT, };
examples/next-integration/app/globals.css +3 −8 Original line number Diff line number Diff line @import "tailwindcss"; @tailwind base; @tailwind components; @tailwind utilities; :root { --background: #ffffff; --foreground: #171717; } @theme inline { --color-background: var(--background); --color-foreground: var(--foreground); --font-sans: var(--font-geist-sans); --font-mono: var(--font-geist-mono); } @media (prefers-color-scheme: dark) { :root { --background: #0a0a0a; Loading
examples/next-integration/app/layout.tsx +1 −16 Original line number Diff line number Diff line import type { Metadata } from "next"; import { Geist, Geist_Mono } from "next/font/google"; import "./globals.css"; const geistSans = Geist({ variable: "--font-geist-sans", subsets: ["latin"], }); const geistMono = Geist_Mono({ variable: "--font-geist-mono", subsets: ["latin"], }); export const metadata: Metadata = { title: "Fedify Next.js App Router Example", description: "A demo of Fedify with Next.js App Router", Loading @@ -24,11 +13,7 @@ export default function RootLayout({ }>) { return ( <html lang="en"> <body className={`${geistSans.variable} ${geistMono.variable} antialiased`} > {children} </body> <body className={`antialiased`}>{children}</body> </html> ); }