- Added authentication controllers (Login, Register) - Added UserController for user profile management - Added VideoController with full CRUD operations - Added Video model with relationships (user, likes, views) - Added User model enhancements (avatar, video relationships) - Added database migrations for video_likes, video_views, user_avatar, video_visibility - Added CompressVideoJob for video processing - Added VideoUploaded mail notification - Added authentication routes - Updated web routes with video and user routes - Added layout templates (app, plain, partials) - Added user views (profile, settings, channel, history, liked) - Added video views (create, edit, index, show) - Added email templates
38 lines
1.2 KiB
PHP
38 lines
1.2 KiB
PHP
<!-- Sidebar -->
|
|
<nav class="yt-sidebar" id="sidebar">
|
|
<div class="yt-sidebar-section">
|
|
<a href="/videos" class="yt-sidebar-link {{ request()->is('/') || request()->is('videos') ? 'active' : '' }}">
|
|
<i class="bi bi-house-door-fill"></i>
|
|
<span>Home</span>
|
|
</a>
|
|
<a href="#" class="yt-sidebar-link">
|
|
<i class="bi bi-play-btn"></i>
|
|
<span>Shorts</span>
|
|
</a>
|
|
@auth
|
|
<a href="#" class="yt-sidebar-link">
|
|
<i class="bi bi-collection-play"></i>
|
|
<span>Subscriptions</span>
|
|
</a>
|
|
@endauth
|
|
</div>
|
|
|
|
@auth
|
|
<div class="yt-sidebar-section">
|
|
<a href="{{ route('channel', Auth::user()->id) }}" class="yt-sidebar-link">
|
|
<i class="bi bi-person-video"></i>
|
|
<span>Your Channel</span>
|
|
</a>
|
|
<a href="{{ route('history') }}" class="yt-sidebar-link">
|
|
<i class="bi bi-clock-history"></i>
|
|
<span>History</span>
|
|
</a>
|
|
<a href="{{ route('liked') }}" class="yt-sidebar-link">
|
|
<i class="bi bi-hand-thumbs-up"></i>
|
|
<span>Liked Videos</span>
|
|
</a>
|
|
</div>
|
|
@endauth
|
|
</nav>
|
|
|