Skip to content

Commit

Permalink
fix pages router
Browse files Browse the repository at this point in the history
  • Loading branch information
JOYBOY-0 committed Mar 25, 2024
1 parent 9868a9d commit cfb0105
Show file tree
Hide file tree
Showing 3 changed files with 52 additions and 7 deletions.
5 changes: 5 additions & 0 deletions .changeset/calm-fireants-poke.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"create-bsmnt-app": patch
---

fix missing file
7 changes: 0 additions & 7 deletions cli/template/extras/src/app/api/auth/[...nextauth]/route.ts

This file was deleted.

47 changes: 47 additions & 0 deletions cli/template/extras/src/pages/index/base.tsx
Original file line number Diff line number Diff line change
@@ -0,0 +1,47 @@
import Head from 'next/head'
import Link from 'next/link'

import styles from './index.module.css'

export default function Home() {
return (
<>
<Head>
<title>Create T3 App</title>
<meta name="description" content="Generated by create-t3-app" />
<link rel="icon" href="/favicon.ico" />
</Head>
<main className={styles.main}>
<div className={styles.container}>
<h1 className={styles.title}>
Create <span className={styles.pinkSpan}>T3</span> App
</h1>
<div className={styles.cardRow}>
<Link
className={styles.card}
href="https://create.t3.gg/en/usage/first-steps"
target="_blank"
>
<h3 className={styles.cardTitle}>First Steps →</h3>
<div className={styles.cardText}>
Just the basics - Everything you need to know to set up your
database and authentication.
</div>
</Link>
<Link
className={styles.card}
href="https://create.t3.gg/en/introduction"
target="_blank"
>
<h3 className={styles.cardTitle}>Documentation →</h3>
<div className={styles.cardText}>
Learn more about Create T3 App, the libraries it uses, and how
to deploy it.
</div>
</Link>
</div>
</div>
</main>
</>
)
}

0 comments on commit cfb0105

Please sign in to comment.