diff --git a/app/Livewire/User/Profile.php b/app/Livewire/User/Profile.php
index d3a294c..96cf616 100644
--- a/app/Livewire/User/Profile.php
+++ b/app/Livewire/User/Profile.php
@@ -3,12 +3,16 @@
namespace App\Livewire\User;
use App\Models\User;
+use Livewire\Attributes\Url;
use Livewire\Component;
class Profile extends Component
{
public User $user;
+ #[Url]
+ public string $section = 'wall';
+
public $followers;
public $following;
@@ -23,9 +27,13 @@ class Profile extends Component
return view('livewire.user.profile');
}
+ public function setSection(string $name) {
+ $this->section = $name;
+ }
+
public function message()
{
- $this->render();
+ // todo: not implemented yet
}
public function followUser(User $user)
diff --git a/resources/views/livewire/user-stack.blade.php b/resources/views/livewire/user-stack.blade.php
index 8bbb0c0..5c17e47 100644
--- a/resources/views/livewire/user-stack.blade.php
+++ b/resources/views/livewire/user-stack.blade.php
@@ -10,8 +10,9 @@
+ {{-- tooltip --}}
This is the wall. I don't think this can be implemented yet? requires comments or something
+ @break + @case('mods') +This is the recent activity. Probably need to implement some kind of activity tracking for this?
+ @break + @case('aboutMe') +{{$user->about}}
+ @break + @endswitch +