From 9ebcdb63136de3d8bb8bc367d6c313077c79a671 Mon Sep 17 00:00:00 2001 From: Ninja-007 Date: Tue, 18 Dec 2018 15:22:25 +0100 Subject: [PATCH 1/3] Add files via upload Separated nav-bar and footer from main files --- footer.html | 7 +++++++ nav-bar.html | 58 ++++++++++++++++++++++++++++++++++++++++++++++++++++ 2 files changed, 65 insertions(+) create mode 100644 footer.html create mode 100644 nav-bar.html diff --git a/footer.html b/footer.html new file mode 100644 index 000000000..6d05453c2 --- /dev/null +++ b/footer.html @@ -0,0 +1,7 @@ + + \ No newline at end of file diff --git a/nav-bar.html b/nav-bar.html new file mode 100644 index 000000000..c905d62a9 --- /dev/null +++ b/nav-bar.html @@ -0,0 +1,58 @@ + + + + From a68ef0549d86b65a49b85520e52829c9aa00f9d2 Mon Sep 17 00:00:00 2001 From: Ninja-007 Date: Tue, 18 Dec 2018 15:26:03 +0100 Subject: [PATCH 2/3] Add files via upload --- js/nav-bar-footer-load.js | 6 ++++++ 1 file changed, 6 insertions(+) create mode 100644 js/nav-bar-footer-load.js diff --git a/js/nav-bar-footer-load.js b/js/nav-bar-footer-load.js new file mode 100644 index 000000000..2bf04133f --- /dev/null +++ b/js/nav-bar-footer-load.js @@ -0,0 +1,6 @@ +$(function(){ + $("#nav-bar-id").load("nav-bar.html"); +}); +$(function(){ + $("#footer-id").load("footer.html"); +}); \ No newline at end of file From 38b93844c591beb8fb118551631dbf5b1f24d5a3 Mon Sep 17 00:00:00 2001 From: Ninja-007 Date: Tue, 18 Dec 2018 15:44:09 +0100 Subject: [PATCH 3/3] Abstrated na-bar and footer to separate files Abstrated na-bar and footer to separate files. This will help to change nav-bar and footer easily in all files. --- 404.html | 66 ++++-------------------------------------- about.html | 68 ++++---------------------------------------- blog-home-1.html | 66 ++++-------------------------------------- blog-home-2.html | 68 ++++---------------------------------------- blog-post.html | 66 ++++-------------------------------------- contact.html | 66 ++++-------------------------------------- faq.html | 66 ++++-------------------------------------- full-width.html | 66 ++++-------------------------------------- index.html | 67 ++++--------------------------------------- portfolio-1-col.html | 66 ++++-------------------------------------- portfolio-2-col.html | 66 ++++-------------------------------------- portfolio-3-col.html | 66 ++++-------------------------------------- portfolio-4-col.html | 66 ++++-------------------------------------- portfolio-item.html | 66 ++++-------------------------------------- pricing.html | 66 ++++-------------------------------------- services.html | 66 ++++-------------------------------------- sidebar.html | 66 ++++-------------------------------------- 17 files changed, 88 insertions(+), 1039 deletions(-) diff --git a/404.html b/404.html index 9757e8f14..11b64d637 100644 --- a/404.html +++ b/404.html @@ -21,61 +21,7 @@ - +
@@ -167,17 +113,15 @@

404

-
-
-

Copyright © Your Website 2018

-
- -
+ + + + diff --git a/about.html b/about.html index 77a132799..d11407182 100644 --- a/about.html +++ b/about.html @@ -21,61 +21,7 @@ - +
@@ -180,17 +126,15 @@

Our Customers

-
-
-

Copyright © Your Website 2018

-
- -
+ - + + + + diff --git a/blog-home-1.html b/blog-home-1.html index 69da75f55..aa1affe92 100644 --- a/blog-home-1.html +++ b/blog-home-1.html @@ -21,61 +21,7 @@ - +
@@ -219,16 +165,14 @@
Side Widget
-
-
-

Copyright © Your Website 2018

-
- -
+ + + + diff --git a/blog-home-2.html b/blog-home-2.html index 455e2827c..a48ced31f 100644 --- a/blog-home-2.html +++ b/blog-home-2.html @@ -21,61 +21,7 @@ - +
@@ -195,17 +141,15 @@

Post Title

- -
-
-

Copyright © Your Website 2018

-
- -
+ + + + + diff --git a/blog-post.html b/blog-post.html index 6f6c8757b..88c9816d5 100644 --- a/blog-post.html +++ b/blog-post.html @@ -21,61 +21,7 @@ - +
@@ -247,16 +193,14 @@
Side Widget
-
-
-

Copyright © Your Website 2018

-
- -
+ + + + diff --git a/contact.html b/contact.html index 8de800911..5ac7d07fe 100644 --- a/contact.html +++ b/contact.html @@ -21,61 +21,7 @@ - +
@@ -166,12 +112,7 @@

Send us a Message

-
-
-

Copyright © Your Website 2018

-
- -
+ @@ -181,6 +122,9 @@

Send us a Message

+ + + diff --git a/faq.html b/faq.html index 42a72fc88..5b134228c 100644 --- a/faq.html +++ b/faq.html @@ -21,61 +21,7 @@ - +
@@ -137,16 +83,14 @@
-
-
-

Copyright © Your Website 2018

-
- -
+ + + + diff --git a/full-width.html b/full-width.html index f7b6056d9..4d8c56792 100644 --- a/full-width.html +++ b/full-width.html @@ -21,61 +21,7 @@ - +
@@ -99,16 +45,14 @@

Full Width -
-
-

Copyright © Your Website 2018

-
- -
+ + + + diff --git a/index.html b/index.html index ff78ffa7c..90dd114de 100644 --- a/index.html +++ b/index.html @@ -16,66 +16,13 @@ + - +