-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathhandles.nim
40 lines (33 loc) · 927 Bytes
/
handles.nim
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
when defined(js):
import mynimlib/[nimjs]
import std/dom, options
type
handle* = enum
# Nav
connect_wallet_modal
connect_wallet_modal_metamask_btn
connect_wallet_modal_cw_btn
close_connect_wallet_modal_btn
connect_wallet_btn
wallet_address_btn
play_card
# Landing Page
nft_accordions
presale_card
loading_box
# CGPT Page
gen_first_scenario_btn
second_scenario_btn
#final_playwright_submit_btn
cgpt_spinner
cgpt_final_submit_btn
scenario_section
selected_scenario_1
selected_scenario_2
selected_scenario_full
ghost_writer_card_1
ghost_writer_card_2
ghost_writer_card_3
when defined(js):
proc el_strict*[T](x: T): Element = gebi_strict $x
proc el*[T](x: T): Option[Element] = gebi $x