Skip to content

Commit 75f4a2f

Browse files
venablesclaude
andcommitted
feat(home): show feature checklist on landing page
Replaces the generic "get started by editing..." instructions with a checklist of the stack features the starter provides, and points the primary CTA at the project's GitHub repo via siteConfig. Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
1 parent 56d0fae commit 75f4a2f

1 file changed

Lines changed: 24 additions & 10 deletions

File tree

src/routes/_main/index.tsx

Lines changed: 24 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,29 @@
11
import { useSuspenseQuery } from "@tanstack/react-query"
22
import { createFileRoute } from "@tanstack/react-router"
3+
import { CheckIcon } from "lucide-react"
34
import { Suspense } from "react"
45

56
import { Wordmark } from "@/components/brand/wordmark"
67
import { RefreshButton } from "@/components/refresh-button"
78
import { Button } from "@/components/ui/button"
9+
import { siteConfig } from "@/config/site-config"
810
import { serverTimeQueryOptions } from "@/lib/query-options/server-time-options"
911
import { usersCountQueryOptions } from "@/lib/query-options/users-count-options"
1012
import { seo } from "@/lib/seo"
1113

14+
const features = [
15+
"TanStack Start on React 19",
16+
"Cloudflare Workers + D1 SQLite",
17+
"Kysely query builder (type-safe SQL)",
18+
"Better-Auth with GitHub OAuth",
19+
"Tailwind CSS 4 + shadcn/ui on Base UI",
20+
"TanStack Query for data fetching",
21+
"OXC toolchain: OxLint + OxFmt",
22+
"Valibot-validated environment variables",
23+
"Bun package manager & test runner",
24+
"Strict TypeScript end-to-end"
25+
] as const
26+
1227
export const Route = createFileRoute("/_main/")({
1328
head: () => {
1429
return {
@@ -25,23 +40,22 @@ function RouteComponent() {
2540
<div className="flex flex-row items-center gap-2">
2641
<Wordmark className="h-11" />
2742
</div>
28-
<ol className="list-inside list-decimal text-left font-mono text-sm">
29-
<li className="mb-2">
30-
Get started by editing{" "}
31-
<code className="rounded bg-foreground/[.05] px-1 py-0.5 font-semibold">
32-
src/routes/_main/index.tsx
33-
</code>
34-
</li>
35-
<li>Save and see your changes instantly.</li>
36-
</ol>
43+
<ul className="flex flex-col gap-2 text-left text-sm">
44+
{features.map((feature) => (
45+
<li key={feature} className="flex items-start gap-2">
46+
<CheckIcon className="mt-0.5 size-4 shrink-0 text-primary" />
47+
<span>{feature}</span>
48+
</li>
49+
))}
50+
</ul>
3751

3852
<div className="flex flex-col items-center gap-4 sm:flex-row">
3953
<Button
4054
variant="secondary"
4155
render={
4256
// oxlint-disable-next-line jsx-a11y/anchor-has-content
4357
<a
44-
href="https://tanstack.com/router/latest/docs/framework/react/start/overview"
58+
href={siteConfig.links.github}
4559
rel="noopener noreferrer"
4660
target="_blank"
4761
/>

0 commit comments

Comments
 (0)