from flask import render_template
from app import app


@app.route('/')
def home():
    return render_template('index.html')

@app.route('/index')
def index():
    return render_template('index.html')

@app.route('/404')
def notfound():
    data = {'title':'404', 'subTitle':'Home'}
    return render_template('404.html', **data)

@app.route('/about')
def about():
    data = {'title':'About Us', 'subTitle':'Home'}
    return render_template('about.html', **data)

@app.route('/blog-details')
def blog_details():
    data = {'title':'Blog Details', 'subTitle':'Home'}
    return render_template('blog-details.html', **data)

@app.route('/blog')
def blog():
    data = {'title':'Our Blog', 'subTitle':'Home'}
    return render_template('blog.html', **data)

@app.route('/cart')
def cart():
    data = {'title':'Cart', 'subTitle':'Home'}
    return render_template('cart.html', **data)

@app.route('/checkout')
def checkout():
    data = {'title':'Checkout', 'subTitle':'Home'}
    return render_template('checkout.html', **data)

@app.route('/contact')
def contact():
    data = {'title':'Contacts', 'subTitle':'Home'}
    return render_template('contact.html', **data)

@app.route('/faq')
def faq():
    data = {'title':'FAQs', 'subTitle':'Home'}
    return render_template('faq.html', **data)

@app.route('/index-2')
def index_2():
    return render_template('index-2.html')

@app.route('/index-3')
def index_3():
    return render_template('index-3.html')

@app.route('/index-4')
def index_4():
    return render_template('index-4.html')

@app.route('/index-5')
def index_5():
    return render_template('index-5.html')

@app.route('/login')
def login():
    data = {'title':'Login', 'subTitle':'Home'}
    return render_template('login.html', **data)

@app.route('/price')
def price():
    data = {'title':'Pricing', 'subTitle':'Home'}
    return render_template('price.html', **data)

@app.route('/service')
def service():
    data = {'title':'Our Services', 'subTitle':'Home'}
    return render_template('service.html', **data)

@app.route('/shop-details')
def shop_details():
    data = {'title':'Shop Details', 'subTitle':'Home'}
    return render_template('shop-details.html', **data)

@app.route('/shop')
def shop():
    data = {'title':'Shop', 'subTitle':'Home'}
    return render_template('shop.html', **data)

@app.route('/team')
def team():
    data = {'title':'Our Team', 'subTitle':'Home'}
    return render_template('team.html', **data)

@app.route('/testimonial')
def testimonial():
    data = {'title':'Testimonials', 'subTitle':'Home'}
    return render_template('testimonial.html', **data)

@app.route('/wishlist')
def wishlist():
    data = {'title':'Wishlist Page', 'subTitle':'Home'}
    return render_template('wishlist.html', **data)

@app.route('/work')
def work():
    data = {'title':'Portfolio', 'subTitle':'Home'}
    return render_template('work.html', **data)