From 4814236ee1de5848565c38a6f639f2fa3e8f6e95 Mon Sep 17 00:00:00 2001 From: Alexander Hosking Date: Wed, 21 Nov 2018 22:56:58 -0500 Subject: [PATCH] Add new routes for pages, clean-up copy and refine the sections --- run_site.py | 5 +- templates/aboutus.html | 22 +++--- templates/contactus.html | 20 ++--- templates/whatwedo.html | 161 +-------------------------------------- 4 files changed, 25 insertions(+), 183 deletions(-) diff --git a/run_site.py b/run_site.py index 3bca613..5aab878 100644 --- a/run_site.py +++ b/run_site.py @@ -9,7 +9,8 @@ app.config['FREEZER_RELATIVE_URLS'] = True app.config['FREEZER_IGNORE_MIMETYPE_WARNINGS'] = True @app.route('/') -@app.route('/index.html') +@app.route('/index') +@app.route('/home') def index(): categories = os.listdir('projects/') projects = [] @@ -78,7 +79,7 @@ def photo_url_generator(): def show_project_file(category, project_name, filename): return send_from_directory('projects/' + category + '/'+ project_name + '/', filename) -@app.route('/about.html') +@app.route('/about-us') def about(): return render_template('aboutus.html', title="About Us - JPs Contracting") diff --git a/templates/aboutus.html b/templates/aboutus.html index fcfb9e5..8c3916f 100644 --- a/templates/aboutus.html +++ b/templates/aboutus.html @@ -9,7 +9,7 @@

About Us

- You may think we're a one man shop, bust just you wait and see. We'll get your project from planning to completion faster than you'd expect. +
@@ -35,7 +35,7 @@ We focus heavily on the design and ensure it is exactly what the homeowner loves first and foremost. Complete and proper planning is the key to a successful project; more specifically, an efficient execution, staying within project budget and customer satisfaction.

-

Blah, blah, blah

+
@@ -173,7 +173,7 @@
-
+
@@ -248,7 +248,7 @@

Our Working Process

-

One jeepers stood owing and narrow while among that orca thanks.

+
@@ -291,7 +291,7 @@
-
+ +
@@ -602,7 +602,7 @@ --> -
+
diff --git a/templates/contactus.html b/templates/contactus.html index 12a2d10..b8ca2ce 100644 --- a/templates/contactus.html +++ b/templates/contactus.html @@ -13,7 +13,7 @@

Contact Us

    -
  • +
  • Phones @@ -41,17 +41,17 @@
-
Promotions
-
-

- -

+ +
+

+ +

+
-
-
+ diff --git a/templates/whatwedo.html b/templates/whatwedo.html index 98c28d9..75ccc19 100644 --- a/templates/whatwedo.html +++ b/templates/whatwedo.html @@ -287,145 +287,7 @@
-
-
-
-

Our Skills

-
-
-
- Handsome -
-
- 100% -
-
-
-
- Demolition Tools -
-
- 55% -
-
-
-
- Cutting Wood -
-
- 100% -
-
-
-
- Perfect Grip -
-
- 42% -
-
-
-
- Complete Renovation -
-
- 80% -
-
-
-
- Talking -
-
- 66% -
-
-
-
-
-
-
-
-
-

Top Questions

-
-
-
- - -
-
- - -
-
- - -
-
- -
-

A. Far saluted immaculately indiscriminate ouch along darn reliable cuckoo goodness but and jay far into mute and into much amidst far owing the a because since to the oh near much crud with darn.

-
-
-
- - -
-
- - -
-
-
-
- +
@@ -598,27 +460,6 @@ --> -
-
-
-

Our Clients

-

Our clients are the best clients.

-
-
-
-
-
-
-
    -
  • #
  • -
  • #
  • -
  • #
  • -
  • #
  • -
  • #
  • -
  • #
  • -
-
-