Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Message section of the Gmail tool #499

Open
wants to merge 2 commits into
base: dev
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
391 changes: 340 additions & 51 deletions client/src/components/Apps/Gmail/About_Messages/About_Messages.css

Large diffs are not rendered by default.

Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,23 @@ import Vector from "./About_Message_Img/Vector.png";
import Vector_logo from "./About_Message_Img/Vector_logo.png";
import gss1 from "./About_Message_Img/gss1.png";
import gss2 from "./About_Message_Img/gss2.png";
import GmailMessageLogo from './About_Message_Img/gmail-logo-message-page.png';
import GmailMessageLogoMobile1 from './About_Message_Img/gmail-logo-message-mobile1.png';
import GmailMessageLogoMobile2 from './About_Message_Img/gmail-logo-message-mobile2.png';
import GmailMessageImage from './About_Message_Img/gmail-message-image-.png';
import GmailMessageImageMobile from './About_Message_Img/gmail-message-image-mobile.png'
import LinkButton from './About_Message_Img/link-button.png';
import BoltButton from './About_Message_Img/Bolt.png';
import DropDownButton from './About_Message_Img/chevron-down.png';
import AttachButton from './About_Message_Img/clip.png';
import SendButton from './About_Message_Img/send-button.png';
import BoldButton from './About_Message_Img/Bold-button.png';
import ItalicButton from './About_Message_Img/Italic-button.png';
import ListButton from './About_Message_Img/list-button.png';
import AtSignGmail from './About_Message_Img/at-sign.png';
import GmailMessageHomeButton from './About_Message_Img/home.png';
import GmailMessageMessageButton from './About_Message_Img/message_icon.png';
import GmailMessageUserButton from './About_Message_Img/user-icon.png';

const About_Messages = () => {
const [clicked, setClicked] = useState("about");
Expand Down Expand Up @@ -115,7 +132,83 @@ const About_Messages = () => {
</div>
</div>
) : (
<div>message section</div>
<div>
<div className="flex gmailMessage-first-section mt-9 mx-3">
<div className="gmailMessagelogo-box1">
<picture>
<source
media="(max-width: 414px)"
srcset={GmailMessageLogoMobile1} />
<img src={GmailMessageLogo} alt="gmail-logo" className="gmailMessage_logo1 m-auto" />
</picture>
</div>
<div className="gmailMessage-first-section-content">
<h4 className="font-semibold gmailMessage-first-section-content-header">This conversation is just between the two of you. </h4>
<p className="font-medium gmailMessage-first-section-content-p">Here you can post and recieve comments with <a href="#" className="gmailMessage-linkPage">@Gmail</a></p>
</div>
<div className="gmailMessage-first-section-content-mobile">
<h4 className="font-bold gmailMessage-first-section-content-mobile-header my-3">Gmail</h4>
<p className="font-medium gmailMessage-first-section-content-mobile-p">This is the very beginning of your direct message history with <a href="#" className="gmailMessage-linkPage">@Gmail</a>. Only two of you are in this conversation, and no one can join it.</p>
</div>
</div>
<div className="gmailMessage-days"><p className="font-black text-center gmailMessage-days-text">Yesterday</p></div>
<div className="flex gmailMessage-second-section mx-3">
<div className="gmailMessage-logo-box2">
<picture>
<source
media="(max-width: 414px)"
srcset={GmailMessageLogoMobile2} />
<img src={GmailMessageLogo} alt="gmail-logo" className="gmailMessage_logo2 m-auto" />
</picture>
</div>
<div className="gmailMessage-second-section-content1">
<h4 className="font-semibold gmailMessage-second-section-content1-header">Gmail<span className="font-semibold gmailMessage-second-section-content1-header-app align-middle">APP</span><span className="font-bold gmailMessage-second-section-content1-header-time align-middle">9:52AM</span></h4>
<p className="font-normal gmailMessage-second-section-content1-p">Connect your Gmail account to start getting notifications</p>
</div>
</div>
<div className="gmailMessage-second-section-content2">
<p className="font-normal mb-3 gmailMessage-second-section-content2-p">(139 kB)</p>
<picture>
<source
media="(max-width: 414px)"
srcset={GmailMessageImageMobile} />
<img src={GmailMessageImage} alt="Gmail layout description" />
</picture>
<div className="gmailMessage-second-section-content3">
<p className="gmailMessage-second-section-content3-p">Keep conversations moving forward by bringing context from an email into a Zuri channel or direct message. You can choose to add a message and include attachments along with the email as well.</p>
<p className="mt-1 gmailMessage-second-section-content3-p">When to send email into Zuri:</p>
<ul className="pl-4 mt-1 gmailMessage-second-section-content3-p">
<li>Email chain getting too noisy? Send it into Zuri Chat where you can discuss quickly and move forward.</li>
<li>Have an idea you want to share with your team? Send it along to a relevant channel with a note about your insights.</li>
<li>Flag your teammates in Zuri Chat and use the email content to set context.</li>
</ul>
<button className="gmailMessage-connect-button font-normal">Connect your account</button>
</div>
</div>
<div className="border border-solid rounded-sm bg-white py-3 gmailMessage-messageArea">
<textarea placeholder="Send a message to John" rows="1" className="border-none my-0 ml-0 font-medium gmailMessage-textarea" />
<div className="flex justify-between px-3 pt-2">
<span>
<button className="border-r pr-3 pt-1"><img src={BoltButton} /></button>
<button className="pl-3 pt-1"><img src={BoldButton} /></button>
<button className="pl-3 pt-1"><img src={ItalicButton} /></button>
<button className="pl-3 pt-1"><img src={LinkButton} /></button>
<button className="pl-3 pt-1"><img src={ListButton} /></button>
</span>
<span>
<button className="pr-3 pt-1"><img src={AtSignGmail} /></button>
<button className="pr-3 pt-1"><img src={AttachButton} /></button>
<button className="border-r pr-3 pt-1"><img src={SendButton} /></button>
<button className="pl-3"><img src={DropDownButton} className="py-1" /></button>
</span>
</div>
</div>
<div className="flex justify-between gmailMessage-messageAreaMobile items-center">
<button><img src={GmailMessageHomeButton} alt="home" className="mx-auto" /><span>Home</span></button>
<button><img src={GmailMessageMessageButton} alt="dms" className="mx-auto" /><span>DMs</span></button>
<button><img src={GmailMessageUserButton} alt="me" className="mx-auto" /><span>You</span></button>
</div>
</div>
)}
</>
);
Expand Down