2026-03-11 11:21:33 +03:00

1.3 KiB

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:

  • 1. Analyzed current structure
  • 2. Updated welcome.blade.php to use layouts.app
  • 3. Verified plain.blade.php includes header (already had it)
  • 4. Verified admin layout uses header (already had it)
  • 5. Fixed videos/create.blade.php - hide duplicate header on mobile