@@ -13,7 +13,7 @@ const nextConfig = {
|
||||
],
|
||||
i18n: {
|
||||
defaultLocale: 'en',
|
||||
locales: ['en', 'fr', 'pr'],
|
||||
locales: ['en', 'fr', 'pt'],
|
||||
},
|
||||
experimental: {
|
||||
outputFileTracingRoot: path.join(__dirname, '../../'),
|
||||
|
||||
@@ -12,5 +12,7 @@ export const UrlNodeContent = ({ placeholder, variableId }: Props) =>
|
||||
variableId ? (
|
||||
<WithVariableContent variableId={variableId} />
|
||||
) : (
|
||||
<Text color={'gray.500'}>{placeholder}</Text>
|
||||
<Text color={'gray.500'} w="90%">
|
||||
{placeholder}
|
||||
</Text>
|
||||
)
|
||||
|
||||
@@ -13,6 +13,7 @@ import {
|
||||
Box,
|
||||
Text,
|
||||
Image,
|
||||
useColorModeValue,
|
||||
} from '@chakra-ui/react'
|
||||
import { BackgroundType, ThemeTemplate } from '@typebot.io/schemas'
|
||||
import { useState } from 'react'
|
||||
@@ -33,6 +34,7 @@ export const ThemeTemplateCard = ({
|
||||
onClick: () => void
|
||||
onDeleteSuccess?: () => void
|
||||
}) => {
|
||||
const borderWidth = useColorModeValue(undefined, '1px')
|
||||
const [isDeleting, setIsDeleting] = useState(false)
|
||||
|
||||
const {
|
||||
@@ -62,6 +64,7 @@ export const ThemeTemplateCard = ({
|
||||
|
||||
return (
|
||||
<Stack
|
||||
borderWidth={borderWidth}
|
||||
cursor="pointer"
|
||||
onClick={onClick}
|
||||
spacing={0}
|
||||
|
||||
@@ -2722,8 +2722,7 @@
|
||||
"operationId": "query.theme.listThemeTemplates",
|
||||
"summary": "List theme templates",
|
||||
"tags": [
|
||||
"Workspace",
|
||||
"Theme"
|
||||
"Theme template"
|
||||
],
|
||||
"security": [
|
||||
{
|
||||
@@ -2952,8 +2951,7 @@
|
||||
"operationId": "mutation.theme.saveThemeTemplate",
|
||||
"summary": "Save theme template",
|
||||
"tags": [
|
||||
"Workspace",
|
||||
"Theme"
|
||||
"Theme template"
|
||||
],
|
||||
"security": [
|
||||
{
|
||||
@@ -3379,8 +3377,7 @@
|
||||
"operationId": "mutation.theme.deleteThemeTemplate",
|
||||
"summary": "Delete a theme template",
|
||||
"tags": [
|
||||
"Workspace",
|
||||
"Theme"
|
||||
"Theme template"
|
||||
],
|
||||
"security": [
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user