Skip to content

Commit d83b1d2

Browse files
committed
"Updated placeholders and adjusted chat component styling"
1 parent e185b91 commit d83b1d2

File tree

1 file changed

+7
-6
lines changed

1 file changed

+7
-6
lines changed

client/src/components/Chat/chat.tsx

Lines changed: 7 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -18,11 +18,12 @@ export function PlaceholdersAndVanishInputDemo() {
1818
import.meta.env.VITE_BACKEND_URL || 'http://localhost:5000';
1919

2020
const placeholders = [
21-
"What's the first rule of Fight Club?",
22-
'Who is Tyler Durden?',
23-
'Where is Andrew Laeddis Hiding?',
24-
'Write a Javascript method to reverse a string',
25-
'How to assemble your own PC?',
21+
'How to set up a React project with Vite?',
22+
'What is the difference between JavaScript and TypeScript?',
23+
'How to implement authentication in a Next.js app?',
24+
'What is a closure in JavaScript?',
25+
'How to optimize React app performance?',
26+
'Explain event delegation in JavaScript',
2627
];
2728

2829
const scrollToBottom = () => {
@@ -70,7 +71,7 @@ export function PlaceholdersAndVanishInputDemo() {
7071
};
7172

7273
return (
73-
<div className='h-screen flex flex-col'>
74+
<div className='h-screen md:w-[60%] w-full mx-auto justify-center flex flex-col'>
7475
<h2 className='mb-4 text-xl text-center sm:text-5xl dark:text-white text-black mt-5'>
7576
Start Collaborating
7677
</h2>

0 commit comments

Comments
 (0)