Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- Accounts.onEmailVerificationLink(function(token, done) {
- Accounts.verifyEmail(token);
- });
- Accounts.urls.verifyEmail = function(){
- return Meteor.absoluteUrl("restaurantsignin");
- };
- Meteor.startup(() => {
- render(
- <Router history={browserHistory}>
- <Route path="/" component={App}>
- <IndexRoute component={Home} />
- <Route path="/about" component={About} />
- <Route path="/restaurantsignin" component={RestaurantSignInContainer} />
- <Route path="/restaurantsignup" component={RestaurantSignUpContainer} />
- <Route path="/customersignup" component={CustomerSignUpContainer} />
- <Route path="/restaurantresetemail" component={RestaurantResetEmailContainer} />
- <Route path="/restaurantresetpassword" component={RestaurantResetPasswordContainer} />
- <Route path="/restaurant/:restaurantName" component={MenuPage} />
- </Route>
- </Router>, document.getElementById('app')
- );
- });
- import React from 'react';
- import Radium from 'radium';
- import ReactDOM from 'react-dom';
- import { Alert, Button } from 'react-bootstrap';
- export default class RestaurantSignIn extends React.Component {
- handleAlertVerifiedDismiss() {
- document.getElementById('alert_verified_box').style.display = 'none';
- }
- render() {
- var styles = {
- .
- .
- .
- return (
- <div style={styles.signInContainer}>
- .
- .
- .
- and so on
Advertisement
Add Comment
Please, Sign In to add comment