diff --git a/resources/views/components/front/sections/profession.blade.php b/resources/views/components/front/sections/profession.blade.php new file mode 100644 index 00000000..e174890e --- /dev/null +++ b/resources/views/components/front/sections/profession.blade.php @@ -0,0 +1,22 @@ +@if(isset($profession)) +
+
+
+ {{ $profession['title'] }} + @include('front.partials.borders', [ + 'borders' => !empty($profession['image_borders']) ? $profession['image_borders'] : [] + ]) +
+
+
+

{{ $profession['title'] }}

+
+
    + @foreach ($profession['list'] as $l) +
  • {{ $l }}
  • + @endforeach +
+
+
+
+@endif diff --git a/resources/views/components/front/sections/testimonial.blade.php b/resources/views/components/front/sections/testimonial.blade.php new file mode 100644 index 00000000..0cc4eaff --- /dev/null +++ b/resources/views/components/front/sections/testimonial.blade.php @@ -0,0 +1,19 @@ +@if(!empty($testimonial)) +
+
+ {{ $testimonial['author'] }} +
+
+
{{ $testimonial['text'] }}
+
{{ $testimonial['author'] }}
+
+
+
+
+

+ {!! $testimonial['description'] !!} +

+
+
+
+@endif diff --git a/resources/views/components/front/sections/title.blade.php b/resources/views/components/front/sections/title.blade.php index 86ecaaa2..c66629b6 100644 --- a/resources/views/components/front/sections/title.blade.php +++ b/resources/views/components/front/sections/title.blade.php @@ -1,6 +1,6 @@ -

+

{{ $title }} @if (isset($subtitle)) - {{ $subtitle }} + {{ $subtitle }} @endif

diff --git a/resources/views/components/front/sections/training-path.blade.php b/resources/views/components/front/sections/training-path.blade.php new file mode 100644 index 00000000..24d03954 --- /dev/null +++ b/resources/views/components/front/sections/training-path.blade.php @@ -0,0 +1,11 @@ +@if(!empty($training)) +
+
+ {{ $training['title'] }} +
+
+
{{ $training['title'] }}
+
{{ $training['text'] }}
+
+
+@endif diff --git a/resources/views/components/front/sections/video.blade.php b/resources/views/components/front/sections/video.blade.php index 355ca669..8c9a2555 100644 --- a/resources/views/components/front/sections/video.blade.php +++ b/resources/views/components/front/sections/video.blade.php @@ -1,14 +1,14 @@ @if (isset($video)) -
-
+
+
@php - $videoUrl = strpos($video, 'https') === 0 ? $video : ($type === 'youtube' ? 'https://www.youtube.com/embed/' : 'https://player.vimeo.com/video/') . $video; + $videoUrl = strpos($video['video'], 'https') === 0 ? $video['video'] : ($video['type_video'] === 'youtube' ? 'https://www.youtube.com/embed/' : 'https://player.vimeo.com/video/') . $video['video']; @endphp -
+ diff --git a/resources/views/front/layouts/header.blade.php b/resources/views/front/layouts/header.blade.php index 91ff0487..8c294076 100644 --- a/resources/views/front/layouts/header.blade.php +++ b/resources/views/front/layouts/header.blade.php @@ -110,7 +110,7 @@