You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
40 lines
1.2 KiB
40 lines
1.2 KiB
import "pro-router/standalone"
|
|
import "./lib/router_tag.imba"
|
|
import compact from 'lodash.compact'
|
|
import fromPairs from 'lodash.frompairs'
|
|
import chunk from 'lodash.chunk'
|
|
import includes from 'lodash.includes'
|
|
import reject from 'lodash.reject'
|
|
import toPairs from 'lodash.topairs'
|
|
import flatten from 'lodash.flatten'
|
|
|
|
global.H =
|
|
compact: compact
|
|
fromPairs: fromPairs
|
|
chunk: chunk
|
|
includes: includes
|
|
reject: reject
|
|
toPairs: toPairs
|
|
flatten: flatten
|
|
|
|
R.init(helpers: H, views: ['day-select', 'choose-slot', 'booking-confirmation'], root: 'day-select', render: imba.commit)
|
|
|
|
import "./views/day-select.imba"
|
|
import "./views/choose-slot.imba"
|
|
import "./views/booking-confirmation.imba"
|
|
import "./main.css"
|
|
|
|
global css
|
|
.active filter:hue-rotate(45deg) bxs:md
|
|
.clickable us:none cursor@hover:pointer o@hover:0.7 tween:opacity 300ms
|
|
.confirmed filter:invert(90%)
|
|
.hide d:none
|
|
.bordered bd:2px solid violet5 rd:10px
|
|
.bordered-complex > bd: 2px solid violet5 bdy:none
|
|
@first bdt:2px solid violet6 rd:20px 20px 0 0
|
|
@last bdb:2px solid violet6 rd:0 0 20px 20px
|
|
|
|
tag app
|
|
<self[bg:white max-width:260px m:0 auto p:2rem ta:center].confirmed=R.params.confirm><pro-router>
|
|
|
|
imba.mount <app>
|
|
|