From d0e6e8101d7bd0c6f12df1d927edf5ba4a5202b5 Mon Sep 17 00:00:00 2001
From: timurgordon
Date: Tue, 22 Feb 2022 14:49:27 +0300
Subject: [PATCH] customizable footer implementation
---
content/_index.md | 6 +-
content/footer/_index.md | 81 ++++++++++++++++++
css/index.css | 9 ++
templates/partials/footer copy.html | 66 +++++++++++++++
templates/partials/footer.html | 124 ++--------------------------
templates/shortcodes/row.html | 12 ++-
6 files changed, 177 insertions(+), 121 deletions(-)
create mode 100644 content/footer/_index.md
create mode 100644 templates/partials/footer copy.html
diff --git a/content/_index.md b/content/_index.md
index e9f602a..9d02430 100644
--- a/content/_index.md
+++ b/content/_index.md
@@ -22,7 +22,7 @@ sustainable and inclusive future.
|||
-
+
{% end %}
@@ -46,7 +46,7 @@ engaged, decentralized community.
|||
-
+
{% end %}
@@ -65,7 +65,7 @@ blockchain is ready for explosive growth.
|||
-
+
{% end %}
diff --git a/content/footer/_index.md b/content/footer/_index.md
new file mode 100644
index 0000000..8502382
--- /dev/null
+++ b/content/footer/_index.md
@@ -0,0 +1,81 @@
+---
+title: "Footer"
+description: "The alternative to the current too centralized and unsustainable internet."
+insert_anchor_links: "left"
+template: "partials/footer.html"
+extra:
+ logoPath: "/images/ourworld_logo2.png"
+ socialLinks: { Github: "https://" }
+---
+
+{% row(isLean="true") %}
+
+### BASICS
+
+
+
+
+#### The Platform
+
+NEAR in a nutshell
+
+
+
+#### The Blog
+
+Official news & updates
+
+|||
+
+### USE CASES
+
+
+
+
+#### DeFi
+
+Decentralized finance
+
+
+
+#### NFTs
+
+Non-fungible tokens
+
+#### DAOs
+
+Decentralized autonomous organizations
+
+|||
+
+### USE CASES
+
+
+
+
+#### DeFi
+
+Decentralized finance
+
+
+
+#### NFTs
+
+Non-fungible tokens
+
+#### DAOs
+
+Decentralized autonomous organizations
+
+|||
+
+### FEATURED
+
+
+
+
+#### Nightshade Sharding Launches
+
+Paving the Way for Mass Adoption
+
+{% end %}
diff --git a/css/index.css b/css/index.css
index 7e4beec..844c8d9 100644
--- a/css/index.css
+++ b/css/index.css
@@ -28,6 +28,11 @@ img[src*="#small"] {
}
img[src*="#medium"] {
+ width: 150px;
+ margin: auto;
+}
+
+img[src*="#large"] {
width: 400px;
margin: auto;
}
@@ -56,3 +61,7 @@ h4 {
p {
font-size: 15px;
}
+
+a {
+ border: none;
+}
diff --git a/templates/partials/footer copy.html b/templates/partials/footer copy.html
new file mode 100644
index 0000000..b29808b
--- /dev/null
+++ b/templates/partials/footer copy.html
@@ -0,0 +1,66 @@
+
+
+{%- set section = get_section(path="footer/_index.md") %}
+{%- set logoPath = section.extra.logoPath %}
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/templates/partials/footer.html b/templates/partials/footer.html
index 2208a5a..f3a5047 100644
--- a/templates/partials/footer.html
+++ b/templates/partials/footer.html
@@ -3,18 +3,18 @@
Read the documentation to get started: https://tailwindui.com/documentation
-->
-{%- set section = get_section(path="header/_index.md") %}
+{%- set section = get_section(path="footer/_index.md") %}
{%- set logoPath = section.extra.logoPath %}