HomeController.php

public function getFrontFacebook()
{
    $domain = $_SERVER['SERVER_NAME'];
    $user = User::where('domain', $domain)->first();

    return view('soulfy.facebook', ['user' => $user]);

}

How to hide .content-placeholder on the first load? Since the load js does not function any longer after the soulfy.facebook page open.

How to fix this script and place it on soulfy.facebook.

$(".content-placeholder").hide();