File tree Expand file tree Collapse file tree 2 files changed +29
-5
lines changed Expand file tree Collapse file tree 2 files changed +29
-5
lines changed Original file line number Diff line number Diff line change @@ -167,15 +167,13 @@ export default function Home(): React.JSX.Element {
167
167
168
168
< div className = "flex items-center justify-center gap-3 mt-10 md:justify-start [&>a]:text-white [&>a]:hover:text-white" >
169
169
< Link
170
- to = "/docs/v0/guide/installation"
171
- // to="/docs/guide/getting-started/introduction"
170
+ to = "/docs/guide/getting-started/introduction"
172
171
className = "font-semibold bg-gradient-to-r from-[#b079fc] to-[#9a60f7] hover:from-[#9a60f7] hover:to-[#7e33f6] py-2 px-4 rounded-full shadow-lg hover:shadow-xl transform hover:scale-105 transition-all duration-300"
173
172
>
174
173
Guide
175
174
</ Link >
176
175
< Link
177
- to = "/docs/v0/api-reference/classes/ButtonKit"
178
- // to="/docs/api-reference/commandkit"
176
+ to = "/docs/api-reference/commandkit/"
179
177
className = "font-semibold bg-gradient-to-r from-blue-500 to-blue-600 hover:from-blue-600 hover:to-blue-700 py-2 px-4 rounded-full shadow-lg hover:shadow-xl transform hover:scale-105 transition-all duration-300"
180
178
>
181
179
API < span className = "hidden md:inline" > Reference</ span >
Original file line number Diff line number Diff line change @@ -112,7 +112,33 @@ export default function DocVersionBannerWrapper(
112
112
) ;
113
113
}
114
114
115
- case '0.1.10' :
115
+ case '0.1.10' : {
116
+ return (
117
+ < div
118
+ className = { clsx (
119
+ ThemeClassNames . docs . docVersionBanner ,
120
+ 'alert alert--warning margin-bottom--md space-y-2' ,
121
+ ) }
122
+ role = "warning"
123
+ >
124
+ < p >
125
+ You are looking at documentation for CommandKit version{ ' ' }
126
+ < strong > 0.1.10</ strong > which is no longer actively maintained. We
127
+ highly recommend you to upgrade to CommandKit v1.
128
+ </ p >
129
+ < ul className = "list-inside list-disc" >
130
+ < li >
131
+ To go to the v1 documentation,{ ' ' }
132
+ < Link href = "/docs/guide/getting-started/introduction" >
133
+ click here
134
+ </ Link >
135
+ .
136
+ </ li >
137
+ </ ul >
138
+ </ div >
139
+ ) ;
140
+ }
141
+
116
142
default : {
117
143
return < DocVersionBanner { ...props } /> ;
118
144
}
You can’t perform that action at this time.
0 commit comments