forked from TanStack/tanstack.com
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathstart.tsx
More file actions
151 lines (148 loc) · 4.96 KB
/
Copy pathstart.tsx
File metadata and controls
151 lines (148 loc) · 4.96 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
import { FaGithub, FaYinYang } from 'react-icons/fa'
import { Library } from '.'
import { VscPreview } from 'react-icons/vsc'
import { BiBookAlt } from 'react-icons/bi'
import { PiRocketLaunchDuotone, PiTreeStructureBold } from 'react-icons/pi'
import { TbServerBolt } from 'react-icons/tb'
import { twMerge } from 'tailwind-merge'
const repo = 'tanstack/router'
const textStyles = 'text-cyan-600 dark:text-cyan-500'
export const startProject = {
id: 'start',
name: 'TanStack Start',
cardStyles: `shadow-xl shadow-cyan-500/20 dark:shadow-lg dark:shadow-cyan-500/30 text-cyan-500 dark:text-white-400 border-2 border-transparent hover:border-current`,
to: '/start',
tagline: `Full-stack React Framework powered by TanStack Router`,
description: `Full-document SSR, Streaming, Server Functions, bundling and more, powered by TanStack Router and Vite - Ready to deploy to your favorite hosting provider.`,
bgStyle: 'bg-cyan-500',
textStyle: 'text-cyan-500',
badge: 'beta',
repo,
latestBranch: 'main',
latestVersion: 'v0',
availableVersions: ['v0'],
docsRoot: 'docs/start',
colorFrom: 'from-teal-500',
colorTo: 'to-cyan-500',
textColor: 'text-cyan-600',
embedEditor: 'codesandbox',
frameworks: ['react', 'solid'],
scarfId: 'b6e2134f-e805-401d-95c3-2a7765d49a3d',
showNetlifyUrl: true,
menu: [
{
icon: <VscPreview />,
label: 'Examples',
to: '/start/latest/docs/framework/react/examples/start-basic',
},
{
icon: <BiBookAlt />,
label: 'Docs',
to: '/start/latest/docs/framework/react/overview',
},
{
icon: <FaGithub />,
label: 'GitHub',
to: `https://github.com/${repo}`,
},
],
featureHighlights: [
{
title: 'Enterprise-Grade Routing',
icon: (
<PiTreeStructureBold
className={twMerge('motion-safe:animate-pulse', textStyles)}
style={{
animationDuration: '5s',
animationTimingFunction: 'ease-in-out',
}}
/>
),
description: (
<div>
Built on TanStack Router, Start comes pre-packed with a{' '}
<span className={twMerge('font-semibold', textStyles)}>
fully type-safe and powerfully-unmatched routing system
</span>{' '}
that is designed to handle the beefiest of full-stack routing
requirements with ease. Start builds on top of Router's fully inferred
type safety to also provide type-safe full-stack APIs that keep you in
the fast lane.
</div>
),
},
{
title: 'SSR, Streaming and Server RPCs',
icon: (
<TbServerBolt
className={twMerge('motion-safe:animate-ping', textStyles)}
style={{
animationDuration: '2s',
animationTimingFunction: 'ease-out',
}}
/>
),
description: (
<div>
Who said rich and interactive applications can't have it all? TanStack
Start includes powerful capabilities for{' '}
<span className={twMerge('font-semibold', textStyles)}>
full-document SSR, streaming, server functions and RPCs
</span>
. No more choosing between server-side rendering and top-class
client-side interactivity. Command the server as you see fit.
</div>
),
},
{
title: 'Client-Side First, 100% Server Capable',
icon: (
<FaYinYang
className={twMerge('motion-safe:animate-spin', textStyles)}
style={{
animationDuration: '10s',
animationTimingFunction: 'ease-in-out',
}}
/>
),
description: (
<div>
While other frameworks continue to compromise on the client-side
application experience we've cultivated as a front-end community over
the years, TanStack Start stays true to the{' '}
<span className={twMerge('font-semibold', textStyles)}>
client-side first developer experience,
</span>{' '}
while providing a{' '}
<span className={twMerge('font-semibold', textStyles)}>
full-featured server-side capable system
</span>{' '}
that won't make you compromise on user experience.
</div>
),
},
{
title: 'Deploy Anywhere',
icon: (
<PiRocketLaunchDuotone
className={twMerge('motion-safe:animate-bounce', textStyles)}
style={{
animationDuration: '2.5s',
animationTimingFunction: 'ease-in-out',
}}
/>
),
description: (
<div>
TanStack Start can be{' '}
<span className={twMerge('font-semibold', textStyles)}>
deployed anywhere JS can run
</span>
. Whether you're hosting on a traditional server, a serverless
platform, or even a CDN, Start seamlessly builds, bundles and deploys
your application with ease.
</div>
),
},
],
} satisfies Library