Skip to content

Commit 439a518

Browse files
chore(): update sponsors
1 parent 050505f commit 439a518

File tree

4 files changed

+39
-19
lines changed

4 files changed

+39
-19
lines changed

src/app/homepage/homepage.component.html

Lines changed: 12 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -26,18 +26,25 @@ <h3>Support us</h3>
2626
<div class="row clearfix">
2727
<div class="inline-column">
2828
<h4 class="title">Principal Sponsors</h4>
29-
<a href="https://github.com/Sanofi-IADC" target="_blank">
29+
<a href="https://trilon.io/" target="_blank" class="logo-sponsor-container">
30+
<img
31+
src="/assets/sponsors/trilon.svg"
32+
alt="Trilon Logo"
33+
class="logo-sponsor"
34+
/>
35+
</a>
36+
<a href="https://github.com/Sanofi-IADC" target="_blank" class="logo-sponsor-container">
3037
<img
3138
src="/assets/sponsors/sanofi.png"
3239
alt="Sanofi Logo"
3340
class="logo-sponsor"
3441
/>
3542
</a>
36-
<a href="https://trilon.io/" target="_blank">
43+
<a href="https://nx.dev/" target="_blank" class="logo-sponsor-container">
3744
<img
38-
src="/assets/sponsors/trilon.svg"
39-
alt="Trilon Logo"
40-
class="logo-sponsor"
45+
src="/assets/sponsors/nx-logo.png"
46+
alt="Nx Logo"
47+
class="logo-sponsor logo-sponsor--slim"
4148
/>
4249
</a>
4350
</div>

src/app/homepage/homepage.component.scss

Lines changed: 23 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -170,24 +170,37 @@
170170
color: #4e4e4e;
171171
}
172172

173-
.logo-sponsor {
174-
//width: 280px;
173+
.logo-sponsor-container {
174+
display: inline-block;
175175
margin-top: 10px;
176+
margin-right: 15px;
177+
margin-bottom: 10px;
178+
179+
&:last-of-type {
180+
margin-right: 0;
181+
margin-bottom: 0;
182+
}
183+
@media (max-width: 480px) {
184+
display: block;
185+
margin-bottom: 20px;
186+
187+
&:last-of-type {
188+
margin-bottom: 0;
189+
}
190+
}
191+
}
192+
.logo-sponsor {
176193
width: 180px;
177194
filter: grayscale(1);
178-
&:first-of-type {
179-
margin-right: 30px;
180-
margin-bottom: 10px;
181-
}
195+
182196
&:hover {
183197
filter: grayscale(0);
184198
}
185199
}
186200

187-
.logo-sponsor-small {
188-
width: 150px;
189-
margin-bottom: 30px;
190-
display: block;
201+
.logo-sponsor--slim {
202+
width: auto;
203+
max-height: 40px;
191204
}
192205

193206
.logo-blueanchor {

src/app/homepage/pages/microservices/custom-transport/custom-transport.component.html

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -197,8 +197,8 @@ <h4 appAnchor id="message-serialization"><span>Message serialization</span></h4>
197197
<p>If you need to add some custom logic around the serialization of responses on the client side, you can use a custom class that extends the <code>ClientProxy</code> class or one of its child classes. For modifying successful requests you can override the <code>serializeResponse</code> method, and for modifying any errors that go through this client you can override the <code>serializeError</code> method. To make use of this custom class, you can pass the class itself to the <code>ClientsModule.register()</code> method using the <code>customClass</code> property. Below is an example of a custom <code>ClientProxy</code> that serializes each error into an <code>RpcException</code>.</p>
198198

199199
<span class="filename">
200-
{{ 'error-handling.proxy' | extension: app37591e0f00090be59cdd04c6c4aa7f47d21ed33c.isJsActive }}
201-
<app-tabs #app37591e0f00090be59cdd04c6c4aa7f47d21ed33c></app-tabs>
200+
{{ 'error-handling.proxy' | extension: app16cc53a7034a917c2505fb12b5e21234e5db21e9.isJsActive }}
201+
<app-tabs #app16cc53a7034a917c2505fb12b5e21234e5db21e9></app-tabs>
202202
</span><pre><code class="language-typescript">
203203
import &#123; ClientTcp, RpcException &#125; from &#39;@nestjs/microservices&#39;;
204204

@@ -210,8 +210,8 @@ <h4 appAnchor id="message-serialization"><span>Message serialization</span></h4>
210210
</code></pre><p>and then use it in the <code>ClientsModule</code> like so:</p>
211211

212212
<span class="filename">
213-
{{ 'app.module' | extension: app8e7d939eefa181bf7634362268838b383adc08c2.isJsActive }}
214-
<app-tabs #app8e7d939eefa181bf7634362268838b383adc08c2></app-tabs>
213+
{{ 'app.module' | extension: app0464606ceba687fcf08da26d2699315605a7c361.isJsActive }}
214+
<app-tabs #app0464606ceba687fcf08da26d2699315605a7c361></app-tabs>
215215
</span><pre><code class="language-typescript">
216216
@Module(&#123;
217217
imports: [

src/assets/sponsors/nx-logo.png

22 KB
Loading

0 commit comments

Comments
 (0)