'
- . ''
- . '| '
- . ' Przegląd procesów '
+ . ''
+ . '| '
+ . diagnostic_email_brand_marker_html()
+ . ' Przegląd procesów '
. '' . $safeSubject . ' '
. ' | '
. '| ' . $contentHtml . ' | '
@@ -446,7 +453,7 @@ function diagnostic_email_list(array $items, string $accentColor = '#111827'): s
{
$html = '';
foreach ($items as $item) {
- $html .= '- • ' . diagnostic_email_escape((string)$item) . '
';
+ $html .= '- ' . diagnostic_email_escape((string)$item) . '
';
}
return $html . ' ';
}
@@ -696,6 +703,9 @@ function diagnostic_build_report_text(array $attempt, array $copy): string
{
$result = $attempt['result'] ?? [];
$lines = [];
+ $lines[] = 'DOKTOR BIZNES';
+ $lines[] = 'Gdy Twój biznes potrzebuje trafnej diagnozy';
+ $lines[] = '';
$lines[] = (string)($copy['subject'] ?? 'Raport z diagnozy dojrzałości procesowej');
$lines[] = 'Wynik: ' . ($result['segment_label'] ?? 'Diagnoza zakończona') . ' (' . (int)($result['percentage_score'] ?? 0) . '%)';
$lines[] = '';
@@ -735,12 +745,35 @@ function diagnostic_strip_legacy_report_cta(array $package): array
'',
$html
) ?? $html;
+ $html = str_replace(
+ 'background:linear-gradient(135deg,#111827 0%,#1f2937 100%);color:#ffffff;',
+ 'background:linear-gradient(135deg,#38a7e8 0%,#1d88d4 46%,#0e5fb5 100%);color:#ffffff;',
+ $html
+ );
+ $html = preg_replace(
+ '~•\s*([^<].*?)~u',
+ '$1',
+ $html
+ ) ?? $html;
+ if (strpos($html, 'DOKTOR BIZNES') === false) {
+ $html = preg_replace(
+ '~()~u',
+ '$1' . diagnostic_email_brand_marker_html(),
+ $html,
+ 1
+ ) ?? $html;
+ }
}
if ($text !== '') {
$text = preg_replace('/^.*omówić wynik z zespołem.*$/miu', '', $text) ?? $text;
- $text = preg_replace('/
-{3,}/', "\n\n", $text) ?? $text;
+ if ((function_exists('mb_stripos') ? mb_stripos($text, 'DOKTOR BIZNES', 0, 'UTF-8') : stripos($text, 'DOKTOR BIZNES')) === false) {
+ $text = "DOKTOR BIZNES
+Gdy Twój biznes potrzebuje trafnej diagnozy
+
+" . ltrim($text);
+ }
+ $text = preg_replace('/\n{3,}/', "\n\n", $text) ?? $text;
$text = trim($text);
}
diff --git a/assets/css/custom.css b/assets/css/custom.css
index b0aa3bb..6168990 100644
--- a/assets/css/custom.css
+++ b/assets/css/custom.css
@@ -1,3 +1,15 @@
+
+@media (max-width: 767.98px) {
+ .doctor-biznes-badge {
+ width: 100%;
+ border-radius: 1rem;
+ }
+
+ .doctor-biznes-badge__tagline {
+ font-size: 0.82rem;
+ }
+}
+
:root {
--bg: #f5f6f8;
--surface: #ffffff;
@@ -155,6 +167,43 @@ h6 {
background: var(--surface-muted);
}
+
+.doctor-biznes-badge {
+ display: inline-flex;
+ flex-wrap: wrap;
+ align-items: center;
+ gap: 0.7rem;
+ padding: 0.65rem 1rem;
+ border-radius: 999px;
+ color: #ffffff;
+ background: linear-gradient(135deg, #38a7e8 0%, #1d88d4 46%, #0e5fb5 100%);
+ box-shadow: 0 10px 28px rgba(14, 95, 181, 0.18);
+}
+
+.doctor-biznes-badge--compact {
+ padding: 0.5rem 0.85rem;
+}
+
+.doctor-biznes-badge__label {
+ font-size: 0.78rem;
+ line-height: 1;
+ font-weight: 800;
+ letter-spacing: 0.16em;
+ text-transform: uppercase;
+ white-space: nowrap;
+}
+
+.doctor-biznes-badge__label em {
+ color: #ff9c57;
+ font-style: normal;
+}
+
+.doctor-biznes-badge__tagline {
+ font-size: 0.9rem;
+ line-height: 1.4;
+ color: rgba(255, 255, 255, 0.9);
+}
+
.feature-list,
.rank-list,
.answer-review-list {
diff --git a/assets/pasted-20260411-193055-cf804299.png b/assets/pasted-20260411-193055-cf804299.png
new file mode 100644
index 0000000..fda481e
Binary files /dev/null and b/assets/pasted-20260411-193055-cf804299.png differ
diff --git a/diagnostic.php b/diagnostic.php
index 74412a7..3efde06 100644
--- a/diagnostic.php
+++ b/diagnostic.php
@@ -183,6 +183,7 @@ $meta = diagnostic_meta('Diagnoza dojrzałości procesowej', 'Profesjonalna diag
+ DOKTOR BIZNESGdy Twój biznes potrzebuje trafnej diagnozy
Narzędzie diagnostyczne
= htmlspecialchars($definition['quiz']['title']) ?>
= htmlspecialchars($definition['quiz']['subtitle']) ?>
@@ -262,6 +263,7 @@ $meta = diagnostic_meta('Diagnoza dojrzałości procesowej', 'Profesjonalna diag
+ DOKTOR BIZNESDiagnoza operacyjna
= htmlspecialchars($currentQuestion['section_name']) ?>
= htmlspecialchars($currentQuestion['text']) ?>
Pytanie = $currentStep ?> z = $totalQuestions ?>. Odpowiedz zgodnie z aktualnym stanem organizacji, a nie stanem docelowym.
@@ -301,6 +303,7 @@ $meta = diagnostic_meta('Diagnoza dojrzałości procesowej', 'Profesjonalna diag
+ DOKTOR BIZNESPodsumowanie diagnozy
Podsumowanie diagnozy
= htmlspecialchars($result['segment_label'] ?? 'Diagnoza zakończona') ?>
= htmlspecialchars($result['segment_summary'] ?? '') ?>
diff --git a/index.php b/index.php
index 38088aa..c776ab9 100644
--- a/index.php
+++ b/index.php
@@ -42,6 +42,7 @@ $meta = diagnostic_meta('Diagnoza dojrzałości procesowej', 'Profesjonalne narz
+ DOKTOR BIZNESGdy Twój biznes potrzebuje trafnej diagnozy
Narzędzie dla firm B2B i zespołów operacyjnych
Sprawdź, na ile procesy w Twojej firmie są gotowe do wzrostu.
To narzędzie pomaga właścicielom firm, dyrektorom zarządzającym i liderom operacyjnym szybko ocenić dojrzałość operacyjną organizacji, wskazać obszary chaosu i ustalić priorytety zmian.
| | |