Skip to content

Commit

Permalink
Show MariaDB logo in list of databases
Browse files Browse the repository at this point in the history
For new users learning about Prisma it is unclear if Prisma properly
supports MariaDB or not. Mentioning MariaDB explicitly makes it easy
for users to find that Prisma does indeed support MariaDB.
  • Loading branch information
ottok committed Mar 14, 2024
1 parent b9df7af commit d59769f
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/components/shortcodes/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,7 @@ import {
Tab,
} from './gettingstarted'
import PostgresSQLSimple from '../../icons/technologies/PostgresSQLSimple'
import MariaDBDark from '../../icons/technologies/MariaDBDark'
import MySQLSimple from '../../icons/technologies/MySQLSimple'
import SQLServer from '../../icons/technologies/SQLServer'
import PlanetScale from '../../icons/technologies/PlanetScale'
Expand Down Expand Up @@ -93,6 +94,7 @@ const shortcodes = {
Tab,
SquareLogo,
PostgresSQLSimple,
MariaDBDark,
MySQLSimple,
SQLServer,
PlanetScale,
Expand Down
3 changes: 3 additions & 0 deletions src/components/techSwitcher.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@ import styled from 'styled-components'
import { Typescript } from '../icons/technologies/Typescript'
import SelectComponent from './select'
import PostgreSQL from '../icons/technologies/PostgreSQL'
import MariaDB from '../icons/technologies/MariaDB'
import MySQL from '../icons/technologies/MySQL'
import SQLite from '../icons/technologies/SQLite'
import MongoDB from '../icons/technologies/MongoDB'
Expand All @@ -27,6 +28,7 @@ interface TechItem {
const icons = {
node: <JS />,
typescript: <Typescript />,
mariadb: <MariaDB />,
mysql: <MySQL />,
postgresql: <PostgreSQL />,
sqlite: <SQLite />,
Expand All @@ -52,6 +54,7 @@ const technologyTypes = {
export const technologyNames = {
node: 'JavaScript',
typescript: 'TypeScript',
mariadb: 'MariaDB',
mysql: 'MySQL',
postgresql: 'PostgreSQL',
sqlite: 'SQLite',
Expand Down

0 comments on commit d59769f

Please sign in to comment.