Skip to content

Commit

Permalink
good stuff
Browse files Browse the repository at this point in the history
  • Loading branch information
taylorleh committed Aug 2, 2017
1 parent 289d093 commit 378a484
Show file tree
Hide file tree
Showing 33 changed files with 1,983 additions and 632 deletions.
1 change: 1 addition & 0 deletions client/vcustomers/index.ejs
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@
<% for (var css in htmlWebpackPlugin.files.css) { %>
<link href="<%= htmlWebpackPlugin.files.css[css] %>" rel="stylesheet">
<% } %>
<!--<script src="https://maps.googleapis.com/maps/api/js?key=AIzaSyAirP89osWYJpZQPOuUrCeFaO2kF3NS9eA&libraries=places"></script>-->
<script src="https://js.stripe.com/v3/"></script>
</head>
<body>
Expand Down
26 changes: 26 additions & 0 deletions client/vcustomers/src/App.vue
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@
<style>
</style>
<script>
import { mapActions, mapGetters } from 'vuex';
import CustomerArea from './components/areas/CustomerArea.vue';
import AdminArea from './components/areas/AdminArea.vue';
import CustomerFooter from "./components/areas/navs/CustomerFooter.vue";
Expand All @@ -22,10 +23,35 @@ export default {
connect() {}
},
computed: {
...mapGetters(['USE_SERVICES'])
},
methods: {
...mapActions(['setEnvironmentMode', 'setServiceUsage']),
inCustomerArea() {
return this.$route.path.split('/').indexOf('portal') === -1;
}
},
created() {
if (process.env.NODE_ENV) {
this.setEnvironmentMode(process.env.NODE_ENV);
} else {
console.warn('Could not set environment mode');
}
if (process.env.USE_SERVICES) {
this.setServiceUsage((process.env.USE_SERVICES === 'on'));
} else {
console.warn('Could not set environment mode');
}
let me = this;
window.toggleServices = () => {
me.setServiceUsage(!me.USE_SERVICES);
}
}
}
</script>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -23,17 +23,17 @@
<div class="col col-sm-12 col-md">
<ul class="list-inline text-primary text-center text-md-left mb-0">
<li class="list-inline-item">
<a class="btn-lg py-1" href="https://www.facebook.com/Gillibussf/">
<a class="btn-lg py-1" target="_blank" href="https://www.facebook.com/Gillibussf/">
<i class="fa fa-facebook" aria-hidden="true"></i>
</a>
</li>
<li class="list-inline-item">
<a class="btn-lg py-1" href="https://www.instagram.com/gillibussf/">
<a class="btn-lg py-1" target="_blank" href="https://www.instagram.com/gillibussf/">
<i class="fa fa-instagram" aria-hidden="true"></i>
</a>
</li>
<li class="list-inline-item">
<a class="btn-lg py-1" href="https://twitter.com/GillibusSF">
<a class="btn-lg py-1" target="_blank" href="https://twitter.com/GillibusSF">
<i class="fa fa-twitter" aria-hidden="true"></i>
</a>
</li>
Expand Down
Loading

0 comments on commit 378a484

Please sign in to comment.