Skip to content

Commit e15c2e2

Browse files
authored
Merge pull request #536 from dotkernel/issue534
home page design, wording tweaks
2 parents f7e9595 + ad85f45 commit e15c2e2

File tree

14 files changed

+52
-39
lines changed

14 files changed

+52
-39
lines changed

LICENSE.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
MIT License
22

3-
Copyright (c) 2020 DotKernel (https://www.dotkernel.com)
3+
Copyright (c) 2020 Dotkernel (https://www.dotkernel.com)
44

55
Permission is hereby granted, free of charge, to any person obtaining a copy
66
of this software and associated documentation files (the "Software"), to deal

README.md

Lines changed: 12 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -31,18 +31,18 @@ Documentation is available at: https://docs.dotkernel.org/frontend-documentation
3131
[![Qodana](https://github.com/dotkernel/frontend/actions/workflows/qodana_code_quality.yml/badge.svg)](https://github.com/dotkernel/frontend/actions/workflows/qodana_code_quality.yml)
3232
[![PHPStan](https://github.com/dotkernel/frontend/actions/workflows/static-analysis.yml/badge.svg?branch=5.0)](https://github.com/dotkernel/frontend/actions/workflows/static-analysis.yml)
3333

34-
## Installing DotKernel `frontend`
34+
## Installing Dotkernel `frontend`
3535

36-
- [Installing DotKernel `frontend`](#installing-dotkernel-frontend)
36+
- [Installing Dotkernel `frontend`](#installing-dotkernel-frontend)
3737
- [Composer](#composer)
38-
- [Choose a destination path for DotKernel `frontend` installation](#choosing-an-installation-path-for-dotkernel-frontend)
39-
- [Installing DotKernel Frontend](#installing-dotkernel-frontend)
38+
- [Choose a destination path for Dotkernel `frontend` installation](#choosing-an-installation-path-for-dotkernel-frontend)
39+
- [Installing Dotkernel Frontend](#installing-dotkernel-frontend)
4040
- [Configuration - First Run](#configuration---first-run)
4141
- [Testing (Running)](#running-the-application)
4242

4343
## Tools
4444

45-
DotKernel Frontend interface has been tested with npm v10.0.4 and Node.js v20.11.0.
45+
Dotkernel Frontend interface has been tested with npm v10.0.4 and Node.js v20.11.0.
4646

4747
### Composer
4848

@@ -53,16 +53,16 @@ Installation instructions:
5353

5454
> If you have never used composer before make sure you read the [`Composer Basic Usage`](https://getcomposer.org/doc/01-basic-usage.md) section in Composer's documentation
5555
56-
## Choosing an installation path for DotKernel `frontend`
56+
## Choosing an installation path for Dotkernel `frontend`
5757

5858
Example:
5959

6060
- absolute path `/var/www/dk`
6161
- or relative path `dk` (equivalent with `./dk`)
6262

63-
## Installing DotKernel `frontend`
63+
## Installing Dotkernel `frontend`
6464

65-
After you choose the path for DotKernel Frontend (`dk` will be used for the remainder of this example), let's move onto installation.
65+
After you choose the path for Dotkernel Frontend (`dk` will be used for the remainder of this example), let's move onto installation.
6666

6767
### Note
6868

@@ -77,7 +77,7 @@ Problem 1
7777

7878
To enable an extension, remove the semicolon (;) in front of it.
7979

80-
#### Installing DotKernel `frontend` using git clone
80+
#### Installing Dotkernel `frontend` using git clone
8181

8282
This method ensures that the default branch is installed, even if it is not released. Run the following command:
8383

@@ -100,7 +100,7 @@ Please select which config file you wish to inject 'Laminas\Diactoros\ConfigProv
100100
Make your selection (default is 1):
101101
```
102102
103-
Simply select `[0] Do not inject`, because DotKernel includes its own configProvider which already contains the prompted configurations.
103+
Simply select `[0] Do not inject`, because Dotkernel includes its own configProvider which already contains the prompted configurations.
104104
105105
If you choose `[1] config/config.php` Laminas's `ConfigProvider` from `session` will be injected.
106106
@@ -137,7 +137,7 @@ Also feel free to add as many CCs as you want under the `contact` => `message_re
137137
138138
## Configuration - reCAPTCHA (optional)
139139
140-
reCAPTCHA is used to prevent abusive activities on your website. DotKernel frontend uses the Google reCAPTCHA for its contact us form.
140+
reCAPTCHA is used to prevent abusive activities on your website. Dotkernel frontend uses the Google reCAPTCHA for its contact us form.
141141
You must first generate a `siteKey` and `secretKey` in your Google account - [Google reCAPTCHA](https://www.google.com/recaptcha/admin)
142142
143143
Update the `recaptcha` array in `config/autoload/local.php` with the `siteKey` and `secretKey` from Google reCAPTCHA.
@@ -219,7 +219,7 @@ We recommend running your applications in WSL:
219219
- set `$baseUrl` in **config/autoload/local.php** to the address of the virtualhost
220220
- run the application by opening the virtualhost address in your browser
221221
222-
You should see the `DotKernel Frontend` welcome page.
222+
You should see the `Dotkernel Frontend` welcome page.
223223
224224
**NOTE:**
225225

composer.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"name": "dotkernel/frontend",
33
"type": "project",
4-
"description": "DotKernel Frontend Application",
4+
"description": "Dotkernel Frontend Application",
55
"license": "MIT",
66
"homepage": "https://github.com/dotkernel/frontend",
77
"keywords": [
@@ -13,7 +13,7 @@
1313
],
1414
"authors": [
1515
{
16-
"name": "DotKernel Team",
16+
"name": "Dotkernel Team",
1717
"email": "[email protected]"
1818
}
1919
],

config/autoload/app.global.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
declare(strict_types=1);
44

55
$app = [
6-
'name' => 'DotKernel frontend V3',
6+
'name' => 'Dotkernel frontend V5',
77
];
88

99
return [

config/autoload/local.php.dist

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ $databases = [
2727

2828
return [
2929
'application' => [
30-
'name' => 'DotKernel',
30+
'name' => 'Dotkernel',
3131
'url' => $baseUrl,
3232
],
3333
'databases' => $databases,

config/config.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ class_exists(\Mezzio\Swoole\ConfigProvider::class)
3131
return [];
3232
},
3333

34-
// DotKernel packages
34+
// Dotkernel packages
3535
\Dot\Session\ConfigProvider::class,
3636
\Dot\Mail\ConfigProvider::class,
3737
\Laminas\Form\ConfigProvider::class,

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
1414
},
1515
"keywords": [],
1616
"author": {
17-
"name": "DotKernel Team",
17+
"name": "Dotkernel Team",
1818
"email": "[email protected]"
1919
},
2020
"license": "ISC",

public/css/app.css

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

src/App/assets/scss/components/_pages.scss

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,13 @@
11
/** General elements for pages **/
22
.page-intro {
33
position: relative;
4-
padding: 120px 0;
4+
padding: 100px 0 50px 0;
55
background: #F6F6F6;
66
text-align: center;
77
}
88

99
.page-intro p {
1010
margin: 0 auto;
11-
padding-bottom: 20px;
1211
font-size: 18px;
1312
color: #ABABAB;
1413
max-width: 880px;
@@ -112,7 +111,7 @@
112111
}
113112

114113
.home-list {
115-
padding-top: 150px;
114+
padding-top: 120px;
116115
padding-bottom: 70px;
117116
background: #FFFFFF;
118117
text-align: center;

src/App/templates/app/home.html.twig

Lines changed: 22 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -8,8 +8,8 @@
88
{{ messagesPartial('partial::alerts', {}, null, 'page-home') }}
99
<div class="page-intro home-intro">
1010
<div class="container">
11-
<p class="welcome">Dotkernel is a collection of</p>
12-
<h1>PSR-7 Middleware applications</h1>
11+
<p class="welcome">Dotkernel Frontend is a</p>
12+
<h1>PSR-7 Middleware skeleton</h1>
1313
<p>Built on top of the Mezzio microframework.<br/>Composed of a set of custom and extended Laminas components.</p>
1414
</div>
1515
<div class="arrow_down">
@@ -30,7 +30,11 @@
3030
We have chosen <b>Laminas Service Manager</b> as our default implementation.
3131
</p>
3232
<p>
33-
Get Started with <a href="https://github.com/laminas/laminas-servicemanager" target="_blank" class="text-decoration-none">Laminas Service Manager</a>
33+
Get Started with
34+
<br>
35+
<a href="https://github.com/php-fig/container" target="_blank" class="text-decoration-none">PSR-11</a>
36+
and
37+
<a href="https://github.com/laminas/laminas-servicemanager" target="_blank" class="text-decoration-none">Laminas Service Manager</a>
3438
</p>
3539
</div>
3640
<div class="col-lg-3 col-md-6">
@@ -39,10 +43,14 @@
3943
</h3>
4044
<p>
4145
By default, no middleware in Laminas is templated.
42-
For Dotkernel's Light application, we have chosen <b>Twig</b> as the default templating engine.
46+
For Dotkernel's Frontend application, we have chosen <b>Twig</b> as the default templating engine.
4347
</p>
4448
<p>
45-
Get started with <a href="https://twig.symfony.com/" target="_blank" class="text-decoration-none">Twig</a>
49+
Get started with
50+
<br>
51+
<a href="https://twig.symfony.com/" target="_blank" class="text-decoration-none">Twig</a>
52+
and
53+
<a href="https://github.com/dotkernel/dot-twigrenderer" target="_blank" class="text-decoration-none">Dotkernel TwigRenderer</a>
4654
</p>
4755
</div>
4856

@@ -54,7 +62,9 @@
5462
Among the various routing implementations compatible with Expressive, we have chosen <b>FastRoute</b> as Dotkernel's default routing library.
5563
</p>
5664
<p>
57-
Get started with <a href="https://github.com/nikic/FastRoute" target="_blank" class="text-decoration-none">FastRoute</a>
65+
Get started with
66+
<br>
67+
<a href="https://github.com/nikic/FastRoute" target="_blank" class="text-decoration-none">FastRoute</a>
5868
</p>
5969
</div>
6070
<div class="col-lg-3 col-md-6">
@@ -65,7 +75,11 @@
6575
Laminas, and consequently Dotkernel, is built around the PSR-7 standard.<br />It uses <b>Laminas Diactoros</b> as the PSR-7 implementation.
6676
</p>
6777
<p>
68-
Get started with <a href="https://github.com/php-fig/http-message" target="_blank" class="text-decoration-none">PSR-7</a> and <a href="https://github.com/laminas/laminas-diactoros" target="_blank" class="text-decoration-none">Diactoros</a>
78+
Get started with
79+
<br>
80+
<a href="https://github.com/php-fig/http-message" target="_blank" class="text-decoration-none">PSR-7</a>
81+
and
82+
<a href="https://github.com/laminas/laminas-diactoros" target="_blank" class="text-decoration-none">Laminas Diactoros</a>
6983
</p>
7084
</div>
7185
</div>
@@ -156,7 +170,7 @@
156170
<ul class="list-unstyled list-group list-group-flush">
157171
<li class="list-group-item">
158172
<a href="https://github.com/dotkernel/dot-mail" target="_blank" class="text-decoration-none">dot-mail</a>
159-
(<a href="https://docs.laminas.dev/laminas-mail/" target="_blank" class="text-decoration-none">laminas-mail</a>): send emails using different transport providers
173+
(<a href="https://symfony.com/doc/current/mailer.html" target="_blank" class="text-decoration-none">symfony/mailer</a>): send emails using different transport providers
160174
</li>
161175
</ul>
162176
</div>

0 commit comments

Comments
 (0)