diff --git a/content/about/index.md b/content/about/index.md index a0726f8..92c3924 100644 --- a/content/about/index.md +++ b/content/about/index.md @@ -83,7 +83,7 @@ extra: -{{ header_center( +{{ text_center( title="A Part of ThreeFold Ecosystem", subheader="BENEFITS", subtitle="An Integral Component of Sustainable Decentralization", diff --git a/content/home/index.md b/content/home/index.md index 09c2447..8ed1243 100644 --- a/content/home/index.md +++ b/content/home/index.md @@ -10,7 +10,7 @@ extra: -{{ hero_right_img( +{{ hero( image_src="/images/mycel_1.png", image_alt="Mycelium Network Graphic", title="MYCELIUM", diff --git a/templates/layouts/hero.html b/templates/layouts/hero.html deleted file mode 100644 index 21c6c35..0000000 --- a/templates/layouts/hero.html +++ /dev/null @@ -1,80 +0,0 @@ -
-
- - - -
- -
- -
- -
-

Data to enrich your online business

-

Anim aute id magna aliqua ad ad non deserunt sunt. Qui irure qui lorem cupidatat commodo. Elit sunt amet fugiat veniam occaecat.

- -
-
- -
-
- \ No newline at end of file diff --git a/templates/shortcodes/header_new.html b/templates/shortcodes/header_new.html deleted file mode 100644 index da2fea5..0000000 --- a/templates/shortcodes/header_new.html +++ /dev/null @@ -1,20 +0,0 @@ -
-
-
-
-
- -
-
-
-
-

Be the Internet

-

Host a node, support a decentralized future

-

By connecting a modern computer at your home or office to the ThreeFold Grid, you can provide Internet capacity to communities and builders, and be rewarded for doing this. Take part in shaping a new Internet era governed by all of us.

- -
-
-
-
-
\ No newline at end of file diff --git a/templates/shortcodes/hero.html b/templates/shortcodes/hero.html new file mode 100644 index 0000000..08dc6a3 --- /dev/null +++ b/templates/shortcodes/hero.html @@ -0,0 +1,35 @@ +{% set image_src = image_src | default(value="") %} +{% set image_alt = image_alt | default(value="") %} +{% set title = title | default(value="MYCELIUM") %} +{% set subtitle = subtitle | default(value="") %} +{% set description = description | default(value="") %} +{% set highlight = highlight | default(value="") %} +{% set button_text = button_text | default(value="") %} +{% set button_link = button_link | default(value="") %} + + + +
+
+
+
+

+ {{ title }} +

+

{{ subtitle }} +

+

+ {{ description }}

{{ highlight }} +

+ +
+
+
+ {{ image_alt }} +
+
+
diff --git a/templates/shortcodes/header_center.html b/templates/shortcodes/text_center.html similarity index 100% rename from templates/shortcodes/header_center.html rename to templates/shortcodes/text_center.html