diff --git a/assets/images/colorful_background.jpg b/assets/images/colorful_background.jpg new file mode 100644 index 00000000..f1ab199a Binary files /dev/null and b/assets/images/colorful_background.jpg differ diff --git a/screens/ChatSessionScreen.js b/screens/ChatSessionScreen.js index 6f2d3b91..94051599 100644 --- a/screens/ChatSessionScreen.js +++ b/screens/ChatSessionScreen.js @@ -5,10 +5,11 @@ import { TouchableOpacity, View, TextInput, - Button, ActivityIndicator, - Text + Text, + ImageBackground } from 'react-native'; +import Colors from '../constants/Colors'; import React, { useState, useEffect, useRef } from 'react'; import { material } from 'react-native-typography'; import { logEvent } from '../libs/Helpers'; @@ -17,9 +18,11 @@ import ChatCard from '../components/ChatCard'; import LoginScreen from './LoginScreen'; import useUserData from '../Hooks/getUserData'; +const bgImage = require('../assets/images/colorful_background.jpg'); + const ExamplePhrase = ({ phrase, onPress }) => ( onPress(phrase)}> - Example: {phrase} + {phrase} ); @@ -105,80 +108,90 @@ const ChatSessionScreen = (props) => { return ( - {isCreatingSession ? ( - - - Creating chat session... - - ) : ( - <> - - {messages.length === 0 ? ( - - - Welcome to HueHive AI! Start a conversation by sending a message. - - - - - - - + + + {isCreatingSession ? ( + + + Creating chat session... + + ) : ( + <> + + {messages.length === 0 ? ( + + + Welcome to HueHive AI! Start a conversation to create color palettes for your + next project + + Here are few examples + + + + + + + - - ) : ( - messages.map((message, index) => ( - - )) - )} - - - - - -