File tree Expand file tree Collapse file tree 1 file changed +30
-0
lines changed Expand file tree Collapse file tree 1 file changed +30
-0
lines changed Original file line number Diff line number Diff line change
1
+ @extends (' layout' )
2
+ @section (' title' , ' Чистый код' )
3
+ @section (' description' , ' Код должен быть понятен всем членам команды и легко читаем для разработчиков, которые могут внести изменения в него' )
4
+ @section (' content' )
5
+
6
+ <x-header align =" align-items-end" >
7
+ <x-slot name =" sup" >Декларативный стиль</x-slot >
8
+ <x-slot name =" title" >Высокий уровень через коллекцию</x-slot >
9
+ <x-slot name =" description" >
10
+ Опирайтесь на высокие абстракции вместо применения низкоуровневых конструкций.
11
+ </x-slot >
12
+ <x-slot name =" content" >
13
+ <img src =" /img/gusli.svg" class =" img-fluid d-block mx-auto" >
14
+ </x-slot >
15
+ </x-header >
16
+
17
+
18
+ @php
19
+ $sections = collect ([
20
+ ' basics' ,
21
+ ' foreach' ,
22
+ ' thinking-in-steps' ,
23
+ ' dont-primitives' ,
24
+ ])
25
+ -> map (fn ($file ) => \Illuminate \Support \Str:: of ($file )-> start (' collection/' ))
26
+ -> map (fn ($file ) => new \App\ Library ($file ));
27
+ @endphp
28
+
29
+ @include (' particles.library-section' , [' sections' => $sections ] )
30
+ @endsection
You can’t perform that action at this time.
0 commit comments