From e60f5826866d73b1ab8ec543bb096159efe3d0c6 Mon Sep 17 00:00:00 2001 From: VishwaAmarasinghe Date: Tue, 16 Apr 2024 13:42:06 +0530 Subject: [PATCH] Make the footer and placeholders --- assets/js/script.js | 6 +++++- assets/placeholders/footer.html | 36 +++++++++++++++++++++++++++++++++ assets/placeholders/nav.html | 28 +++++++++++++++++++++++++ assets/style/style.css | 27 +++++++++++++++++++++++++ index.html | 33 +++++------------------------- 5 files changed, 101 insertions(+), 29 deletions(-) create mode 100644 assets/placeholders/footer.html create mode 100644 assets/placeholders/nav.html diff --git a/assets/js/script.js b/assets/js/script.js index 8176518..f3812ea 100644 --- a/assets/js/script.js +++ b/assets/js/script.js @@ -1,4 +1,8 @@ $(function(){ - $("#nav-placeholders").load("../assets/placeholders/nav.html"); + $("#nav-placeholder").load("../assets/placeholders/nav.html"); + }); + + $(function(){ + $("#footer-placeholder").load("../assets/placeholders/footer.html"); }); \ No newline at end of file diff --git a/assets/placeholders/footer.html b/assets/placeholders/footer.html new file mode 100644 index 0000000..980d4e5 --- /dev/null +++ b/assets/placeholders/footer.html @@ -0,0 +1,36 @@ + \ No newline at end of file diff --git a/assets/placeholders/nav.html b/assets/placeholders/nav.html new file mode 100644 index 0000000..53d300e --- /dev/null +++ b/assets/placeholders/nav.html @@ -0,0 +1,28 @@ + \ No newline at end of file diff --git a/assets/style/style.css b/assets/style/style.css index ba5d8f8..25921a6 100644 --- a/assets/style/style.css +++ b/assets/style/style.css @@ -104,3 +104,30 @@ background: url("../img/bg.png"); border: none; color: #000000; } +.footer{ + background-color: #000000; + color: #ffffff; + padding: 50px; +} +.footer .row{ + margin: 0px !important; +} +.footer-acf{ + width: 100px; + height: auto; +} +.footer-head{ + display: flex; + padding-bottom: 30px; +} +.link-col{ + padding-left: 30px; +} +.footer-links{ + list-style: none; + padding: 0px; +} +.footer-link a{ + text-decoration: none; + color: #ffffff; +} \ No newline at end of file diff --git a/index.html b/index.html index 5490e91..45d7666 100644 --- a/index.html +++ b/index.html @@ -12,34 +12,8 @@ - + @@ -140,12 +114,15 @@

+ + \ No newline at end of file