Built with blockbuilder.org
Built with blockbuilder.org
Built with blockbuilder.org
Built with blockbuilder.org
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Your init script | |
# | |
# Atom will evaluate this file each time a new window is opened. It is run | |
# after packages are loaded/activated and after the previous editor state | |
# has been restored. | |
# | |
# An example hack to make opened Markdown files always be soft wrapped: | |
# | |
# path = require 'path' | |
# |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import _ from 'lodash'; | |
import React from 'react'; | |
import { Roles } from 'meteor/alanning:roles'; | |
import { Route, Switch } from 'react-router-dom'; | |
import Login from '../../screens/Login/Login'; | |
import Home from '../../screens/Home/Home'; | |
import Booking from '../../screens/Booking/Booking'; | |
const staffRoles = ['admin', 'super-admin', 'staff']; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import React from 'react'; | |
import { Route } from 'react-router-dom'; | |
import InitialSetup from '../../screens/InitialSetup/InitialSetup'; | |
import Staff from '../../screens/Staff/Staff'; | |
export const Generate = (props) => { | |
return [ | |
<Route path="/admin/initial-setup" component={InitialSetup} {...props} key="s1" />, | |
<Route path="/admin/staff" component={Staff} {...props} key="s2" />, | |
]; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<a href="https://app.barbershopbooking.co.uk/my_company_name"> | |
<button>Book now</button> | |
</a> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<a href="https://app.barbershopbooking.co.uk/my_company_name"> | |
<button style="font-size:32px;background-color:#FFEB3B; color:rgba(0, 0, 0, 0.87);padding:10px;border:none; box-shadow: 0 2px 4px rgba(0, 0, 0, .6);"> | |
BOOK NOW | |
</button> | |
</a> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
const currencies = [ | |
{name: 'Afghan Afghani', code: 'afn', decimalCurrency: 1}, | |
{name: 'Albanian Lek', code: 'all', decimalCurrency: 1}, | |
{name: 'Algerian Dinar', code: 'dzd', decimalCurrency: 1}, | |
{name: 'Angolan Kwanza', code: 'aoa', decimalCurrency: 1}, | |
{name: 'Argentine Peso', code: 'ars', decimalCurrency: 1}, | |
{name: 'Armenian Dram', code: 'amd', decimalCurrency: 1}, | |
{name: 'Aruban Florin', code: 'awg', decimalCurrency: 1}, | |
{name: 'Australian Dollar', code: 'aud', decimalCurrency: 1}, | |
{name: 'Azerbaijani Manat', code: 'azn', decimalCurrency: 1}, |