diff --git a/public/assets/images/blog/2025/code-refactoring.png b/public/assets/images/blog/2025/code-refactoring.png new file mode 100644 index 000000000..4a89e1452 Binary files /dev/null and b/public/assets/images/blog/2025/code-refactoring.png differ diff --git a/resources/blog/posts/2025/2025-03-03-how-to-strangle-your-project-with-strangle-anti-pattern.md b/resources/blog/posts/2025/2025-03-03-how-to-strangle-your-project-with-strangle-anti-pattern.md index d06eede8f..1c028b82c 100644 --- a/resources/blog/posts/2025/2025-03-03-how-to-strangle-your-project-with-strangle-anti-pattern.md +++ b/resources/blog/posts/2025/2025-03-03-how-to-strangle-your-project-with-strangle-anti-pattern.md @@ -22,7 +22,7 @@ Let's say we have an old CakePHP, CodeIgniter, Yii, or plain PHP project and you In practice, it can look something like:
- +
From Monolith to Microservices diff --git a/resources/css/app.scss b/resources/css/app.scss index 234e06a4e..7836af446 100644 --- a/resources/css/app.scss +++ b/resources/css/app.scss @@ -294,6 +294,44 @@ h4 { .text-body { font-size: 1.1em; } + + .perex { + margin-top: 1em; + margin-bottom: 1em; + font-size: 1.4em; + padding: .7em 0; + } + + .text-body { + font-size: 1.2em; + } + + @media (max-width: 750px) { + h1 { + font-size: 1.5em; + line-height: 1.5em; + } + + h2 { + font-size: 1.2em; + line-height: 1.4em; + } + + .perex { + font-size: 1.1em; + } + + .text-body { + font-size: 1.1em; + } + } +} + +#blog { + h2 { + font-size: 1.4em; + } + } #homepage { @@ -451,17 +489,6 @@ label.required:before { h2 { margin-top: 1em; } - - .perex { - margin-top: 1em; - margin-bottom: 1em; - font-size: 1.4em; - padding: .7em 0; - } - - .text-body { - font-size: 1.2em; - } } #documentation { diff --git a/resources/views/blog/blog.blade.php b/resources/views/blog/blog.blade.php index f7ee7a684..120836226 100644 --- a/resources/views/blog/blog.blade.php +++ b/resources/views/blog/blog.blade.php @@ -2,13 +2,13 @@ @section('main')
-

{{ $page_title }}

+

{{ $page_title }}

@php /** @var \App\Entity\Post[] $posts */ @endphp @foreach ($posts as $post)