Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
16 changes: 8 additions & 8 deletions src/libraries/db.tsx
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import { BsCollectionFill } from 'react-icons/bs'
import { VscPreview, VscWand } from 'react-icons/co'
import { VscPreview } from 'react-icons/vsc'
import { Library } from '.'
import { FaGithub, FaBolt, FaCogs } from 'react-icons/fa'
import { BiBookAlt } from 'react-icons/bi'
Expand Down Expand Up @@ -27,19 +27,19 @@ export const dbProject = {
colorFrom: `from-orange-500`,
colorTo: `to-orange-700`,
textColor: `text-orange-700`,
frameworks: ['react', 'solid'],
frameworks: ['react', 'vue'],
scarfId: '302d0fef-cb3f-43c6-b45c-f055b9745edb',
defaultDocs: 'overview',
menu: [
// {
// icon: <VscPreview />,
// label: 'Examples',
// to: '/db/latest/docs/framework/react/examples/simple',
// },
{
icon: <BiBookAlt />,
label: 'Docs',
to: `https://github.com/${repo}/blob/main/docs/index.md`,
to: '/db/latest/docs',
},
{
icon: <VscPreview />,
label: 'Examples',
to: '/db/latest/docs/framework/react/examples/todo',
},
{
icon: <FaGithub />,
Expand Down
8 changes: 5 additions & 3 deletions src/routes/_libraries/db.$version.index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,8 @@ export default function DBVersionIndex() {
and&nbsp;blazing fast 🔥
</p>
<Link
to="https://github.com/tanstack/db"
to="/$libraryId/$version/docs"
params={{ libraryId: library.id, version }}
className={`py-2 px-4 bg-orange-500 rounded text-white uppercase font-extrabold`}
>
Coming soon &raquo;
Expand Down Expand Up @@ -173,8 +174,9 @@ export default function DBVersionIndex() {
</div>
<div>
<Link
to="https://github.com/TanStack/db"
className={`inline-block py-2 px-4 bg-orange-500 rounded text-white uppercase font-extrabold`}
to="/$libraryId/$version/docs"
params={{ libraryId: library.id, version }}
className={`inline-block py-2 px-4 bg-stone-700 rounded text-white uppercase font-extrabold`}
>
Get Started!
</Link>
Expand Down
Loading