Bläddra i källkod

Handle loading better during reset request

master
Immanuel Onyeka 3 år sedan
förälder
incheckning
6b979a6bef
9 ändrade filer med 23 tillägg och 13 borttagningar
  1. +1
    -0
      database/migrations/2014_10_12_000000_create_users_table.php
  2. Binär
      public/images/panel-preview.png
  3. +1
    -0
      public/payeer_1431874711.txt
  4. Binär
      resources/images/panel-preview.png
  5. Binär
      resources/images/teamwork.png
  6. +8
    -1
      resources/js/panel/credits.vue
  7. +5
    -4
      resources/js/register-area/register-area.vue
  8. +7
    -8
      resources/views/home.blade.php
  9. +1
    -0
      trendplays@trendplays.com

+ 1
- 0
database/migrations/2014_10_12_000000_create_users_table.php Visa fil

@@ -23,6 +23,7 @@ class CreateUsersTable extends Migration
$table->enum('role', ['client', 'guest', 'admin']); $table->enum('role', ['client', 'guest', 'admin']);
$table->string('payment_method')->default(''); $table->string('payment_method')->default('');
$table->boolean('active')->default(true); $table->boolean('active')->default(true);
$table->boolean('paying')->default(false);
$table->unsignedBigInteger('credits')->default(0); $table->unsignedBigInteger('credits')->default(0);
$table->rememberToken(); $table->rememberToken();
$table->timestamps(); $table->timestamps();


Binär
public/images/panel-preview.png Visa fil

Before After
Width: 390  |  Height: 467  |  Size: 81 KiB Width: 300  |  Height: 490  |  Size: 69 KiB

+ 1
- 0
public/payeer_1431874711.txt Visa fil

@@ -0,0 +1 @@
1431874711

Binär
resources/images/panel-preview.png Visa fil

Before After
Width: 390  |  Height: 467  |  Size: 81 KiB Width: 300  |  Height: 490  |  Size: 69 KiB

Binär
resources/images/teamwork.png Visa fil

Before After
Width: 5625  |  Height: 4500  |  Size: 4.6 MiB

+ 8
- 1
resources/js/panel/credits.vue Visa fil

@@ -35,8 +35,15 @@
@update-billing-name="billingName = $event.target.value" :stripe="stripe" @update-billing-name="billingName = $event.target.value" :stripe="stripe"
v-if="!selectSaved"> v-if="!selectSaved">
</payment-card> </payment-card>

<div>
<input type="checkbox"><label>I have read and agree to the<a
href="/terms-and-policy">Terms and Policy</a></label>
<div class="info-grey">
<span>A chargeback will result in a ban. Contact <a
href="#contact">support</a>if you have any problems of concerns.</span>
</div>
<div id="payment-error"></div> <div id="payment-error"></div>
</div>
</section> </section>


<section v-if="!complete" class="credits-confirm"> <section v-if="!complete" class="credits-confirm">


+ 5
- 4
resources/js/register-area/register-area.vue Visa fil

@@ -126,17 +126,15 @@ function getToken() {
} }


function forgotPassword(event) { function forgotPassword(event) {
let email = document.getElementById("forgot-email").value
this.active = 'loading' this.active = 'loading'
fetch("/forgot-password", { fetch("/forgot-password", {
method: 'POST', method: 'POST',
headers: {'Content-Type': 'application/json', headers: {'Content-Type': 'application/json',
'Accept': 'application/json', 'Accept': 'application/json',
'X-XSRF-TOKEN': this.token}, 'X-XSRF-TOKEN': this.token},
body: JSON.stringify({"email": document.getElementById("forgot-email").value})})
body: JSON.stringify({"email": email})})
.then(response => { .then(response => {
//Give completed or error
console.log(response.status)
console.log(response.json())
if (response.ok) { if (response.ok) {
this.active = 'forgot-completed' this.active = 'forgot-completed'
} else { } else {
@@ -162,6 +160,9 @@ function getToken() {
closeArea() { closeArea() {
document.querySelector(".register-area").classList.remove("active") document.querySelector(".register-area").classList.remove("active")
}, },
},
mounted() {
this.getToken()
} }
} }
</script> </script>

+ 7
- 8
resources/views/home.blade.php Visa fil

@@ -42,9 +42,8 @@
<p> <p>
We're a social media content promoter based in Canada, helping We're a social media content promoter based in Canada, helping
entertainers and brands perfect their marketing campaigns through entertainers and brands perfect their marketing campaigns through
targeted views and engagements. By providing organic impressions and
retention
from real people in your area, we'll boost your search engine
targeted views and engagements. By providing impressions and
retention from real user accounts, we'll help boost your
rankings and get you noticed. rankings and get you noticed.
</p> </p>
</section> </section>
@@ -56,7 +55,7 @@
<img src="/img/youtube-icon.svg" alt="youtube-icon"> <img src="/img/youtube-icon.svg" alt="youtube-icon">
<h3>Youtube</h3> <h3>Youtube</h3>
<ul> <ul>
<li>Views increase within 12 hours</li>
<li>Views often increase within 24 hours</li>
<li>Real people</li> <li>Real people</li>
<li>Targeted by language</li> <li>Targeted by language</li>
<li>Targeted by country</li> <li>Targeted by country</li>
@@ -69,7 +68,7 @@
<h3>Twitter</h3> <h3>Twitter</h3>
<ul> <ul>
<li>Impressions and favorites</li> <li>Impressions and favorites</li>
<li>Activity increases within 24 hours</li>
<li>Activity often increases within 24 hours</li>
<li>Followers</li> <li>Followers</li>
</ul> </ul>
<button>Select</button> <button>Select</button>
@@ -79,7 +78,7 @@
<img src="/img/instagram-icon.svg" alt="twitter-icon"> <img src="/img/instagram-icon.svg" alt="twitter-icon">
<h3>Instagram</h3> <h3>Instagram</h3>
<ul> <ul>
<li>Real people</li>
<li>Active user accounts</li>
<li>Activity increases within 24 hours</li> <li>Activity increases within 24 hours</li>
<li>Likes</li> <li>Likes</li>
<li>Followers</li> <li>Followers</li>
@@ -120,7 +119,7 @@
</div> </div>


<div class="info-card"><p>All orders are proccessed within one day of <div class="info-card"><p>All orders are proccessed within one day of
placing your order. Most services available are instant.</p>
placing your order. Many services available are instant.</p>
</div> </div>


<div class="info-card"><p>By choosing the location and language of your <div class="info-card"><p>By choosing the location and language of your
@@ -177,7 +176,7 @@
<div class="collapsible"><button>Why should I choose Trendplays?</button> <div class="collapsible"><button>Why should I choose Trendplays?</button>
<div class="content"><p>Buying views and engagements is easy and safe <div class="content"><p>Buying views and engagements is easy and safe
if you buy from a reliable source. The traffic we send to your content is if you buy from a reliable source. The traffic we send to your content is
from real users with years of history, viewing
from accounts with years of history, viewing
gradually over a few days.</p></div></div> gradually over a few days.</p></div></div>


<div class="collapsible"><button>What if my audience finds out?</button> <div class="collapsible"><button>What if my audience finds out?</button>


+ 1
- 0
trendplays@trendplays.com Visa fil

@@ -0,0 +1 @@
1431874711

Laddar…
Avbryt
Spara