Skip to content

Commit 5ffc8e3

Browse files
committed
Style for Shared domain layer section, update old twigs without html tag
1 parent 4407d42 commit 5ffc8e3

6 files changed

Lines changed: 66 additions & 37 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.

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

Lines changed: 50 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -133,6 +133,56 @@ section {
133133
}
134134
}
135135

136+
.core-band {
137+
display: flex;
138+
flex-direction: column;
139+
gap: 8px;
140+
background: var(--surface-2);
141+
border: 1px solid var(--border-soft);
142+
border-left: 3px solid var(--teal);
143+
border-radius: var(--radius);
144+
padding: 10px 26px;
145+
margin-bottom: 40px;
146+
}
147+
148+
.core-band-label {
149+
font-family: var(--mono);
150+
font-size: 12px;
151+
letter-spacing: .14em;
152+
text-transform: uppercase;
153+
color: var(--teal);
154+
display: inline-flex;
155+
align-items: center;
156+
gap: 8px;
157+
158+
&::before {
159+
content: "";
160+
width: 6px;
161+
height: 6px;
162+
border-radius: 50%;
163+
background: var(--teal);
164+
box-shadow: 0 0 0 3px var(--teal-dim);
165+
}
166+
}
167+
168+
.core-band code {
169+
font-family: var(--mono);
170+
font-size: 13px;
171+
color: var(--teal);
172+
background: var(--teal-dim);
173+
border: 1px solid var(--teal);
174+
border-radius: 6px;
175+
padding: 4px 10px;
176+
margin: 0 6px 6px 0;
177+
display: inline-block;
178+
}
179+
180+
.core-band p {
181+
font-size: 15px;
182+
line-height: 1.65;
183+
max-width: 780px;
184+
}
185+
136186
/* ============================================================
137187
Header / Bootstrap navbar
138188
============================================================ */

src/App/templates/partial/meta.html.twig

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
{% set ogImage = meta.openGraphImage ?? null %}
12
<meta http-equiv="X-UA-Compatible" content="IE=edge" />
23
<meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no" />
34
<meta name="msapplication-TileColor" content="#2d89ef">
@@ -6,7 +7,7 @@
67
<meta name="description" content="{{ (meta.description ?? meta.excerpt ?? app.meta.description) }}"/>
78
<meta property="og:title" content="{{ meta.title ?? app.meta.title }}"/>
89
<meta property="og:description" content="{{ (meta.description ?? meta.excerpt ?? app.meta.description) }}"/>
9-
<meta property="og:image" content="{{ (meta is defined and meta.openGraphImage) ? (app.baseUrl ~ meta.openGraphImage) : app.meta.image }}"/>
10+
<meta property="og:image" content="{{ ogImage ? (app.baseUrl ~ ogImage) : app.meta.image }}"/>
1011
<meta property="og:type" content="{{ meta.type ?? app.meta.type }}"/>
1112
<meta property="og:site_name" content="{{ app.meta.siteName }}"/>
1213
<meta property="og:url" content="{{ meta.url ?? (routeName is defined and routeName ? url(routeName) : app.baseUrl) }}"/>
Binary file not shown.
Lines changed: 4 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -1,15 +1,8 @@
11
{% extends '@layout/blog-post.html.twig' %}
22

33
{% block body %}
4-
EOL ( End-of-Life)  term was just announced.
5-
6-
Only up until Sept. 28,2016 , Zend Framework 1 will receive security updates.
7-
8-
 
9-
10-
" With the release of Zend Framework 3, it's time to halt development on Zend Framework 1. As such, we hereby announce that Zend Framework 1 reaches its End of Life (EOL) three months from today, on 28 September 2016. "
11-
12-
 
