Initial commit
This commit is contained in:
parent
9ed5089508
commit
78e0e82449
16 changed files with 317 additions and 15 deletions
|
|
@ -1,11 +1,14 @@
|
|||
import { FlowRouter } from 'meteor/ostrio:flow-router-extra';
|
||||
|
||||
Template.home.helpers({
|
||||
loginOrReg: function() {
|
||||
loginOrReg: function () {
|
||||
return Session.get("loginOrReg");
|
||||
},
|
||||
});
|
||||
|
||||
Template.home.events({
|
||||
|
||||
'click .infoCard'(e) {
|
||||
let route = e.currentTarget.id;
|
||||
FlowRouter.go('/' + route);
|
||||
},
|
||||
});
|
||||
Loading…
Add table
Add a link
Reference in a new issue