Skip to content

Commit

Permalink
Comment out old index page
Browse files Browse the repository at this point in the history
  • Loading branch information
jolaleye committed May 14, 2019
1 parent 0e582f2 commit d0f2710
Showing 1 changed file with 34 additions and 34 deletions.
68 changes: 34 additions & 34 deletions pages/index.old.vue
Original file line number Diff line number Diff line change
@@ -1,45 +1,45 @@
<template>
<div>
<Navbar/>
<!-- <Navbar/>
<Header/>
<EffectGrid v-on:inspect="inspect"/>
<InspectModal v-if="inspecting" v-bind:src="inspectSrc" v-on:close="closeInspect"/>
<InspectModal v-if="inspecting" v-bind:src="inspectSrc" v-on:close="closeInspect"/>-->
</div>
</template>

<script>
import Navbar from "~/components/Navbar.old";
import Header from "~/components/Header.old";
import EffectGrid from "~/components/EffectGrid.old";
import InspectModal from "~/components/InspectModal.old";
import { effects } from "~/assets/effects.js";
// import Navbar from "~/components/Navbar.old";
// import Header from "~/components/Header.old";
// import EffectGrid from "~/components/EffectGrid.old";
// import InspectModal from "~/components/InspectModal.old";
// import { effects } from "~/assets/effects.js";
export default {
components: { Navbar, Header, EffectGrid, InspectModal },
data() {
return {
effects,
inspecting: false,
inspectSrc: {}
};
},
methods: {
inspect(effectName) {
this.inspecting = true;
this.inspectSrc = this.effects[effectName];
},
closeInspect() {
this.inspecting = false;
this.inspectSrc = {};
}
},
// export default {
// components: { Navbar, Header, EffectGrid, InspectModal },
// data() {
// return {
// effects,
// inspecting: false,
// inspectSrc: {}
// };
// },
// methods: {
// inspect(effectName) {
// this.inspecting = true;
// this.inspectSrc = this.effects[effectName];
// },
// closeInspect() {
// this.inspecting = false;
// this.inspectSrc = {};
// }
// },
head() {
return {
bodyAttrs: {
class: this.inspecting ? "inspecting" : ""
}
};
}
};
// head() {
// return {
// bodyAttrs: {
// class: this.inspecting ? "inspecting" : ""
// }
// };
// }
// };
</script>

0 comments on commit d0f2710

Please sign in to comment.