-
Notifications
You must be signed in to change notification settings - Fork 2
/
index.html
173 lines (138 loc) · 6.05 KB
/
index.html
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
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
<!doctype html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no">
<meta name="description" content="">
<meta name="author" content="Josh Long">
<title>"Reactive Spring" is now available!</title>
<link rel="stylesheet"
href="https://stackpath.bootstrapcdn.com/bootstrap/4.5.2/css/bootstrap.min.css"
integrity="sha384-JcKb8q3iqJ61gNV9KGb8thSsNjpSL0n8PARn9HuZOnIxN0hoP+VmmDGMN5t9UJ0Z" crossorigin="anonymous">
<script>
function installMouseOver(imgId, before, after) {
console.debug('loading...')
const img = document.getElementById(imgId)
img.addEventListener('mouseenter', (e) => {
console.debug('mouseenter')
img.setAttribute('src', after)
});
img.addEventListener('mouseleave', (e) => {
console.debug('mouseleave')
img.setAttribute('src', before)
});
}
window.addEventListener('load', (e) => {
console.debug('loading...')
const imgId = 'cover-image'
const before = 'images/white.png'
const after = 'images/yellow.png'
installMouseOver(imgId, before, after)
});
</script>
<style>
.market-name {
font-family: "Lucida Grande", "Arial Black", "Helvetica Neue", sans-serif;
font-weight: bold;
font-size: larger;
text-align: right;
}
.book-image {
width: 70%;
height: 70%;
margin: 0 auto;
text-align: center;
}
.frame {
height: 100vh;
overflow: scroll;
border: 20px solid #f6f06b;
}
#cover-image {
margin: 0 auto;
}
#rsb-screen > .row {
}
.availability-info {
}
.availability-info a {
font-size: smaller;
}
a {
color: #2bb673
}
.top-center-menu {
margin: 0 auto;
}
.debug {
/*border: 1px solid black;*/
}
</style>
</head>
<body id="rsb-screen">
<div class="frame">
<div class="container debug">
<div class="row debug">
<img class="book-image" src="images/book-title.png"/>
</div>
<div class="row" style="padding-top: 10px">
<div class="col-12">
<div class="top-center-menu">
<div class="availability-info container-fluid debug" style="width: 100%">
<div class="row ">
<div class="col-4 market-name">
<b> Leanpub: </b>
</div>
<div class="col-8">
You can buy <code>.epub</code>, <code>.mobi</code>, <code>.pdf</code> versions from Leanpub. If you want a digital edition, then please buy from Leanpub.
<a href="https://leanpub.com/reactive-spring" class="market">Order Now!</a>
</div>
</div>
<div style="height: 10px"></div>
<div class="row">
<div class=" col-4 market-name">
<b> Amazon:</b>
</div>
<div class=" col-8">
<p> <a href="https://www.amazon.com/Reactive-Spring-Josh-Long/dp/1732910413">Print Edition Is Available On Amazon, too!</a>
</p>
<P>
<b>Kindle is also available in these Amazon territories</b>. That said,
if you want the digital edition, I hope you'll consider buying it from Leanpub first.
It's better for me and the publishing industry if more people buy from them. :)
<a href="https://www.amazon.com/dp/B08H4QZFM8">US</a>
<a href="https://www.amazon.in/dp/B08H4QZFM8">IN</a>
<a href="https://www.amazon.co.uk/dp/B08H4QZFM8">UK</a>
<a href="https://www.amazon.fr/dp/B08H4QZFM8">FR</a>
<a href="https://www.amazon.de/dp/B08H4QZFM8">DE</a>
<a href="https://www.amazon.es/dp/B08H4QZFM8">ES</a>
<a href="https://www.amazon.nl/dp/B08H4QZFM8">NL</a>
<a href="https://www.amazon.co.jp/dp/B08H4QZFM8">JP</a>
<a href="https://www.amazon.com.br/dp/B08H4QZFM8">BR</a>
<a href="https://www.amazon.ca/dp/B08H4QZFM8">CA</a>
<a href="https://www.amazon.com.mx/dp/B08H4QZFM8">MX</a>
<a href="https://www.amazon.com.au/dp/B08H4QZFM8">AU</a>
</P>
</div>
</div>
</div>
</div>
</div>
</div>
<div class="row debug" style="padding-top: 10px">
<img id="cover-image" class="book-image" src="images/white.png"/>
</div>
</div>
</div>
<!---->
<script src="https://code.jquery.com/jquery-3.5.1.slim.min.js"
integrity="sha384-DfXdz2htPH0lsSSs5nCTpuj/zy4C+OGpamoFVy38MVBnE+IbbVYUew+OrCXaRkfj"
crossorigin="anonymous"></script>
<script src="https://cdn.jsdelivr.net/npm/[email protected]/dist/umd/popper.min.js"
integrity="sha384-9/reFTGAW83EW2RDu2S0VKaIzap3H66lZH81PoYlFhbGU+6BZp6G7niu735Sk7lN"
crossorigin="anonymous"></script>
<script src="https://stackpath.bootstrapcdn.com/bootstrap/4.5.2/js/bootstrap.min.js"
integrity="sha384-B4gt1jrGC7Jh4AgTPSdUtOBvfO8shuf57BaghqFfPlYxofvL8/KUEfYiJOMMV+rV"
crossorigin="anonymous"></script>
</body>
</html>