Skip to content

Commit

Permalink
fix image path for tech switcher
Browse files Browse the repository at this point in the history
  • Loading branch information
carlagn committed Apr 1, 2024
1 parent df287a7 commit 709aacd
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 10 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,6 @@ langSwitcher: ['typescript', 'node']
dbSwitcher: ['mongodb']
sidebar_custom_props: { badge: '15 min' }
sidebar_class_name: hidden-sidebar
sidebar_custom_props: { badge: '15 min' }
---

<TopBlock
Expand Down
18 changes: 9 additions & 9 deletions src/components/shortcodes/techSwitcher.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -28,15 +28,15 @@ interface TechItem {
}

const icons = {
node: `/img/technologies/nodejs.svg`, //<JS />,
typescript: `/img/technologies/typescript.svg`, //<Typescript />,
mysql: `/img/technologies/mysql.svg`, //<MySQL />,
postgresql: `/img/technologies/postgresql.svg`, //<PostgreSQL />,
sqlite: `/img/technologies/sqlite.svg`, //<SQLite />,
mongodb: `/img/technologies/mongodb.svg`, //<MongoDB />,
sqlserver: `/img/technologies/sqlserver.svg`, //<SQLServer />,
planetscale: `/img/technologies/planetscale.svg`, //<PlanetScale />,
cockroachdb: `/img/technologies/cockroachdb.svg`, //<CockroachDB />,
node: `/docs/img/technologies/nodejs.svg`, //<JS />,
typescript: `/docs/img/technologies/typescript.svg`, //<Typescript />,
mysql: `/docs/img/technologies/mysql.svg`, //<MySQL />,
postgresql: `/docs/img/technologies/postgresql.svg`, //<PostgreSQL />,
sqlite: `/docs/img/technologies/sqlite.svg`, //<SQLite />,
mongodb: `/docs/img/technologies/mongodb.svg`, //<MongoDB />,
sqlserver: `/docs/img/technologies/sqlserver.svg`, //<SQLServer />,
planetscale: `/docs/img/technologies/planetscale.svg`, //<PlanetScale />,
cockroachdb: `/docs/img/technologies/cockroachdb.svg`, //<CockroachDB />,
}

const technologyTypes = {
Expand Down

0 comments on commit 709aacd

Please sign in to comment.