diff --git a/project/__init__.py b/project/__init__.py new file mode 100644 index 0000000..94cc95d --- /dev/null +++ b/project/__init__.py @@ -0,0 +1,18 @@ +from flask import Flask, render_template + +def create_app(): + app = Flask(__name__) + + register_blueprints(app) + register_error_pages(app) + return app + +def register_blueprints(app): + from project.portfolio import portfolio_blueprint + + app.register_blueprint(portfolio_blueprint) + +def register_error_pages(app): + @app.errorhandler(404) + def page_not_found(e): + return render_template('404.html'), 404 \ No newline at end of file diff --git a/project/portfolio/__init__.py b/project/portfolio/__init__.py new file mode 100644 index 0000000..e8e2d36 --- /dev/null +++ b/project/portfolio/__init__.py @@ -0,0 +1,8 @@ +''' +For handling portfolio blueprints +''' +from flask import Blueprint + +portfolio_blueprint = Blueprint('portfolio', __name__, template_folder='templates') + +from . import routes \ No newline at end of file diff --git a/project/portfolio/routes.py b/project/portfolio/routes.py new file mode 100644 index 0000000..4a282de --- /dev/null +++ b/project/portfolio/routes.py @@ -0,0 +1,8 @@ +from . import portfolio_blueprint +from flask import render_template, abort + +portfolio_titles = ['Index'] + +@portfolio_blueprint.route('/') +def index(): + return render_template('index.html') \ No newline at end of file diff --git a/project/portfolio/templates/index.html b/project/portfolio/templates/index.html new file mode 100644 index 0000000..9cd5dfe --- /dev/null +++ b/project/portfolio/templates/index.html @@ -0,0 +1,5 @@ +{% extends "base.html" %} + +{% block content %} + +{% endblock %} \ No newline at end of file diff --git a/project/templates/404.html b/project/templates/404.html new file mode 100644 index 0000000..de820d4 --- /dev/null +++ b/project/templates/404.html @@ -0,0 +1,8 @@ +{% extends "base.html" %} + +{% block content %} +

Page Not Found (404)

+
+

What you were looking for is just not there!

+
+{% endblock %} diff --git a/project/templates/base.html b/project/templates/base.html new file mode 100644 index 0000000..27c19dd --- /dev/null +++ b/project/templates/base.html @@ -0,0 +1,231 @@ + + + + + Studi-O Designs + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + +
+
+
+
+
+
Working Hours Monday - Friday 08:00-16:00
+
Toll Free 1800.899.900
+ + + +
+
+
+
+ +
+
+
+ + + + + + + + + + + + +
+
+
+ + +
+ + {% block content %} + {% endblock %} +
+ + + +{% include 'footer.html' %} \ No newline at end of file diff --git a/project/templates/contact.html b/project/templates/contact.html new file mode 100644 index 0000000..e69de29 diff --git a/project/templates/footer.html b/project/templates/footer.html new file mode 100644 index 0000000..969d8be --- /dev/null +++ b/project/templates/footer.html @@ -0,0 +1,107 @@ + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/project/templates/images/logo.png b/project/templates/images/logo.png new file mode 100644 index 0000000..68751c7 Binary files /dev/null and b/project/templates/images/logo.png differ diff --git a/project/templates/index-new.html b/project/templates/index-new.html new file mode 100644 index 0000000..4f2bf55 --- /dev/null +++ b/project/templates/index-new.html @@ -0,0 +1,833 @@ + + + + + Archi - Responsive Interior Design Template + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + +
+
+
+
+
+
Working Hours Monday - Friday 08:00-16:00
+
Toll Free 1800.899.900
+ + + +
+
+
+
+ + +
+ + + +
+ + +
+ +
+
+

Bring Magic to home

+
+ Hire Us Now +
+
+ + +
+ + + +
+
+
+ +
+
+
+

Residential Design

+

Our commitment to quality and services ensure our clients happy. With years of experiences and continuing research, our team is ready to serve your interior design needs. We're happy to make you feel more comfortable on your home.

+ Read More +
+
+
+ +
+
+
+

Office Design

+

Our commitment to quality and services ensure our clients happy. With years of experiences and continuing research, our team is ready to serve your interior design needs. We're happy to make you feel more comfortable on your home.

+ Read More +
+
+
+ +
+
+
+

Commercial Design

+

Our commitment to quality and services ensure our clients happy. With years of experiences and continuing research, our team is ready to serve your interior design needs. We're happy to make you feel more comfortable on your home.

+ Read More +
+
+
+ +
+
+
+ + + +
+ +
+
+
+ +
+
+ +
+ +
+
+ +
+

Interior Expertise

+

Sed ut perspiciatis unde omnis iste natus error sit voluptatem accusantium doloremque laudantium, totam rem aperiam, eaque ipsa quae.

+
+
+
+ +
+
+ +
+

Awards Winning

+

Sed ut perspiciatis unde omnis iste natus error sit voluptatem accusantium doloremque laudantium, totam rem aperiam, eaque ipsa quae.

+
+
+
+ +
+ +
+
+ +
+

Affordable Price

+

Sed ut perspiciatis unde omnis iste natus error sit voluptatem accusantium doloremque laudantium, totam rem aperiam, eaque ipsa quae.

+
+
+
+ +
+
+ +
+

Free Consultation

+

Sed ut perspiciatis unde omnis iste natus error sit voluptatem accusantium doloremque laudantium, totam rem aperiam, eaque ipsa quae.

+
+
+
+ +
+ +
+
+ +
+

24 / 7 Support

+

Sed ut perspiciatis unde omnis iste natus error sit voluptatem accusantium doloremque laudantium, totam rem aperiam, eaque ipsa quae.

+
+
+
+ +
+
+ +
+

Guaranteed Works

+

Sed ut perspiciatis unde omnis iste natus error sit voluptatem accusantium doloremque laudantium, totam rem aperiam, eaque ipsa quae.

+
+
+
+
+ +
+
+
+
+ + + +
+
+
+
+

Awards Winning Interior Design

+ +

Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris.

+ +

Nemo enim ipsam voluptatem quia voluptas sit aspernatur aut odit aut fugit, sed quia consequuntur magni dolores eos qui ratione voluptatem sequi nesciunt. Neque porro quisquam est, qui dolorem ipsum quia dolor sit amet, consectetur, adipisci velit, sed quia non numquam eius modi tempora incidunt ut labore et dolore magnam aliquam quaerat voluptatem.

+ + Read more +
+
+ +
+ +
+
+
+
+
+ + + +
+
+
+
+
+ We do +
+

Residential Design

+

Office Design

+

Hospitaly Design

+

Commercial Design

+
+ +
+
+
+
+
+ + + +
+
+ +
+ + + + + +
+ + + +
+ +
+
+
+
+ + + +
+
+
+ +
+
+
+ + + +
+ + + + +
+ + + + +
+ + + + Header Style + + +
+ + Header Color + + +
+ + Menu Style + + +
+ + Color : + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/project/templates/index.html b/project/templates/index.html new file mode 100644 index 0000000..a7bef69 --- /dev/null +++ b/project/templates/index.html @@ -0,0 +1,191 @@ +{% extends "base.html" %} + +{% block content %} + + +
+ + +
+ +
+
+

Bring Magic to home

+
+ Coming Soon +
+
+ + +
+ + + + + + + + + + + + + + + + + +{% endblock %} diff --git a/project/templates/portfolio.html b/project/templates/portfolio.html new file mode 100644 index 0000000..e69de29