This commit is contained in:
HolgerHatGarKeineNode
2023-04-25 23:09:21 +02:00
parent 5a4322b035
commit ed54b25567
32 changed files with 683 additions and 12 deletions

View File

@@ -137,7 +137,7 @@ class Header extends Component
->orderByDesc('date')
->take(2)
->get(),
'projectProposals' => ProjectProposal::query()->with(['votes'])->get(),
'projectProposals' => ProjectProposal::query()->with(['user','votes'])->get(),
'cities' => City::query()
->select(['latitude', 'longitude'])
->get(),

View File

@@ -3,12 +3,15 @@
namespace App\Http\Livewire\Frontend;
use App\Models\Country;
use App\Traits\HasTextToSpeech;
use Illuminate\Support\Facades\Cookie;
use Livewire\Component;
use RalphJSmit\Laravel\SEO\Support\SEOData;
class Welcome extends Component
{
use HasTextToSpeech;
public string $c = 'de';
public string $l = 'de';