<!DOCTYPE html>
<html>
    <head>
        <meta charset="utf-8">
        <meta name="viewport" content="width=device-width, initial-scale=1.0">
        <link rel="stylesheet" type="text/css" href="https://cdnjs.cloudflare.com/ajax/libs/noty/3.1.4/noty.min.css">
        <script src="https://cdnjs.cloudflare.com/ajax/libs/noty/3.1.4/noty.min.js"></script>
        <link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/bootstrap@4.6.1/dist/css/bootstrap.min.css" integrity="sha384-zCbKRCUGaJDkqS1kPbPd7TveP5iyJE0EjAuZQTgFLD2ylzuqKfdKlfG/eSrtxUkn" crossorigin="anonymous">
        <link rel="stylesheet" type="text/css" href="/css/contact.css">
        <script src="https://kit.fontawesome.com/15a25df2f9.js" crossorigin="anonymous"></script>
    </head>
    <body>
        <div class="container-fluid mt-3">
            <nav class="navbar navbar-expand-md bg-dark navbar-dark fixed-top">
                <button class="navbar-toggler" type="button" data-toggle="collapse" data-target="#collapsibleNavbar">
                    <span class="navbar-toggler-icon"></span>
                </button>
                <% if(locals.user) {%>
                    <div class="collapse navbar-collapse" id="collapsibleNavbar">
                        <a class="navbar-brand" href="#" style="color:chartreuse;">IIITA CMS</a>
                        <ul class="navbar-nav">
                            <li class="nav-item">
                                <a class="nav-link" href="/users/home">HOME</a>
                            </li>
                            <li class="nav-item">
                                <a class="nav-link" href="/users/conferences">CONFERENCES</a>
                            </li>
                            <li class="nav-item">
                                <a class="nav-link" href="/users/profile">PROFILE</a>
                            </li>
                            <li class="nav-item">
                                <a class="nav-link" href="/users/settings">SETTINGS</a>
                            </li> 
                            <li class="nav-item">
                                <a class="nav-link active" href="/contact">CONTACT</a>
                            </li>
                            <li class="nav-item">
                                <a class="nav-link" href="/users/destroy-session">LOGOUT</a>
                            </li>
                        </ul>
                    </div> 
                <% } else{ %>
                    <div class="collapse navbar-collapse" id="collapsibleNavbar">
                        <a class="navbar-brand" href="#" style="color:chartreuse;">IIITA CMS</a>
                        <ul class="navbar-nav">
                            <li class="nav-item">
                                <a class="nav-link" href="/users/home">HOME</a>
                            </li>
                            <li class="nav-item">
                                <a class="nav-link" href="/users/login">LOGIN</a>
                            </li>
                            <li class="nav-item">
                                <a class="nav-link" href="/users/signup">SIGNUP</a>
                            </li>
                            <li class="nav-item">
                                <a class="nav-link active" href="/contact">CONTACT</a>
                            </li>
                        </ul>
                    </div>  
                <% } %>
            </nav>
        <div class="container" style="margin-top:90px;">
            <div class="container-fluid box">
                <div class="contact-header">
                    Contact Us:
                </div>
                <div class="contact-box">
                    <section id="contact">
                        <div id="contact-header">
                            <span><i class="far fa-address-card"></i></span>
                            <span>Contact</span>
                        </div>
                        <div id="flex_user">
                            <div id="message-section">
                                <form action ="/users/contactMessage" method="post">
                                    <input type="text" name="name" placeholder="Your Name">
                                    <input type="text" name="email" placeholder="Your Email">
                                    <input type="text" name="message" placeholder="Message">
                                    <input type="submit" id="message-submit" value="SEND MESSAGE">
                                </form>
                            </div>
                            <div id="other-info">
                                <div id="connect">
                                    <span>Get in touch</span>
                                    <div id="connect-text">
                                    <p>While we are good with smoke signals, there are simpler ways for us to get in touch and answer your questions :)</p>
                                    </div>
                                </div>
                                <div id="myaddress">
                                    <p>Our Address</p>
                                        <div id="contact-location">
                                            <span><i class="fas fa-map-marker-alt"></i></span>
                                            <span>&nbsp;Delhi, India</span>
                                        </div>
                
                                        <div id="contact-mobile">
                                            <span><i class="fas fa-mobile-alt"></i></span>
                                            <span>&nbsp;0123456789</span>
                                        </div>
                
                                        <div id="contact-email">
                                            <span><i class="fas fa-envelope-square"></i></span>
                                            <span>&nbsp;ourEmail@gmail.com</span>
                                        </div>
                                </div>
                            </div>
                       </div>
                    </section>
                </div>
            </div>
        </div>
        </div>
        <script src="https://cdn.jsdelivr.net/npm/jquery@3.5.1/dist/jquery.slim.min.js" integrity="sha384-DfXdz2htPH0lsSSs5nCTpuj/zy4C+OGpamoFVy38MVBnE+IbbVYUew+OrCXaRkfj" crossorigin="anonymous"></script>
        <script src="https://cdn.jsdelivr.net/npm/bootstrap@4.6.1/dist/js/bootstrap.bundle.min.js" integrity="sha384-fQybjgWLrvvRgtW6bFlB7jaZrFsaBXjsOMm/tB9LTS58ONXgqbR9W8oWht/amnpF" crossorigin="anonymous"></script>
    </body>
</html>