From 0adae154c8892fb05e8e11eb73e0b7d636beba1c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Gabor=20K=C3=B6rber?= Date: Wed, 17 Jan 2024 01:07:50 +0100 Subject: [PATCH] refactor: new start page --- templates/admin/base.jinja | 5 +- templates/{base.html => base.html.j2} | 22 ++++-- templates/fomantic.html | 3 + templates/index.html | 106 +++++++++++++++++++++++++- templates/site/top.html | 49 ++++++------ 5 files changed, 148 insertions(+), 37 deletions(-) rename templates/{base.html => base.html.j2} (71%) create mode 100644 templates/fomantic.html diff --git a/templates/admin/base.jinja b/templates/admin/base.jinja index 0ec24c0..6f56833 100644 --- a/templates/admin/base.jinja +++ b/templates/admin/base.jinja @@ -4,10 +4,7 @@ {% block title %}{{ title|none('Admiral') }}{% endblock %} - - - - + {% include "fomantic.html" %} diff --git a/templates/base.html b/templates/base.html.j2 similarity index 71% rename from templates/base.html rename to templates/base.html.j2 index 92015a7..f94df14 100644 --- a/templates/base.html +++ b/templates/base.html.j2 @@ -1,6 +1,7 @@ + @@ -19,18 +20,25 @@ - + {% block fomantic %} + {% include "fomantic.html" %} + {% endblock %} - {% block top %} - {% include "site/top.html" %} - {% endblock %} - {% block content %} - - {% endblock %} + {% block body %} + {% block top %} + {% include "site/top.html" %} + {% endblock top %} + {% block content %} + + {% endblock content %} + {% endblock body %} + {% block bodyjs %} + {% endblock bodyjs %} + \ No newline at end of file diff --git a/templates/fomantic.html b/templates/fomantic.html new file mode 100644 index 0000000..ec71c64 --- /dev/null +++ b/templates/fomantic.html @@ -0,0 +1,3 @@ + + + \ No newline at end of file diff --git a/templates/index.html b/templates/index.html index 730d1e5..b1f3a27 100644 --- a/templates/index.html +++ b/templates/index.html @@ -1 +1,105 @@ -{% extends "base.html" %} +{% extends "base.html.j2" %} + +{% block content %} +
+
+ +
+

+ Imagine-a-Company +

+

Do whatever you want when you want to.

+
Get Started
+
+ +
+
+
+
+
+

We Help Companies and Companions

+

We can give your company superpowers to do things that they never thought possible. Let us + delight your customers and empower your needs...through pure data analytics.

+

We Make Bananas That Can Dance

+

Yes that's right, you thought it was the stuff of dreams, but even bananas can be bioengineered. +

+
+
+ +
+
+
+ +
+
+
+ + +
+
+
+
+

"What a Company"

+

That is what they all say about us

+
+
+

"I shouldn't have gone with their competitor."

+

+ Nan Chief Fun Officer + Acme Toys +

+
+
+
+
+ +
+
+

Breaking The Grid, Grabs Your Attention

+

Instead of focusing on content creation and hard work, we have learned how to master the art of doing + nothing by providing massive amounts of whitespace and generic content that can seem massive, monolithic + and worth your attention.

+ Read More +

+ Case Studies +

+

Did We Tell You About Our Bananas?

+

Yes I know you probably disregarded the earlier boasts as non-sequitur filler content, but its really + true. It took years of gene splicing and combinatory DNA research, but our bananas can really dance.

+ I'm Still Quite Interested +
+
+ + + +
+{% endblock content %} \ No newline at end of file diff --git a/templates/site/top.html b/templates/site/top.html index 638b9d7..f997cb7 100644 --- a/templates/site/top.html +++ b/templates/site/top.html @@ -1,33 +1,32 @@ - + + \ No newline at end of file