13-
14-
Read the official <a href="https://framework.zend.com/blog/2016-06-28-zf1-eol.html" target="_blank" rel="noopener noreferrer">announcement .</a>
4+
<p class="mb-3">EOL (End-of-Life) term was just announced.</p>
5+
<p class="mb-3">Only up until Sept. 28, 2016, Zend Framework 1 will receive security updates.</p>
6+
<p class="mb-3">"With the release of Zend Framework 3, it's time to halt development on Zend Framework 1. As such, we hereby announce that Zend Framework 1 reaches its End of Life (EOL) three months from today, on 28 September 2016."</p>
7+
<p class="mb-3">Read the official <a href="https://framework.zend.com/blog/2016-06-28-zf1-eol.html" target="_blank" rel="noopener noreferrer">announcement</a>.</p>
158
{% endblock %}
Original file line numberDiff line numberDiff line change
@@ -1,28 +1,13 @@
11
{% extends '@layout/blog-post.html.twig' %}
22

33
{% block body %}
4-
The release of ZF 1.12.12 was just announced,  with Security Updates especially on
5-
Zend_Mail and Zend_Http components.
6-
7-
For more information, please read the official release announcement:
8-
<a href="http://bit.ly/1Hr0K6e" target="_blank" rel="noopener noreferrer">Zend Framework 1.12.12 Released</a>
9-
10-
Also, the ZF  PEAR channel was updated to latest 1.12.12 release.
11-
12-
<strong>pear upgrade zend/zend</strong>
13-
14-
We strongly recommend that consumers of the Zend_Http and Zend_Mail components upgrade immediately.
15-
Also, Dotkernel Application Framework use intensively the Zend_Mail component.
16-
17-
If you cannot, you can download the patch separately and apply it to your ZF install:
18-
19-
<a href="https://packages.zendframework.com/releases/ZendFramework-1.12.12/0001-ZF2015-04-Fix-CRLF-injections-in-HTTP-and-Mail.patch" target="_blank" rel="noopener noreferrer">ZF2015-04 patch for ZF1</a>
20-
21-
&nbsp;
22-
23-
<strong>May 20, 2015 EDIT:</strong>
24-
25-
Zend Framework 1.12.13 was released, in order to fix a regression issue introduced in 1.12.12 release.
26-
27-
<a href="http://framework.zend.com/blog/zend-framework-1-12-13-released.html" target="_blank" rel="noopener noreferrer">Release Announcement </a>
4+
<p class="mb-3">The release of ZF 1.12.12 was just announced, with Security Updates especially on Zend_Mail and Zend_Http components.</p>
5+
<p class="mb-3">For more information, please read the official release announcement: <a href="http://bit.ly/1Hr0K6e" target="_blank" rel="noopener noreferrer">Zend Framework 1.12.12 Released</a></p>
6+
<p class="mb-3">Also, the ZF PEAR channel was updated to latest 1.12.12 release.</p>
7+
<p class="mb-3"><strong>pear upgrade zend/zend</strong></p>
8+
<p class="mb-3">We strongly recommend that consumers of the Zend_Http and Zend_Mail components upgrade immediately. Also, Dotkernel Application Framework use intensively the Zend_Mail component.</p>
9+
<p class="mb-3">If you cannot, you can download the patch separately and apply it to your ZF install: <a href="https://packages.zendframework.com/releases/ZendFramework-1.12.12/0001-ZF2015-04-Fix-CRLF-injections-in-HTTP-and-Mail.patch" target="_blank" rel="noopener noreferrer">ZF2015-04 patch for ZF1</a></p>
10+
<p class="mb-3"><strong>May 20, 2015 EDIT:</strong></p>
11+
<p class="mb-3">Zend Framework 1.12.13 was released, in order to fix a regression issue introduced in 1.12.12 release.</p>
12+
<p class="mb-3"><a href="http://framework.zend.com/blog/zend-framework-1-12-13-released.html" target="_blank" rel="noopener noreferrer">Release Announcement</a></p>
2813
{% endblock %}

0 commit comments

Comments
 (0)