Skip to content

Commit f3ad6ab

Browse files
shanerbaner82claude
andcommitted
Remove curriculum section from course page
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
1 parent ac6b672 commit f3ad6ab

1 file changed

Lines changed: 0 additions & 144 deletions

File tree

resources/views/course.blade.php

Lines changed: 0 additions & 144 deletions
Original file line numberDiff line numberDiff line change
@@ -184,150 +184,6 @@ class="absolute inset-0 size-full"
184184
</div>
185185
</section>
186186

187-
{{-- What You'll Learn --}}
188-
<section
189-
class="mt-24"
190-
aria-labelledby="curriculum-heading"
191-
>
192-
<header class="text-center">
193-
<h2
194-
id="curriculum-heading"
195-
x-init="
196-
() => {
197-
motion.inView($el, (element) => {
198-
motion.animate(
199-
$el,
200-
{
201-
opacity: [0, 1],
202-
y: [-10, 0],
203-
},
204-
{
205-
duration: 0.7,
206-
ease: motion.easeOut,
207-
},
208-
)
209-
})
210-
}
211-
"
212-
class="text-3xl font-semibold"
213-
>
214-
What You'll Learn
215-
</h2>
216-
<p
217-
x-init="
218-
() => {
219-
motion.inView($el, (element) => {
220-
motion.animate(
221-
$el,
222-
{
223-
opacity: [0, 1],
224-
y: [10, 0],
225-
},
226-
{
227-
duration: 0.7,
228-
ease: motion.easeOut,
229-
},
230-
)
231-
})
232-
}
233-
"
234-
class="mx-auto mt-3 max-w-2xl text-gray-600 dark:text-gray-400"
235-
>
236-
A complete curriculum taking you from setup to the app stores
237-
</p>
238-
</header>
239-
240-
@if ($course && $course->modules->isNotEmpty())
241-
<div class="mt-10 space-y-4">
242-
@foreach ($course->modules as $module)
243-
<div
244-
x-init="
245-
() => {
246-
motion.inView($el, (element) => {
247-
motion.animate(
248-
$el,
249-
{
250-
y: [20, 0],
251-
opacity: [0, 1],
252-
},
253-
{
254-
duration: 0.6,
255-
ease: motion.backOut,
256-
delay: {{ $loop->index * 0.1 }},
257-
},
258-
)
259-
})
260-
}
261-
"
262-
class="rounded-2xl bg-gray-100 p-6 dark:bg-mirage"
263-
>
264-
<div class="flex items-start gap-4">
265-
<div class="flex size-10 shrink-0 items-center justify-center rounded-lg text-sm font-bold {{ $module->is_free ? 'bg-emerald-100 text-emerald-600 dark:bg-emerald-900/50 dark:text-emerald-400' : 'bg-gray-200 text-gray-500 dark:bg-white/5 dark:text-gray-500' }}">
266-
{{ str_pad($loop->iteration, 2, '0', STR_PAD_LEFT) }}
267-
</div>
268-
<div class="flex-1 min-w-0">
269-
<div class="flex items-center gap-3 mb-1">
270-
<h3 class="text-lg font-semibold">{{ $module->title }}</h3>
271-
@if ($module->is_free)
272-
<span class="rounded bg-emerald-100 px-2 py-0.5 text-xs font-bold uppercase tracking-wider text-emerald-600 dark:bg-emerald-900/50 dark:text-emerald-400">Free</span>
273-
@else
274-
<span class="rounded bg-violet-100 px-2 py-0.5 text-xs font-bold uppercase tracking-wider text-violet-600 dark:bg-violet-900/50 dark:text-violet-400">Pro</span>
275-
@endif
276-
</div>
277-
@if ($module->description)
278-
<p class="text-sm text-gray-600 dark:text-gray-400">{{ $module->description }}</p>
279-
@endif
280-
</div>
281-
<span class="shrink-0 text-xs text-gray-500 dark:text-gray-500">
282-
{{ $module->lessons_count }} {{ Str::plural('lesson', $module->lessons_count) }}
283-
</span>
284-
</div>
285-
</div>
286-
@endforeach
287-
</div>
288-
@else
289-
<div
290-
x-init="
291-
() => {
292-
motion.inView($el, (element) => {
293-
motion.animate(
294-
Array.from($el.children),
295-
{
296-
y: [20, 0],
297-
opacity: [0, 1],
298-
scale: [0.95, 1],
299-
},
300-
{
301-
duration: 0.6,
302-
ease: motion.backOut,
303-
delay: motion.stagger(0.1),
304-
},
305-
)
306-
})
307-
}
308-
"
309-
class="mt-10 grid gap-6 sm:grid-cols-2 lg:grid-cols-3"
310-
>
311-
@php
312-
$staticModules = [
313-
['title' => 'Getting Started', 'desc' => 'Install NativePHP, configure your environment for mobile and desktop, and run your first native app in minutes.'],
314-
['title' => 'Building for Mobile', 'desc' => 'Build iOS and Android apps with Livewire and Blade. Learn navigation patterns, gestures, and mobile-first UI.'],
315-
['title' => 'Building for Desktop', 'desc' => 'Create macOS, Windows, and Linux desktop apps. Window management, menus, system tray, and file system access.'],
316-
['title' => 'Native APIs', 'desc' => 'Access the camera, push notifications, biometrics, haptics, sharing, and more — all from PHP.'],
317-
['title' => 'Plugins & Extensibility', 'desc' => 'Extend your app with the NativePHP plugin ecosystem. Learn to use and build plugins for custom native features.'],
318-
['title' => 'Deploy & Publish', 'desc' => 'Ship to the App Store, Google Play, and desktop platforms. Use Bifrost for cloud builds and continuous deployment.'],
319-
];
320-
@endphp
321-
@foreach ($staticModules as $mod)
322-
<div class="rounded-2xl bg-gray-100 p-6 dark:bg-mirage">
323-
<h3 class="text-lg font-semibold">{{ $mod['title'] }}</h3>
324-
<p class="mt-2 text-sm text-gray-600 dark:text-gray-400">{{ $mod['desc'] }}</p>
325-
</div>
326-
@endforeach
327-
</div>
328-
@endif
329-
</section>
330-
331187
{{-- Who It's For --}}
332188
<section
333189
class="mt-24"

0 commit comments

Comments
 (0)