<%@ page import ="com.entities.Seller" %> 
<%  
Seller seller = (Seller)session.getAttribute("current-seller");


%>



<%@ page language="java" contentType="text/html; charset=ISO-8859-1"
    pageEncoding="ISO-8859-1"%>
<%@ page import ="com.dao.CategoryDao" %> 
<%@ page import ="com.entities.Category" %> 
<%@ page import ="com.artifacts.FactoryProvider" %> 
<%@ page import ="java.util.List" %>           
<!DOCTYPE html>
<html>
<head>
<meta charset="ISO-8859-1">

        <title>Artifacts | Business </title>
        <link rel = "icon" href = "images/icon.jpg" type = "image/x-icon">
        <link rel="stylesheet" href="business.css">
        <link rel="stylesheet" href="https://stackpath.bootstrapcdn.com/font-awesome/4.7.0/css/font-awesome.min.css">
        <link rel="preconnect" href="https://fonts.gstatic.com">
        <link href="https://fonts.googleapis.com/css2?family=Kaushan+Script&family=Poppins:wght@300;400;500;600;700;900&display=swap" rel="stylesheet">
</head>
<body>

	<section id="banner"> 
	<%@include file="components/invalid.jsp" %>
            <a href="about.jsp">
            <img src="images/logos2.png" class="logo">
            </a>
             <div class="navbar">
             
            <nav> 
                <ul> 
                    <li><a href="index.jsp">Home</a></li>
                    <li><a href="products.jsp">Products</a></li>
                    <li><a href="about.jsp">About</a></li>
                    <li><a href="#footer">Contact</a></li>
                    
                    <%
                    if(seller == null){
                    
                    
                    %>
                    <li><a href="baccount.jsp">Account</a></li>
                    
                    <%               } else{
                    	
                    	
                    %>
                    <li><a href="#" style="color: #009688;"><%="Hello ,"+ "     "+  seller.getSellerName()  +"    "+"!" %></a></li>
                    <li><a href="BlogoutServlet">Logout</a></li>
                    
                    
                    <%
                    }
                    
                    %>
                    
                </ul>     
            </nav>
               
            </div>
           
            <div class="banner-text"> 
                <h1>Artifact's for Dealers ! </h1>
                <h2>Come JOIN US !</h2>
                <p>e-Marketplace wherein tribal's can 
                 <br>Promote, Market and Sell<br>
                     Handicrafts, Arts, Paintings, and many more...!</p>
                
               
                    
                
                </div>
            
        
        </section>
        
