Skip to content

Commit 2ed17dc

Browse files
authored
Merge pull request #114 from dotkernel/issue-92
updated header on index, product pages
2 parents cabf543 + b356909 commit 2ed17dc

14 files changed

Lines changed: 436 additions & 233 deletions

File tree

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.

public/llms-full.txt

Lines changed: 0 additions & 33 deletions
Original file line numberDiff line numberDiff line change
@@ -17523,36 +17523,3 @@ Dotkernel Queue is developed and led by the dev team at Apidemia - built to keep
1752317523

1752417524
[Talk to us →](https://www.dotkernel.com/contact/)
1752517525

17526-
17527-
<!-- ============================================================ -->
17528-
<!-- md-pages/who-we-are.md -->
17529-
<!-- ============================================================ -->
17530-
17531-
---
17532-
title: "Who We Are"
17533-
canonical_url: "https://www.dotkernel.com/who-we-are/"
17534-
language: "en"
17535-
---
17536-
17537-
# demo page
17538-
17539-
WHO WE ARE
17540-
17541-
Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua.
17542-
Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat.
17543-
17544-
## [heading](https://docs.mezzio.dev/mezzio/)
17545-
17546-
Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua.
17547-
Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat.
17548-
17549-
## [heading](https://github.com/laminas/laminas-diactoros)
17550-
17551-
Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua.
17552-
Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat.
17553-
17554-
## [heading](https://github.com/laminas/laminas-stratigility)
17555-
17556-
Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua.
17557-
Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat.
17558-

public/md-pages/who-we-are.md

Lines changed: 0 additions & 27 deletions
This file was deleted.

src/App/assets/scss/components/_custom.scss

Lines changed: 14 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,9 @@ html[data-theme="light"] {
1515
--sage: #8C1729;
1616
--amber-dim: rgba(199, 31, 56, .12);
1717
--teal-dim: rgba(163, 60, 75, .12);
18+
--periwinkle-dim: rgba(74, 70, 62, .12);
19+
--rose-dim: rgba(201, 124, 137, .12);
20+
--sage-dim: rgba(140, 23, 41, .12);
1821
--nav-bg: rgba(251, 249, 244, .86);
1922
--on-accent: #FBF6F0;
2023

@@ -47,6 +50,9 @@ html[data-theme="dark"] {
4750
--sage: #8C1729;
4851
--amber-dim: rgba(218, 53, 80, .16);
4952
--teal-dim: rgba(232, 99, 122, .16);
53+
--periwinkle-dim: rgba(92, 88, 84, .16);
54+
--rose-dim: rgba(240, 169, 182, .16);
55+
--sage-dim: rgba(140, 23, 41, .16);
5056
--nav-bg: rgba(11, 11, 11, .86);
5157

5258
/* Lifted for the dark surfaces; same four states as the light theme. */
@@ -107,7 +113,7 @@ img {
107113
font-size: 12px;
108114
letter-spacing: .14em;
109115
text-transform: uppercase;
110-
color: var(--teal);
116+
color: var(--page-accent, var(--teal));
111117
display: inline-flex;
112118
align-items: center;
113119
gap: 8px;
@@ -117,8 +123,8 @@ img {
117123
width: 6px;
118124
height: 6px;
119125
border-radius: 50%;
120-
background: var(--teal);
121-
box-shadow: 0 0 0 3px var(--teal-dim);
126+
background: var(--page-accent, var(--teal));
127+
box-shadow: 0 0 0 3px var(--page-accent-dim, var(--teal-dim));
122128
}
123129
}
124130

@@ -516,6 +522,11 @@ html[data-theme="light"] .theme-toggle {
516522
margin-top: 20px;
517523
max-width: 520px;
518524
color: var(--text-muted);
525+
526+
strong {
527+
color: var(--page-accent, var(--teal));
528+
font-weight: 600;
529+
}
519530
}
520531
}
521532

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

Lines changed: 68 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,22 @@
22
{% block json_ld %} {{ include('@jsonld/index.jsonld.twig') }} {% endblock %}
33
{% block title %}A PSR-15 compliant application{% endblock %}
44

5+
{% block stylesheets %}
6+
<style>
7+
/* Product org-chart in the hero - scoped to this page. */
8+
.org-chart { display: block; width: 100%; max-width: 380px; height: auto; margin: 6px auto 0; }
9+
.org-chart .oc-line { stroke: var(--text-dim); stroke-width: 1.8; fill: none; }
10+
.org-chart .oc-arrow { fill: var(--text-dim); }
11+
.org-chart .oc-badge { fill: var(--surface); stroke: var(--border); stroke-width: 1.5; }
12+
.org-chart .oc-icon * { fill: none; stroke: var(--text-dim); stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
13+
.org-chart .oc-label { font-family: var(--mono); font-size: 9.5px; letter-spacing: .04em; text-transform: uppercase; fill: var(--text-dim); text-anchor: middle; }
14+
.org-chart .oc-admin { fill: #E2862E; }
15+
.org-chart .oc-queue { fill: #22A06B; }
16+
.org-chart .oc-api { fill: var(--brand-red); }
17+
.org-chart .oc-box-name { font-family: var(--mono); font-weight: 700; text-anchor: middle; fill: var(--on-accent); text-shadow: 0 1px 2px rgba(0, 0, 0, .35); }
18+
</style>
19+
{% endblock %}
20+
521
{% block content %}
622

723
<section class="hero">
@@ -29,15 +45,58 @@
2945
</div>
3046

3147
<div class="pipeline">
32-
<div class="pipeline-label"><span>Request lifecycle</span></div>
33-
<div class="pipeline-track">
34-
<div class="pl-packet" aria-hidden="true"></div>
35-
<div class="pl-step"><span class="name">Router</span><span class="tag">FastRoute</span></div>
36-
<div class="pl-step"><span class="name">Authentication</span><span class="tag">dot-authentication</span></div>
37-
<div class="pl-step"><span class="name">RBAC guard</span><span class="tag">dot-rbac-guard</span></div>
38-
<div class="pl-step"><span class="name">Your handler</span><span class="tag">PSR-15</span></div>
39-
<div class="pl-step"><span class="name">Response</span><span class="tag">Diactoros</span></div>
40-
</div>
48+
<div class="pipeline-label"><span>Three products, one core</span></div>
49+
<svg class="org-chart" viewBox="0 0 400 420" role="img" aria-label="An Admin box with an arrow into a Queue box, a double arrow down to a central API box, and four double arrows from the API box down to icon boxes for a smartphone, a computer, a person, and a cloud">
50+
<defs>
51+
<marker id="oc-arrowhead" viewBox="0 0 10 10" refX="9" refY="5" markerWidth="7" markerHeight="7" orient="auto-start-reverse">
52+
<path d="M0,0 L10,5 L0,10 Z" class="oc-arrow"/>
53+
</marker>
54+
</defs>
55+
56+
<rect class="oc-admin" x="30" y="20" width="90" height="44" rx="8"/>
57+
<text class="oc-box-name" x="75" y="47" font-size="14">Admin</text>
58+
59+
<rect class="oc-queue" x="155" y="20" width="90" height="44" rx="8"/>
60+
<text class="oc-box-name" x="200" y="47" font-size="14">Queue</text>
61+
62+
<rect class="oc-api" x="130" y="160" width="140" height="80" rx="12"/>
63+
<text class="oc-box-name" x="200" y="209" font-size="26">API</text>
64+
65+
<circle class="oc-badge" cx="74" cy="348" r="32"/>
66+
<g class="oc-icon" transform="translate(74,348)">
67+
<rect x="-6" y="-11" width="12" height="22" rx="2.5"/>
68+
<line x1="-3" y1="8" x2="3" y2="8"/>
69+
</g>
70+
<text class="oc-label" x="74" y="392">Mobile</text>
71+
72+
<circle class="oc-badge" cx="158" cy="348" r="32"/>
73+
<g class="oc-icon" transform="translate(158,348)">
74+
<rect x="-10" y="-8" width="20" height="13" rx="1.5"/>
75+
<line x1="0" y1="5" x2="0" y2="8"/>
76+
<line x1="-6" y1="9" x2="6" y2="9"/>
77+
</g>
78+
<text class="oc-label" x="158" y="392">Client</text>
79+
80+
<circle class="oc-badge" cx="242" cy="348" r="32"/>
81+
<g class="oc-icon" transform="translate(242,348)">
82+
<circle cx="0" cy="-4" r="5"/>
83+
<path d="M -9,10 C -9,2 9,2 9,10"/>
84+
</g>
85+
<text class="oc-label" x="242" y="392">Users</text>
86+
87+
<circle class="oc-badge" cx="326" cy="348" r="32"/>
88+
<g class="oc-icon" transform="translate(326,348)">
89+
<path d="M -6,-4 C -6,-7 -3,-9 0,-9 C 3,-9 6,-7 6,-4 C 9,-4 11,-2 11,1 C 11,3.5 9,5 6,5 L -8,5 C -11,5 -13,3 -13,0 C -13,-2.5 -11,-4.5 -8,-4.5 C -7.3,-4.5 -6.6,-4.3 -6,-4 Z"/>
90+
</g>
91+
<text class="oc-label" x="326" y="392">Cloud</text>
92+
93+
<line class="oc-line" x1="120" y1="42" x2="155" y2="42" marker-end="url(#oc-arrowhead)"/>
94+
<line class="oc-line" x1="200" y1="64" x2="200" y2="160" marker-start="url(#oc-arrowhead)" marker-end="url(#oc-arrowhead)"/>
95+
<line class="oc-line" x1="200" y1="240" x2="74" y2="316" marker-start="url(#oc-arrowhead)" marker-end="url(#oc-arrowhead)"/>
96+
<line class="oc-line" x1="200" y1="240" x2="158" y2="316" marker-start="url(#oc-arrowhead)" marker-end="url(#oc-arrowhead)"/>
97+
<line class="oc-line" x1="200" y1="240" x2="242" y2="316" marker-start="url(#oc-arrowhead)" marker-end="url(#oc-arrowhead)"/>
98+
<line class="oc-line" x1="200" y1="240" x2="326" y2="316" marker-start="url(#oc-arrowhead)" marker-end="url(#oc-arrowhead)"/>
99+
</svg>
41100
</div>
42101
</div>
43102
</section>

src/Page/templates/page/about.html.twig

Lines changed: 51 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -9,16 +9,30 @@
99

1010
{% block title %}About Us{% endblock %}
1111

12+
{% block stylesheets %}
13+
<style>
14+
/* Pyramid layout in the hero - scoped to this page. */
15+
.pyramid { display: flex; flex-direction: column-reverse; align-items: center; margin-top: 10px; }
16+
.pyramid-item { width: 100%; background: var(--surface); border: 1px solid var(--border); border-radius: 10px; padding: 12px 18px; display: flex; align-items: center; gap: 12px; }
17+
.pyramid-item .pyr-icon { flex-shrink: 0; width: 22px; height: 22px; }
18+
.pyramid-item .pyr-icon * { fill: none; stroke: var(--page-accent, var(--sage)); stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }
19+
.pyramid-item .pyr-text { display: flex; flex-direction: column; gap: 2px; }
20+
.pyramid-item .name { font-family: var(--mono); font-size: 13.5px; font-weight: 600; color: var(--text); }
21+
.pyramid-item .tag { font-family: var(--mono); font-size: 10.5px; color: var(--text-dim); }
22+
.pyramid-arrow { width: 18px; height: 14px; margin: 6px 0; fill: none; stroke: var(--text-dim); stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
23+
</style>
24+
{% endblock %}
25+
1226
{% block content %}
1327

14-
<section class="hero">
28+
<section class="hero" style="--page-accent:var(--sage); --page-accent-dim:var(--sage-dim)">
1529
<div class="wrap hero-grid">
1630
<div>
1731
<span class="eyebrow">About us · Apidemia</span>
1832
<h1>The team behind Dotkernel</h1>
1933
<p class="sub">
2034
Dotkernel started as an internal tool for handling complex architectures, built because we needed
21-
it ourselves. We released it under MIT because the PHP community gave us the components it stands
35+
it ourselves. We released it under <strong>MIT</strong> because the <strong>PHP community</strong> gave us the components it stands
2236
on. Everything here is made by a team that has to live with its own decisions.
2337
</p>
2438
<div class="hero-ctas">
@@ -40,14 +54,41 @@
4054
<div class="hero-visual">
4155
<div class="pipeline">
4256
<div class="pipeline-label"><span>How a change ships</span></div>
43-
<div class="pipeline-track">
44-
<div class="pl-packet" aria-hidden="true"></div>
45-
<div class="pl-step"><span class="name">Propose</span><span class="tag">plan before code</span></div>
46-
<div class="pl-step"><span class="name">Build</span><span class="tag">house structure</span></div>
47-
<div class="pl-step"><span class="name">Review</span><span class="tag">another pair of eyes</span></div>
48-
<div class="pl-step"><span class="name">QA gate</span><span class="tag">cs · PHPStan · tests</span></div>
49-
<div class="pl-step"><span class="name">Document</span><span class="tag">for the next person</span></div>
50-
<div class="pl-step"><span class="name">Release</span><span class="tag">MIT, in public</span></div>
57+
<div class="pyramid">
58+
<div class="pyramid-item" style="width:100%">
59+
<svg class="pyr-icon" viewBox="0 0 20 20"><path d="M10 3a5 5 0 0 0-3 9c.6.5 1 1.2 1 2h4c0-.8.4-1.5 1-2a5 5 0 0 0-3-9z"/><line x1="8" y1="17" x2="12" y2="17"/><line x1="8.5" y1="19" x2="11.5" y2="19"/></svg>
60+
<div class="pyr-text"><span class="name">Propose</span><span class="tag">plan before code</span></div>
61+
</div>
62+
<svg class="pyramid-arrow" viewBox="0 0 20 12"><path d="M2 10 L10 2 L18 10"/></svg>
63+
64+
<div class="pyramid-item" style="width:88%">
65+
<svg class="pyr-icon" viewBox="0 0 20 20"><rect x="6" y="4" width="8" height="5" rx="1"/><rect x="3" y="11" width="7" height="5" rx="1"/><rect x="11" y="11" width="6" height="5" rx="1"/></svg>
66+
<div class="pyr-text"><span class="name">Build</span><span class="tag">house structure</span></div>
67+
</div>
68+
<svg class="pyramid-arrow" viewBox="0 0 20 12"><path d="M2 10 L10 2 L18 10"/></svg>
69+
70+
<div class="pyramid-item" style="width:76%">
71+
<svg class="pyr-icon" viewBox="0 0 20 20"><circle cx="8.5" cy="8.5" r="5.5"/><line x1="13" y1="13" x2="17.5" y2="17.5"/></svg>
72+
<div class="pyr-text"><span class="name">Review</span><span class="tag">another pair of eyes</span></div>
73+
</div>
74+
<svg class="pyramid-arrow" viewBox="0 0 20 12"><path d="M2 10 L10 2 L18 10"/></svg>
75+
76+
<div class="pyramid-item" style="width:64%">
77+
<svg class="pyr-icon" viewBox="0 0 20 20"><path d="M10 2l7 3v6c0 4-3 6.5-7 7-4-.5-7-3-7-7V5z"/><path d="M7 10l2.2 2.2L13.5 8"/></svg>
78+
<div class="pyr-text"><span class="name">QA gate</span><span class="tag">cs · PHPStan · tests</span></div>
79+
</div>
80+
<svg class="pyramid-arrow" viewBox="0 0 20 12"><path d="M2 10 L10 2 L18 10"/></svg>
81+
82+
<div class="pyramid-item" style="width:52%">
83+
<svg class="pyr-icon" viewBox="0 0 20 20"><rect x="5" y="2" width="10" height="16" rx="1.5"/><line x1="8" y1="7" x2="12" y2="7"/><line x1="8" y1="10.5" x2="12" y2="10.5"/><line x1="8" y1="14" x2="11" y2="14"/></svg>
84+
<div class="pyr-text"><span class="name">Document</span><span class="tag">for the next person</span></div>
85+
</div>
86+
<svg class="pyramid-arrow" viewBox="0 0 20 12"><path d="M2 10 L10 2 L18 10"/></svg>
87+
88+
<div class="pyramid-item" style="width:40%">
89+
<svg class="pyr-icon" viewBox="0 0 20 20"><path d="M5 15h10"/><path d="M10 13V3"/><path d="M6.5 7.5L10 3l3.5 4.5"/></svg>
90+
<div class="pyr-text"><span class="name">Release</span><span class="tag">MIT, in public</span></div>
91+
</div>
5192
</div>
5293
</div>
5394
</div>

0 commit comments

Comments
 (0)