@newt-app/templates 0.2.2 → 0.3.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.js +26 -31
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -446,44 +446,38 @@ export default function Home() {
|
|
|
446
446
|
});
|
|
447
447
|
|
|
448
448
|
return (
|
|
449
|
-
<main className="max-w-lg mx-auto
|
|
450
|
-
<div className="border-b
|
|
451
|
-
<p className="font-mono">apps/web/page.tsx</p>
|
|
452
|
-
<p className="text-gray-400">Delete me to get started!</p>
|
|
449
|
+
<main className="max-w-lg mx-auto min-h-full px-4 py-8 space-y-4">
|
|
450
|
+
<div className="pb-4 border-b">
|
|
451
|
+
<p className="font-mono text-xs text-gray-400">apps/web/page.tsx</p>
|
|
452
|
+
<p className="text-sm text-gray-400">Delete me to get started!</p>
|
|
453
453
|
</div>
|
|
454
|
-
|
|
455
|
-
|
|
456
|
-
|
|
457
|
-
|
|
458
|
-
|
|
459
|
-
|
|
454
|
+
|
|
455
|
+
<div className="flex items-center gap-3 py-2">
|
|
456
|
+
<Logo className="w-10 h-auto text-foreground" />
|
|
457
|
+
<div>
|
|
458
|
+
<h1 className="text-4xl font-black tracking-tight"><%= projectName %></h1>
|
|
459
|
+
<p className="text-sm text-gray-400 tracking-widest uppercase">
|
|
460
|
+
Next + Nest = Newt \u{1F49C}
|
|
461
|
+
</p>
|
|
460
462
|
</div>
|
|
461
|
-
<p className="mt-2 text-sm text-gray-400 tracking-widest uppercase">
|
|
462
|
-
Next + Nest = Newt \u{1F49C}
|
|
463
|
-
</p>
|
|
464
|
-
<p className="text-gray-400">The perfect TypeScript monorepo setup</p>
|
|
465
463
|
</div>
|
|
466
|
-
|
|
467
|
-
|
|
468
|
-
|
|
469
|
-
</
|
|
470
|
-
<p className="
|
|
471
|
-
<p className="text-gray-400">Next.js rendering</p>
|
|
464
|
+
|
|
465
|
+
<div className="rounded-xl border p-6 space-y-1">
|
|
466
|
+
<p className="text-xs font-mono uppercase tracking-widest text-gray-400">next.js</p>
|
|
467
|
+
<p className="font-mono text-sm">apps/web/layout.tsx</p>
|
|
468
|
+
<p className="text-sm text-gray-400">Next.js rendering</p>
|
|
472
469
|
</div>
|
|
473
470
|
|
|
474
|
-
<div className="
|
|
475
|
-
<
|
|
476
|
-
|
|
477
|
-
</div>
|
|
478
|
-
<p className="font-mono">GET /api/hello</p>
|
|
471
|
+
<div className="rounded-xl border p-6 space-y-1">
|
|
472
|
+
<p className="text-xs font-mono uppercase tracking-widest text-gray-400">nest.js</p>
|
|
473
|
+
<p className="font-mono text-sm">GET /api/hello</p>
|
|
479
474
|
<pre className="mt-2 border rounded-md p-3 text-sm bg-neutral-800">
|
|
480
475
|
<code>{JSON.stringify(hello, null, 2)}</code>
|
|
481
476
|
</pre>
|
|
482
477
|
</div>
|
|
483
|
-
|
|
484
|
-
|
|
485
|
-
|
|
486
|
-
</div>
|
|
478
|
+
|
|
479
|
+
<div className="rounded-xl border p-6">
|
|
480
|
+
<p className="text-xs font-mono uppercase tracking-widest text-gray-400 mb-4">better-auth</p>
|
|
487
481
|
{isPending ? (
|
|
488
482
|
<p className="text-sm text-gray-400">Loading\u2026</p>
|
|
489
483
|
) : session ? (
|
|
@@ -492,8 +486,9 @@ export default function Home() {
|
|
|
492
486
|
<AuthForm />
|
|
493
487
|
)}
|
|
494
488
|
</div>
|
|
495
|
-
|
|
496
|
-
|
|
489
|
+
|
|
490
|
+
<div className="px-2 py-4 text-sm">
|
|
491
|
+
<p className="mb-2 text-gray-400">Learn more</p>
|
|
497
492
|
<ul className="list-disc list-inside space-y-2 mt-2">
|
|
498
493
|
<li>
|
|
499
494
|
<Link href="https://github.com">GitHub</Link>
|