diff --git a/app/Http/Livewire/Footer.php b/app/Http/Livewire/Footer.php index 701baee..a0c3881 100644 --- a/app/Http/Livewire/Footer.php +++ b/app/Http/Livewire/Footer.php @@ -1,3 +1,6 @@ +/** + * Livewire component for rendering the footer section of the application. + */ <?php namespace App\Http\Livewire; @@ -10,4 +13,9 @@ public function render() { return view('livewire.footer'); } +} + public function render() + { + return view('livewire.footer'); + } } diff --git a/app/Http/Livewire/Header.php b/app/Http/Livewire/Header.php index 2d4af39..cc54b7b 100644 --- a/app/Http/Livewire/Header.php +++ b/app/Http/Livewire/Header.php @@ -1,3 +1,6 @@ +/** + * Livewire component for rendering the header section of the application. + */ <?php namespace App\Http\Livewire; @@ -10,4 +13,9 @@ public function render() { return view('livewire.header'); } +} + public function render() + { + return view('livewire.header'); + } } diff --git a/app/Http/Livewire/Homepage.php b/app/Http/Livewire/Homepage.php index 3f9aef6..266e44b 100644 --- a/app/Http/Livewire/Homepage.php +++ b/app/Http/Livewire/Homepage.php @@ -1,3 +1,7 @@ +/** + * Livewire component for rendering the homepage of the application. + * This includes displaying featured posts. + */ <?php namespace App\Http\Livewire; @@ -19,3 +23,12 @@ public function render() return view('livewire.homepage', ['featuredPosts' => $this->featuredPosts]); } } + { + return view('livewire.homepage', ['featuredPosts' => $this->featuredPosts]); + } +} + public function render() + { + return view('livewire.homepage', ['featuredPosts' => $this->featuredPosts]); + } +} diff --git a/app/Http/Livewire/Navigation.php b/app/Http/Livewire/Navigation.php index e591ec9..35b2012 100644 --- a/app/Http/Livewire/Navigation.php +++ b/app/Http/Livewire/Navigation.php @@ -1,3 +1,6 @@ +/** + * Livewire component for rendering the navigation bar of the application. + */ <?php namespace App\Http\Livewire; @@ -10,4 +13,9 @@ public function render() { return view('livewire.navigation'); } +} + public function render() + { + return view('livewire.navigation'); + } }