An open-source, self-hostable PaaS alternative to Vercel, Heroku & Netlify that lets you easily deploy static sites, databases, full-stack applications and 360+ one-click services on your own servers.
PHP coolifydatabasesdeploymentdockerdocker-composeinertiajslaravelmariadbmysqlnextjsnodejsphppostgresredisself-hostedself-hostingserverstatic-sitesveltesvelte5
ui: show registered users on waitlist page
Andras Bacsai4782446f424e
diff --git a/app/Http/Livewire/Waitlist/Index.php b/app/Http/Livewire/Waitlist/Index.phpindex 06d224afe6..72d16b6823 100644--- a/app/Http/Livewire/Waitlist/Index.php+++ b/app/Http/Livewire/Waitlist/Index.php@@ -10,6 +10,7 @@ use Livewire\Component;class Index extends Component{public string $email;+ public int $users = 0;public int $waitingInLine = 0;protected $rules = [@@ -22,6 +23,7 @@ class Index extends Componentpublic function mount(){$this->waitingInLine = Waitlist::whereVerified(true)->count();+ $this->users = User::count();if (isDev()) {$this->email = '[email protected]';}diff --git a/resources/views/livewire/waitlist/index.blade.php b/resources/views/livewire/waitlist/index.blade.phpindex ad6e30508f..833193b586 100644--- a/resources/views/livewire/waitlist/index.blade.php+++ b/resources/views/livewire/waitlist/index.blade.php@@ -23,7 +23,8 @@<x-forms.input id="email" type="email" label="Email" placeholder="[email protected]" /><x-forms.button type="submit">Join Waitlist</x-forms.button></form>- Waiting in the line: <span class="font-bold text-warning">{{ $waitingInLine }}</span>+ <div>People waiting in the line: <span class="font-bold text-warning">{{ $waitingInLine }}</div>+ <div>Already using Coolify Cloud: <span class="font-bold text-warning">{{ $users }}</div><div class="pt-8">This is a paid & hosted version of Coolify.<br> See the pricing <a href="https://coolify.io/pricing" class="text-warning">here</a>.</div>