forked from o0101/bepis
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathtest.js
85 lines (80 loc) · 2.86 KB
/
test.js
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
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
import {w} from './index.js';
{
const o = null;
const {body} = document;
const myStyle = {
color: '#808080',
background: 'linear-gradient(to right, lime, dodgerblue)',
margin: 0
};
{
w`form ${o} ${myStyle},
p label ${"Name"} input ${{required: true, type:'text', placeholder:'your name'}}.
p label ${"Email"} input ${{required: true, type:'email', placeholder:'your email'}}.
p label ${"Password"} input ${{required: true, type:'password', placeholder:'your password'}}.
p button ${"Sign up"}
`(body);
}
{
w`
main,
style ${'nav.menubar { position: sticky; top: 0 }'}.
nav ${{innerText:'Good', class:'menubar'}} ${{background: 'purple'}}.
header ${{class:'banner'}}.
article ${{class:'feature-box'}},
ul,
li aside,
h1 ${"A stunning feature"}.
h2 ${"Amazing byline of the feature"}.
.
li aside,
h1 ${"A stunning feature"}.
h2 ${"Amazing byline of the feature"}.
.
li aside,
h1 ${"A stunning feature"}.
h2 ${"Amazing byline of the feature"}.
.
.
.
article ${{class:'social-proof'}},
ul,
li aside,
h1 ${"A fawning testimonial"}.
h2 ${"Some Jerk paid to say nice things"}.
.
li aside,
h1 ${"A fawning testimonial"}.
h2 ${"Some Jerk paid to say nice things"}..
li aside,
h1 ${"A fawning testimonial"}.
h2 ${"Some Jerk paid to say nice things"}..
.
.
article ${{class:'cta plan-chooser'}},
ul,
li aside,
h1 ${"Free tier"}.
h2 ${"THis one is for penniless losers"}..
li aside,
h1 ${"Reccomended options"}
h2 ${"You'll subsidize the free tier"}..
li aside,
h1 ${"Enterprise jerks"}.
h2 ${"You'll pay us more than we need"}..
.
p ${"You only got one shot at this"} button ${"Purchase something now!"}.
.
footer ${{class:'meaningless-legaleze'}},
ul,
li a ${{innerText: "Some link you'll never be able to contact us by", href:"#go-die"}}.
li a ${{innerText: "Some link you'll never be able to contact us by", href:"#go-die"}}.
li a ${{innerText: "Some link you'll never be able to contact us by", href:"#go-die"}}.
li a ${{innerText: "Some link you'll never be able to contact us by", href:"#go-die"}}.
li a ${{innerText: "Some link you'll never be able to contact us by", href:"#go-die"}}.
li a ${{innerText: "Some link you'll never be able to contact us by", href:"#go-die"}}.
.
.
`(document.body);
}
}