Skip to content

Commit

Permalink
Merge pull request #204 from cboard-org/add-examples
Browse files Browse the repository at this point in the history
Added more prompt examples
  • Loading branch information
martinbedouret authored Sep 6, 2024
2 parents 062fa55 + fa581bb commit 89e6583
Show file tree
Hide file tree
Showing 5 changed files with 36 additions and 4 deletions.
23 changes: 22 additions & 1 deletion src/app/[locale]/dashboard/[id]/@board/InitialContent.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ const promptExampleMessagesKey = [
{
description: 'promptExample2',
columns: 5,
rows: 4,
rows: 6,
colorScheme: 'fitzgerald',
shouldUsePictonizer: false,
},
Expand All @@ -35,6 +35,27 @@ const promptExampleMessagesKey = [
colorScheme: 'fitzgerald',
shouldUsePictonizer: false,
},
{
description: 'promptExample4',
columns: 5,
rows: 4,
colorScheme: 'fitzgerald',
shouldUsePictonizer: false,
},
{
description: 'promptExample5',
columns: 5,
rows: 5,
colorScheme: 'fitzgerald',
shouldUsePictonizer: false,
},
{
description: 'promptExample6',
columns: 5,
rows: 4,
colorScheme: 'fitzgerald',
shouldUsePictonizer: false,
},
] as const;

const PromptExamplesTextField = ({
Expand Down
2 changes: 2 additions & 0 deletions src/app/[locale]/dashboard/[id]/@board/styles.ts
Original file line number Diff line number Diff line change
Expand Up @@ -65,6 +65,8 @@ export default {
},
promptExamples: {
display: 'flex',
flexDirection: 'row',
flexWrap: 'wrap',
justifyContent: 'space-between',
gap: '1rem',
py: '1rem',
Expand Down
5 changes: 4 additions & 1 deletion src/intl/cbuilder.json
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,10 @@
"examples": "Examples",
"promptExample1": "Parts of the body",
"promptExample2": "Jungle animals",
"promptExample3": "Italian food"
"promptExample3": "Italian food",
"promptExample4": "Common actions",
"promptExample5": "My moods",
"promptExample6": "Hygiene activities"
},
"BoardContainer": {
"exportToCboard": "Export to Cboard"
Expand Down
5 changes: 4 additions & 1 deletion src/intl/dictionaries/en-US.json
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,10 @@
"examples": "Examples",
"promptExample1": "Parts of the body",
"promptExample2": "Jungle animals",
"promptExample3": "Italian food"
"promptExample3": "Italian food",
"promptExample4": "Common actions",
"promptExample5": "My moods",
"promptExample6": "Hygiene activities"
},
"BoardContainer": {
"exportToCboard": "Export to Cboard"
Expand Down
5 changes: 4 additions & 1 deletion src/intl/dictionaries/es-ES.json
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,10 @@
"examples": "Ejemplos",
"promptExample1": "Partes del cuerpo",
"promptExample2": "Animales de la selva",
"promptExample3": "Comida italiana"
"promptExample3": "Comida italiana",
"promptExample4": "Acciones comunes",
"promptExample5": "Estados de ánimo",
"promptExample6": "Actividades de higiene"
},
"BoardContainer": {
"exportToCboard": "Exportar a Cboard"
Expand Down

0 comments on commit 89e6583

Please sign in to comment.