File tree Expand file tree Collapse file tree 2 files changed +13
-11
lines changed Expand file tree Collapse file tree 2 files changed +13
-11
lines changed Original file line number Diff line number Diff line change 1
1
import { BsCollectionFill } from 'react-icons/bs'
2
- import { VscPreview , VscWand } from 'react-icons/co '
2
+ import { VscPreview } from 'react-icons/vsc '
3
3
import { Library } from '.'
4
4
import { FaGithub , FaBolt , FaCogs } from 'react-icons/fa'
5
5
import { BiBookAlt } from 'react-icons/bi'
@@ -27,19 +27,19 @@ export const dbProject = {
27
27
colorFrom : `from-orange-500` ,
28
28
colorTo : `to-orange-700` ,
29
29
textColor : `text-orange-700` ,
30
- frameworks : [ 'react' , 'solid ' ] ,
30
+ frameworks : [ 'react' , 'vue ' ] ,
31
31
scarfId : '302d0fef-cb3f-43c6-b45c-f055b9745edb' ,
32
32
defaultDocs : 'overview' ,
33
33
menu : [
34
- // {
35
- // icon: <VscPreview />,
36
- // label: 'Examples',
37
- // to: '/db/latest/docs/framework/react/examples/simple',
38
- // },
39
34
{
40
35
icon : < BiBookAlt /> ,
41
36
label : 'Docs' ,
42
- to : `https://github.com/${ repo } /blob/main/docs/index.md` ,
37
+ to : '/db/latest/docs' ,
38
+ } ,
39
+ {
40
+ icon : < VscPreview /> ,
41
+ label : 'Examples' ,
42
+ to : '/db/latest/docs/framework/react/examples/todo' ,
43
43
} ,
44
44
{
45
45
icon : < FaGithub /> ,
Original file line number Diff line number Diff line change @@ -61,7 +61,8 @@ export default function DBVersionIndex() {
61
61
and blazing fast 🔥
62
62
</ p >
63
63
< Link
64
- to = "https://github.com/tanstack/db"
64
+ to = "/$libraryId/$version/docs"
65
+ params = { { libraryId : library . id , version } }
65
66
className = { `py-2 px-4 bg-orange-500 rounded text-white uppercase font-extrabold` }
66
67
>
67
68
Coming soon »
@@ -173,8 +174,9 @@ export default function DBVersionIndex() {
173
174
</ div >
174
175
< div >
175
176
< Link
176
- to = "https://github.com/TanStack/db"
177
- className = { `inline-block py-2 px-4 bg-orange-500 rounded text-white uppercase font-extrabold` }
177
+ to = "/$libraryId/$version/docs"
178
+ params = { { libraryId : library . id , version } }
179
+ className = { `inline-block py-2 px-4 bg-stone-700 rounded text-white uppercase font-extrabold` }
178
180
>
179
181
Get Started!
180
182
</ Link >
You can’t perform that action at this time.
0 commit comments