@use('App\Models\Setting') @use('App\Support\Img') @php $club = Setting::get('club_name', 'UU Computer Programming Club'); $code = "class UUProgrammingClub {\n mission = 'Learn. Build. Compete.';\n weekly = ['DSA', 'Web Dev', 'Contests'];\n\n join(you) {\n return you.code() + you.grow();\n }\n}\n\nnew UUProgrammingClub().join('you');"; @endphp {{-- 1. Title (animated) --}}

{{ $club }}

{{ Setting::get('tagline') }}

{{-- 2. Slider --}}
@forelse($slides as $idx => $slide)
0) x-cloak @endif x-transition.opacity.duration.700ms class="absolute inset-0"> @if($slide->image) {{ $slide->title }} 0) loading="lazy" @endif> @else
@endif
@if($slide->title)

{{ $slide->title }}

@endif @if($slide->subtitle)

{{ $slide->subtitle }}

@endif
@empty

Slider is empty. Add images from Dashboard → Homepage slider.

@endforelse @if($slides->count() > 1)
@foreach($slides as $idx => $slide) @endforeach
@endif
{{-- 3. Hero --}}

Write code. Solve problems. Grow together.

Weekly problem-solving sessions, hands-on workshops and contests for every CSE student, from your first loop to your first ICPC regional.

club.js
{{-- 4. Stats --}}
@foreach($stats as $label => $value)

0+

{{ $label }}

@endforeach
{{-- 5. Upcoming events --}}
@if($events->isEmpty())
No upcoming events yet. Check back soon.
@else
@foreach($events as $event)
@endforeach
@endif
{{-- 6. Committee preview --}}
@if($committee->isEmpty())
The committee will be announced soon.
@else
@foreach($committee as $person)
@endforeach
@endif