diff --git a/src/View/Components/Card.php b/src/View/Components/Card.php
index 0307a0a..57c76fc 100644
--- a/src/View/Components/Card.php
+++ b/src/View/Components/Card.php
@@ -12,7 +12,9 @@ class Card extends Component
public function __construct(
public ?string $title = null,
+ public ?string $titleSEO = null,
public ?string $subtitle = null,
+ public ?string $subtitleSEO = null,
public ?bool $separator = false,
public ?bool $shadow = false,
public ?string $progressIndicator = null,
@@ -56,12 +58,54 @@ public function render(): View|Closure|string
@if($title)
attributes->get('class') ]) >
- {{ $title }}
+ @switch($titleSEO)
+ @case("h1")
+
{{ $title }}
+ @break
+ @case("h2")
+ {{ $title }}
+ @break
+ @case("h3")
+ {{ $title }}
+ @break
+ @case("h4")
+ {{ $title }}
+ @break
+ @case("h5")
+ {{ $title }}
+ @break
+ @case("h6")
+ {{ $title }}
+ @break
+ @default
+ {{ $title }}
+ @endswitch
@endif
@if($subtitle)
attributes->get('class') ]) >
- {{ $subtitle }}
+ @switch($subtitleSEO)
+ @case("h1")
+
{{ $subtitle }}
+ @break
+ @case("h2")
+ {{ $subtitle }}
+ @break
+ @case("h3")
+ {{ $subtitle }}
+ @break
+ @case("h4")
+ {{ $subtitle }}
+ @break
+ @case("h5")
+ {{ $subtitle }}
+ @break
+ @case("h6")
+ {{ $subtitle }}
+ @break
+ @default
+ {{ $subtitle }}
+ @endswitch
@endif