-
Notifications
You must be signed in to change notification settings - Fork 5
/
index.html
99 lines (98 loc) · 3.08 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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>Library of Twitter</title>
<link rel="stylesheet" href="style.css" />
</head>
<body>
<main class="card__generator">
<textarea
class="tweet"
maxlength="280"
cols="80"
spellcheck="false"
rows="6"
placeholder="Take your chance to generate the perfect tweet..."
></textarea>
<div class="buttons">
<span class="toggle-switch">
<input
type="radio"
class="toggle"
id="words"
name="select"
value="words"
checked
/>
<label class="toggle-label" for="words">Words</label>
<input
type="radio"
class="toggle"
id="letters"
name="select"
value="letters"
/>
<label class="toggle-label" for="letters">Letters</label>
</span>
<span class="round-buttons">
<button
onclick="generate()"
class="button generate"
type="button"
autofocus
>
Generate
</button>
<button onclick="publish()" class="button publish" type="button">
Tweet
</button>
</span>
</div>
</main>
<header class="card bg_twitter">
<h1>Library of Twitter</h1>
<p>This project is derived from "The Library of Babel".</p>
<p>
"The Library of Babel" is a short story by the Argentine author and
librarian Jorge Luis Borges (1899–1986), which envisions a universe in
the form of an immense library containing all possible 410-page books of
a specific format and character set.
</p>
<p>
The story was originally published in Spanish in Borges' 1941 collection
of stories, "El jardín de senderos que se bifurcan" (The Garden of
Forking Paths). The entire book was subsequently included in his
extensively reprinted work "Ficciones" (1944). Two English-language
translations appeared almost simultaneously in 1962: one by James E.
Irby in a diverse collection of Borges's works titled "Labyrinths," and
the other by Anthony Kerrigan as part of a collaborative translation of
the entirety of "Ficciones".
</p>
<p>
You can find more information on
<a
href="https://en.m.wikipedia.org/wiki/The_Library_of_Babel"
target="wikipedia"
rel="noopener"
>Wikipedia</a
>.
</p>
</header>
<footer class="card">
<p>
This project is open source, which means you are free to contribute to
the code!
</p>
<a
href="https://github.com/rocambille/library-of-twitter"
target="github"
rel="noopener"
>Contribute to this project on GitHub</a
>
</footer>
<script src="./bundle.js"></script>
<script src="app.js"></script>
</body>
</html>