File tree Expand file tree Collapse file tree 5 files changed +145
-0
lines changed
Expand file tree Collapse file tree 5 files changed +145
-0
lines changed Original file line number Diff line number Diff line change @@ -127,6 +127,40 @@ public static function items(): Collection
127127 {
128128 return static ::teachers ()
129129 ->map (fn (Teacher $ teacher ) => $ teacher ->courses )
130+ ->merge (static ::ownCourses ())
130131 ->flatten ();
131132 }
133+
134+ /**
135+ * @return Collection
136+ */
137+ public static function ownCourses (): Collection
138+ {
139+ return collect ([
140+ new Course (
141+ 'Orchid ' ,
142+ 'Создание админ-панелей с Orchid. Простое и мощное решение. ' ,
143+ '/img/ui/courses/orchid.svg ' ,
144+ 'https://www.youtube.com/playlist?list=PLM-y77GFP_D0ZtrNGXorSjlcO8KsFrcgJ&si=KERSYOr8_2YvcPDV '
145+ ),
146+ new Course (
147+ 'Livewire ' ,
148+ 'Интерактивные интерфейсы на Laravel без JavaScript. ' ,
149+ '/img/ui/courses/livewire.svg ' ,
150+ 'https://www.youtube.com/playlist?list=PLM-y77GFP_D0Dan4oTbsseQGM6lFGbmUQ '
151+ ),
152+ new Course (
153+ 'Очереди ' ,
154+ 'Управление фоновыми задачами с помощью очередей в Laravel. ' ,
155+ '/img/ui/courses/queues.svg ' ,
156+ 'https://www.youtube.com/playlist?list=PLM-y77GFP_D04J1DYprCCashJQHxtJed4&si=SlSjGYJRLZ5jSeg5 '
157+ ),
158+ new Course (
159+ 'Итераторы ' ,
160+ 'Работа с итераторами в PHP для эффективного управления данными. ' ,
161+ '/img/ui/courses/iterators.svg ' ,
162+ 'https://www.youtube.com/watch?v=cPpEHTWDFv4 '
163+ ),
164+ ]);
165+ }
132166}
You can’t perform that action at this time.
0 commit comments