@@ -93,15 +93,6 @@ features:
9393 overflow : hidden ;
9494}
9595
96- .footer img {
97- width : 70px ;
98- display : inline ;
99- padding : 5px ;
100- border-radius : 6px ;
101- background-color : var (--vp-c-default-soft );
102- margin-bottom : 50px ;
103- }
104-
10596.footer h3 {
10697 margin : 25px 0 !important ;
10798 font-weight : 400 !important ;
@@ -173,11 +164,17 @@ features:
173164 opacity: 0;
174165 width: 0;
175166 } */
167+
168+ .getbtn {
169+ height : 50px ;
170+ display : inline ;
171+ padding-right : 10px ;
172+ }
176173</style >
177174
178175<script setup >
179176 import VueTurnstile from ' vue-turnstile' ;
180- import { ref } from ' vue' ;
177+ import { ref , onMounted } from ' vue' ;
181178
182179 let turnstileToken = ref (" " );
183180
@@ -187,13 +184,21 @@ features:
187184 alert (" Please verify you're human." );
188185 }
189186 }
187+
188+ const isAvailable = ref (false );
189+ onMounted (async () => {
190+ const res = await fetch (' https://hw.openbubbles.app/status' );
191+ isAvailable .value = (await res .json ()).available ;
192+ })
190193</script >
191194
192195<div class =" footer " id =" hosted-waitlist " >
193- <h1>Get notified</h1>
194- <h3>All of our devices are currently allocated, but more are coming soon!</h3>
196+ <h1 v-if =" !isAvailable " >Get notified</h1 >
197+ <h3 v-if =" !isAvailable " >All of our devices are currently allocated, but more are coming soon!</h3 >
198+ <h1 v-if =" isAvailable " >Get Blue Bubbles</h1 >
199+ <h3 v-if =" isAvailable " >Start using iMessage on Android today.</h3 >
195200
196- <form action =" https://hw.openbubbles.app/waitlist " method =" POST " @submit =" checkTurnstile " >
201+ <form v-if = " !isAvailable " action =" https://hw.openbubbles.app/waitlist " method =" POST " @submit =" checkTurnstile " >
197202<label for =" emailimp " >Email for notification</label >
198203<input type =" email " name =" email " id =" emailimp " placeholder =" Enter email here " class =" myinput " required />
199204
@@ -205,6 +210,8 @@ features:
205210<input type =" submit " value =" Join waitlist " >
206211</form >
207212
213+ <a v-if =" isAvailable " href =" https://play.google.com/store/apps/details?id=com.openbubbles.messaging " ><img src =" /google_play_badge.png " class =" getbtn " /></a >
214+
208215There is a $9.99 USD monthly fee for OpenBubbles Hosted. <a href =" /quickstart.html " >Self-host now for free.</a >
209216<div class =" background " />
210217</div >
0 commit comments