From 566ecc81aeffde68d54011352f9162d368f0c196 Mon Sep 17 00:00:00 2001 From: alexmerlin Date: Wed, 2 Oct 2024 16:49:58 +0300 Subject: [PATCH] Home page cleanup Signed-off-by: alexmerlin --- .gitattributes | 6 + src/Page/templates/page/about.html.twig | 2 - src/Page/templates/page/home.html.twig | 223 +++---------------- src/Page/templates/page/who-we-are.html.twig | 2 - 4 files changed, 36 insertions(+), 197 deletions(-) create mode 100644 .gitattributes diff --git a/.gitattributes b/.gitattributes new file mode 100644 index 0000000..5d337ae --- /dev/null +++ b/.gitattributes @@ -0,0 +1,6 @@ +* text eol=lf +*.png binary +*.jpg binary +*.jpeg binary +*.svg binary +*.md diff=markdown diff --git a/src/Page/templates/page/about.html.twig b/src/Page/templates/page/about.html.twig index f134fe1..251e9e8 100644 --- a/src/Page/templates/page/about.html.twig +++ b/src/Page/templates/page/about.html.twig @@ -2,8 +2,6 @@ {% block title %}About Us{% endblock %} -{% block page_title %}{% endblock %} - {% block content %}
diff --git a/src/Page/templates/page/home.html.twig b/src/Page/templates/page/home.html.twig index 7b83507..97f403f 100644 --- a/src/Page/templates/page/home.html.twig +++ b/src/Page/templates/page/home.html.twig @@ -2,8 +2,6 @@ {% block title %}Home{% endblock %} -{% block page_title %}{% endblock %} - {% block content %} {{ messagesPartial('partial::alerts', {}, null, 'page-home') }}
@@ -19,33 +17,27 @@
-

Laminas

+

Mezzio

- - containers - + containers

Dotkernel is built around the PSR-11 dependency container. We have chosen Laminas Service Manager as our default implementation.

- Get Started with Laminas Service Manager + Get Started with Laminas Service Manager

- - templating - + templating

By default, no middleware in Laminas is templated. - For Dotkernel's Light application, we have chosen Twig - as the default templating engine. + For Dotkernel's Light application, we have chosen Twig as the default templating engine.

Get started with Twig @@ -57,8 +49,7 @@ routers

- Among the various routing implementations compatible with Expressive, we have chosen FastRoute - as Dotkernel's default routing library. + Among the various routing implementations compatible with Expressive, we have chosen FastRoute as Dotkernel's default routing library.

Get started with FastRoute @@ -69,69 +60,31 @@ http messages

- Laminas, and consequently Dotkernel, is built around the PSR-7 standard. It uses - Laminas Diactoros as the PSR-7 implementation. + Laminas, and consequently Dotkernel, is built around the PSR-7 standard.
It uses Laminas Diactoros as the PSR-7 implementation.

- Get started with - PSR-7 - and Diactoros + Get started with PSR-7 and Diactoros

-

Dotkernel components

+

Dotkernel Light components

-
-

- -

-
-
-
- -
-
-
- -
-
+

-

-
+
-
@@ -139,45 +92,21 @@
-
-

- -

-
-
-
- -
-
-
- -
-
+

-

-
+
-
@@ -185,110 +114,18 @@
-
-

- -

-
-
-
- -
-
-
- -
-
-

- -

-
-
-
- -
-
-
- -
-
-

- -

-
-
-
- -
-
-
- -
-
+

-

-
+
-
diff --git a/src/Page/templates/page/who-we-are.html.twig b/src/Page/templates/page/who-we-are.html.twig index 9546bfd..382cc6f 100644 --- a/src/Page/templates/page/who-we-are.html.twig +++ b/src/Page/templates/page/who-we-are.html.twig @@ -2,8 +2,6 @@ {% block title %}Who We Are{% endblock %} -{% block page_title %}{% endblock %} - {% block content %}