<!-----------------Features------------------------>
        
    <section id="features"> 
        <div class="title-text"> 
        <p>OBJECTIVE</p>
        <h1>Why Choose Us</h1>
        
        </div>  
        <div class="feature-box">
            <div class="features">
               
                <h1>Transforming Lives</h1>
                <div class="features-desc">
                    <div class="feature-icon"> 
                        <i class="fa fa-shield"></i>
                    </div>
                      <div class="feature-text"> 
                        <p> Objective is  to make Tribal Commerce based on forest produces, handlooms and handicrafts to a new high for transforming tribal lives and livelihoods</p>
                    </div>
                </div>
                 <h1>Marketing Development</h1>
                <div class="features-desc">
                    <div class="feature-icon"> 
                        <i class="fa fa-shield"></i>
                    </div>
                      <div class="feature-text"> 
                        <p> Objective is socio-economic development of tribal people by way of marketing development of the tribal products on which the major lives of tribals depends. </p>
                    </div>
                </div>
                <h1>Discount $ Offers</h1>
                <div class="features-desc">
                    <div class="feature-icon"> 
                        <i class="fa fa-shield"></i>
                    </div>
                      <div class="feature-text"> 
                        <p> Special Discount are available on particular sales.</p>
                        <p> Fast and Reliable Shipping. </p>
                        <p> Easy Returns $ Replacements. </p>
                    </div>
                </div>
            </div>
            <div class="features-img">
                <img src="images/handi1.jpg">
            </div>
        </div>    
    </section>
        
        <!--------service---------------------->
 <section id="service">
 <div class="container">
 <div class="card">
 <div class="inner-box" id="card">
                <div class="card-front">
                
                    <h2>You can add products to the  main site from here !</h2>
                    <form action="CategoriesTitle" method="post" enctype="multipart/form-data">
                        <div class="field"> 
                        <input type="hidden" name="operation" value="addproducts"> 
                            

                            <input name="pname" type="text" placeholder="Enter title of Product" required>
                        </div>
                         <div class="field desc">
                            

                            <textarea name="pdesc"rows="8" cols="55"placeholder="Describe your product here..."></textarea>
                         <br>
                        </div>

                        <div class="field price">
                            

                            <input name="pprice" type="text" placeholder="Enter price of your Product(only in numbers)" required>
                        </div>
                        <div class="field discount">
                            
                            <input name="pdiscount" type="text" placeholder="Enter discount on your Product(only in numbers)" required>
                            
                            
                        </div>
                        <%
                        CategoryDao cDao =new CategoryDao(FactoryProvider.getFactory());
                        List<Category>list = cDao.getCategory();
                        
                        
                        
                        %>
                        
                          <div class="selection">
                         
          
                         <select name="catyId" id="">
           <% 
           for(Category c:list){
          
           %>
          
                       <option value="<%=c.getCategoryId()%>"> <%=c.getCategoryTitle() %> </option>
           
           <% } %>
           
                        </select>
                        </div>
                        <div class="field image">
                        <input name="pphoto" type="file" required>
                        </div>

                        <button type="submit" class="submit-btn"> Add Product </button>

                    </form></div></div>
                    </div>  
                    </div>
                    </section>

  <!-------------comments------------->
    <section id="testimonial"> 
        <div class="title-text">
        <p>TESTIMONIAL</p>
            <h1>What Users Say</h1>
        </div>
        
        <div class="testimonial-row">
            <div class="testimonial-col">
                <div class="user">
                    <img src="images/vais.jpg">
                    <div class="user-info">
                        <h4>VAIBHAVI GAUR<i class="fa fa-twitter"></i></h4>
                        <small>@gaurvais</small>
                    </div>
                </div>
                <p>Loved the inventory so much creativity, attractive and good quality tribal products.Good initative by founders to connect creativity at such scale and with simplicity. </p>
            </div>
            <div class="testimonial-col"> 
                 <div class="user">
                    <img src="images/vais.jpg">
                    <div class="user-info">
                        <h4>RASHMI<i class="fa fa-twitter"></i></h4>
                        <small>@gaurvais</small>
                    </div>
                </div><p>Artifact's platform has so great quality textile and jwellery products. So contemprory and traditional touch and feel. Keep Going Indian Tribes.</p>
            </div>
            <div class="testimonial-col"> 
                 <div class="user">
                    <img src="images/vais.jpg">
                    <div class="user-info">
                        <h4>ONSHI<i class="fa fa-twitter"></i></h4>
                        <small>@gaurvais</small>
                    </div>
                </div><p>Dear Artifacts, if you guys think you can win my brand loyalty with so ethnic and creative tribal products; you are 100% right :)</p>
            </div>
        </div>
        
    </section>
        
        
        
        <!-------------footer------------------->
    <section id="footer">
        <img src="images/logos1.png" class="footer-img">
       <div class="title-text"> 
        <p>CONTACT</p>
        <h1>Connect &amp; Colaborate</h1>
        
        </div> 
        
        <div class="footer-row">
        <div class="footer-left">
          <h1>Get In Touch</h1>  
            <p><i class="fa fa-google-plus"></i>vaibhavigaur2001@gmail.com</p>
             <p><i class="fa fa-instagram"></i>_rashmishah@official_</p>
             <p><i class="fa fa-twitter"></i>tweet_to_onshi</p>
        </div>
        <div class="footer-right">
            <h1>For Collaborations</h1>
            <p>Invite to Ministry Of Tribal Affairs,India<i class="fa fa-handshake-o"></i></p>
            <p>Invite to NGO's and INGO's<i class="fa fa-handshake-o"></i></p>
            <p>+91 8920931522<i class="fa fa-phone"></i></p>
        </div>
        </div>
        
        <div class="social-links">
            <i class="fa fa-facebook"></i>
            <i class="fa fa-whatsapp"></i>
            <i class="fa fa-instagram"></i>
            <i class="fa fa-twitter"></i>
            <p>Copyright Artifact's &amp; Terms &amp; Conditions</p>
            
        </div>
        
    </section>
        
      

</body>
