Skip to content

Commit

Permalink
add friend update
Browse files Browse the repository at this point in the history
  • Loading branch information
Ans155 committed Jun 25, 2023
1 parent 8f47ccd commit 07473d6
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 12 deletions.
8 changes: 3 additions & 5 deletions components/Filter/filter.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -37,16 +37,14 @@ const filter = () => {
{/* {Model component} */}
{addFriend && (
<div className={Style.Filter_model}>
<Model openBox={addFriend}
<Model openBox={setAddFriend}
title="WELCOME TO"
head ="CHAT BUDDY"
info="Lorem ipsum dolor sit amet consectetur adipisicing elit.
Asperiores atque, dolorem laudantium dolor sequi necessitatibus
cum voluptatum incidunt nostrum nemo iusto, odio recusandae.
Repellendus, id aperiam? Perspiciatis quia mollitia similique!"
info="Connect with your friends on this amazing decentralized chat application, where your data and privacy is more secure than EVER!!"
smallInfo="kindly select your friend's name and address..."
image={images.hero}
functionName={addFriends}
//addFriend={addFriend}
/>

</div>
Expand Down
2 changes: 1 addition & 1 deletion components/Friend/Chat/Chat.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -76,7 +76,7 @@ const Chat = ({sendMessage, readMessage, friendMsg, account, userName, Loading,
<input type='text' placeholder='send your message' onChange={(e)=> setMessage(e.target.value)} />
<Image src={images.file} alt="file" width={30} height={30} />
<>
<small>{message} {chatData.address}</small>

<Image src={images.send} alt="send" width={30} height={30} onClick={() => sendMessage({ msg: message, address: chatData.address})}/>
</>

Expand Down
2 changes: 1 addition & 1 deletion components/Friend/Chat/Chat.module.css
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,7 @@

@media only screen and (max-width: 35em){
.Chat{
position:absolute;
position:inherit;
top:25rem;
left:2rem;
padding: 2rem;
Expand Down
7 changes: 2 additions & 5 deletions components/Navbar/navbar.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -110,11 +110,8 @@ const Navbar = () => {
<div className={Style.modelBox}>
<Model openBox={setOpenModel}
title="WELCOME TO"
head ="CHAT BUDDY"
info="Lorem ipsum dolor sit amet consectetur adipisicing elit.
Asperiores atque, dolorem laudantium dolor sequi necessitatibus
cum voluptatum incidunt nostrum nemo iusto, odio recusandae.
Repellendus, id aperiam? Perspiciatis quia mollitia similique!"
head ="CHAT DAPP"
info="Register yourself and Connect with your friends on this amazing decentralized chat application, where your data and privacy is more secure than EVER!"
smallInfo="kindly select your name..."
image={images.hero}
functionName={createAccount}
Expand Down

0 comments on commit 07473d6

Please sign in to comment.