create-dowel-app 0.7.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/LICENSE +21 -0
- package/dist/index.d.ts +18 -0
- package/dist/index.d.ts.map +1 -0
- package/dist/index.js +465 -0
- package/dist/index.js.map +1 -0
- package/package.json +66 -0
- package/templates/ai/src/app/app/agents/page.tsx +66 -0
- package/templates/ai/src/app/app/page.tsx +42 -0
- package/templates/ai/src/app/app/usage/page.tsx +58 -0
- package/templates/ai/src/app/page.tsx +25 -0
- package/templates/app-shell/src/app/app/layout.tsx +48 -0
- package/templates/app-shell/src/components/app-nav.tsx +41 -0
- package/templates/base/gitignore +16 -0
- package/templates/base/next.config.ts +5 -0
- package/templates/base/package.json +25 -0
- package/templates/base/postcss.config.mjs +5 -0
- package/templates/base/src/app/globals.css +1 -0
- package/templates/base/src/app/layout.tsx +22 -0
- package/templates/base/tsconfig.json +23 -0
- package/templates/saas/src/app/app/analytics/page.tsx +62 -0
- package/templates/saas/src/app/app/billing/page.tsx +36 -0
- package/templates/saas/src/app/app/page.tsx +69 -0
- package/templates/saas/src/app/app/settings/page.tsx +51 -0
- package/templates/saas/src/app/page.tsx +24 -0
- package/templates/starter/src/app/page.tsx +65 -0
|
@@ -0,0 +1,65 @@
|
|
|
1
|
+
import { Badge } from "@/components/ui/badge";
|
|
2
|
+
import { Button } from "@/components/ui/button";
|
|
3
|
+
import {
|
|
4
|
+
Card,
|
|
5
|
+
CardContent,
|
|
6
|
+
CardDescription,
|
|
7
|
+
CardHeader,
|
|
8
|
+
CardTitle,
|
|
9
|
+
} from "@/components/ui/card";
|
|
10
|
+
|
|
11
|
+
const NEXT_STEPS = [
|
|
12
|
+
{
|
|
13
|
+
title: "Add a component",
|
|
14
|
+
description: "npx __CLI_PACKAGE__ add dialog — it lands in src/components/ui as your file.",
|
|
15
|
+
},
|
|
16
|
+
{
|
|
17
|
+
title: "Change the theme",
|
|
18
|
+
description:
|
|
19
|
+
"Swap data-theme on <html> in layout.tsx. Seven presets ship, all AA in both modes.",
|
|
20
|
+
},
|
|
21
|
+
{
|
|
22
|
+
title: "Teach your agent",
|
|
23
|
+
description:
|
|
24
|
+
"npx __CLI_PACKAGE__ agents writes the catalogue for Claude, Cursor and the rest.",
|
|
25
|
+
},
|
|
26
|
+
];
|
|
27
|
+
|
|
28
|
+
export default function Home() {
|
|
29
|
+
return (
|
|
30
|
+
<main className="mx-auto flex min-h-dvh max-w-3xl flex-col justify-center gap-8 px-6 py-16">
|
|
31
|
+
<div>
|
|
32
|
+
<Badge variant="secondary">__LIBRARY_NAME__</Badge>
|
|
33
|
+
<h1 className="mt-4 text-3xl font-semibold tracking-tight text-balance">
|
|
34
|
+
__PROJECT_NAME__
|
|
35
|
+
</h1>
|
|
36
|
+
<p className="mt-3 text-pretty text-muted-foreground">
|
|
37
|
+
The components below are files in this repository, not a dependency. Open{" "}
|
|
38
|
+
<code className="rounded bg-muted px-1 py-0.5 text-sm">
|
|
39
|
+
src/components/ui/button.tsx
|
|
40
|
+
</code>{" "}
|
|
41
|
+
and change something — it is yours.
|
|
42
|
+
</p>
|
|
43
|
+
</div>
|
|
44
|
+
|
|
45
|
+
<div className="flex flex-wrap gap-3">
|
|
46
|
+
<Button>Get started</Button>
|
|
47
|
+
<Button variant="outline" asChild>
|
|
48
|
+
<a href="__DOCS_URL__">Documentation</a>
|
|
49
|
+
</Button>
|
|
50
|
+
</div>
|
|
51
|
+
|
|
52
|
+
<div className="grid gap-4 sm:grid-cols-3">
|
|
53
|
+
{NEXT_STEPS.map((step) => (
|
|
54
|
+
<Card key={step.title}>
|
|
55
|
+
<CardHeader>
|
|
56
|
+
<CardTitle className="text-base">{step.title}</CardTitle>
|
|
57
|
+
<CardDescription>{step.description}</CardDescription>
|
|
58
|
+
</CardHeader>
|
|
59
|
+
<CardContent />
|
|
60
|
+
</Card>
|
|
61
|
+
))}
|
|
62
|
+
</div>
|
|
63
|
+
</main>
|
|
64
|
+
);
|
|
65
|
+
}
|