Skip to content

Commit

Permalink
Merge pull request #7 from DerianAndre/main
Browse files Browse the repository at this point in the history
Darkmode!
  • Loading branch information
DerianAndre committed Feb 13, 2021
2 parents cfe1078 + 475c3e9 commit 5c656ac
Show file tree
Hide file tree
Showing 7 changed files with 424 additions and 164 deletions.
27 changes: 0 additions & 27 deletions components/Feature.vue

This file was deleted.

34 changes: 0 additions & 34 deletions components/Logo.vue

This file was deleted.

4 changes: 3 additions & 1 deletion layouts/default.vue
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,9 @@
<div>
<nav class="navbar">
<div class="container">
<router-link to="/" target="_self" class="brand">PicoTorrent</router-link>
<router-link to="/" target="_self" class="brand">
PicoTorrent
</router-link>
<ul>
<li>
<router-link to="/download" target="_self" class="nav-link">
Expand Down
30 changes: 15 additions & 15 deletions pages/shop.vue
Original file line number Diff line number Diff line change
Expand Up @@ -81,21 +81,6 @@ export default {
stickersCount: 1
};
},
head () {
return {
bodyAttrs: {
class: 'page-shop'
},
script: [
{
hid: 'stripe',
src: 'https://js.stripe.com/v3/',
defer: true,
callback: () => { this.stripeLoaded = true; }
}
]
};
},
computed: {
checkoutEnabled () {
if (this.stripeCheckoutLoading) {
Expand Down Expand Up @@ -154,6 +139,21 @@ export default {
this.stickersCount++;
if (this.stickersCount > 10) { this.stickersCount = 10; }
}
},
head () {
return {
bodyAttrs: {
class: 'page-shop'
},
script: [
{
hid: 'stripe',
src: 'https://js.stripe.com/v3/',
defer: true,
callback: () => { this.stripeLoaded = true; }
}
]
};
}
};
</script>
Loading

0 comments on commit 5c656ac

Please sign in to comment.