diff --git a/src/app/layout.tsx b/src/app/layout.tsx index 42e829a..5952c30 100644 --- a/src/app/layout.tsx +++ b/src/app/layout.tsx @@ -3,6 +3,7 @@ import type { Metadata } from "next"; import { Geist, Geist_Mono } from "next/font/google"; import "./globals.css"; import { SiteHeader } from "@/components/site-header"; +import { SiteFooter } from "@/components/site-footer"; const geistSans = Geist({ variable: "--font-geist-sans", @@ -38,6 +39,7 @@ export default function RootLayout({ > {children} + diff --git a/src/app/page.tsx b/src/app/page.tsx index ec8a339..b37c56c 100644 --- a/src/app/page.tsx +++ b/src/app/page.tsx @@ -9,143 +9,123 @@ import { StarterPromptModal } from "@/components/starter-prompt-modal"; export default function Home() { const { isAuthReady, isAiReady, loading } = useDiagnostics(); return ( -
-
-
-
-

- Welcome to Your Next.js Boilerplate -

-

- A complete starter kit with authentication, database, AI - integration, and modern tooling -

-
- -
-
-

🔐 Authentication

-

- Better Auth with Google OAuth integration -

-
-
-

🗄️ Database

-

- Drizzle ORM with PostgreSQL setup -

-
-
-

🤖 AI Ready

-

- Vercel AI SDK with OpenAI integration -

-
-
-

🎨 UI Components

-

- shadcn/ui with Tailwind CSS -

-
-
- -
- - -

Next Steps

-
-
-

- 1. Set up environment variables -

-

- Copy .env.example to .env.local and - configure: -

-
    -
  • POSTGRES_URL (PostgreSQL connection string)
  • -
  • GOOGLE_CLIENT_ID (OAuth credentials)
  • -
  • GOOGLE_CLIENT_SECRET (OAuth credentials)
  • -
  • OPENAI_API_KEY (for AI functionality)
  • -
-
-
-

2. Set up your database

-

- Run database migrations: -

-
- - npm run db:generate - - - npm run db:migrate - -
-
-
-

3. Try the features

-
- {loading || !isAuthReady ? ( - - ) : ( - - )} - {loading || !isAiReady ? ( - - ) : ( - - )} -
-
-
-

4. Start building

-

- Customize the components, add your own pages, and build your - application on top of this solid foundation. -

- -
-
-
-
-
- -
-
-

Boilerplate template by Leon van Zyl

-

- Visit{" "} - - @leonvanzyl on YouTube - {" "} - for tutorials on using this template +

+
+
+

+ Welcome to Your Next.js Boilerplate +

+

+ A complete starter kit with authentication, database, AI + integration, and modern tooling

-
-
+ +
+
+

🔐 Authentication

+

+ Better Auth with Google OAuth integration +

+
+
+

🗄️ Database

+

+ Drizzle ORM with PostgreSQL setup +

+
+
+

🤖 AI Ready

+

+ Vercel AI SDK with OpenAI integration +

+
+
+

🎨 UI Components

+

+ shadcn/ui with Tailwind CSS +

+
+
+ +
+ + +

Next Steps

+
+
+

+ 1. Set up environment variables +

+

+ Copy .env.example to .env.local and + configure: +

+
    +
  • POSTGRES_URL (PostgreSQL connection string)
  • +
  • GOOGLE_CLIENT_ID (OAuth credentials)
  • +
  • GOOGLE_CLIENT_SECRET (OAuth credentials)
  • +
  • OPENAI_API_KEY (for AI functionality)
  • +
+
+
+

2. Set up your database

+

+ Run database migrations: +

+
+ + npm run db:generate + + + npm run db:migrate + +
+
+
+

3. Try the features

+
+ {loading || !isAuthReady ? ( + + ) : ( + + )} + {loading || !isAiReady ? ( + + ) : ( + + )} +
+
+
+

4. Start building

+

+ Customize the components, add your own pages, and build your + application on top of this solid foundation. +

+ +
+
+
+ + ); } diff --git a/src/components/site-footer.tsx b/src/components/site-footer.tsx new file mode 100644 index 0000000..09d852d --- /dev/null +++ b/src/components/site-footer.tsx @@ -0,0 +1,24 @@ +import { GitHubStars } from "./ui/github-stars"; + +export function SiteFooter() { + return ( + + ); +} diff --git a/src/components/site-header.tsx b/src/components/site-header.tsx index d1b1d65..927fe03 100644 --- a/src/components/site-header.tsx +++ b/src/components/site-header.tsx @@ -1,7 +1,6 @@ import Link from "next/link"; import { UserProfile } from "@/components/auth/user-profile"; import { ModeToggle } from "./ui/mode-toggle"; -import { GitHubStars } from "./ui/github-stars"; export function SiteHeader() { return ( @@ -17,7 +16,6 @@ export function SiteHeader() {
-