42 lines
1.3 KiB
Markdown
42 lines
1.3 KiB
Markdown
# TODO - Topbar Standardization - COMPLETED
|
|
|
|
## Task: Use same topbar across all pages
|
|
|
|
### Summary:
|
|
- Topbar is in a separate file: `resources/views/layouts/partials/header.blade.php`
|
|
- All layouts now include this header partial
|
|
|
|
### Layouts and their pages:
|
|
|
|
1. **layouts/app.blade.php** (includes header + sidebar)
|
|
- videos/index.blade.php
|
|
- videos/trending.blade.php
|
|
- videos/show.blade.php
|
|
- videos/create.blade.php
|
|
- videos/edit.blade.php
|
|
- videos/types/*.blade.php
|
|
- user/profile.blade.php
|
|
- user/channel.blade.php
|
|
- user/history.blade.php
|
|
- user/liked.blade.php
|
|
- user/settings.blade.php
|
|
- welcome.blade.php
|
|
|
|
2. **layouts/plain.blade.php** (includes header, no sidebar)
|
|
- auth/login.blade.php
|
|
- auth/register.blade.php
|
|
|
|
3. **admin/layout.blade.php** (includes header, admin sidebar)
|
|
- admin/dashboard.blade.php
|
|
- admin/users.blade.php
|
|
- admin/videos.blade.php
|
|
- admin/edit-user.blade.php
|
|
- admin/edit-video.blade.php
|
|
|
|
### Changes Made:
|
|
- [x] 1. Analyzed current structure
|
|
- [x] 2. Updated welcome.blade.php to use layouts.app
|
|
- [x] 3. Verified plain.blade.php includes header (already had it)
|
|
- [x] 4. Verified admin layout uses header (already had it)
|
|
- [x] 5. Fixed videos/create.blade.php - hide duplicate header on mobile
|