This repository has been archived by the owner on Mar 19, 2023. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
149 lines (132 loc) · 6.75 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
<!--
Copyright (c) 2018 Clarity
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:
The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE.
-->
<!DOCTYPE html>
<head>
<title>Sayori Poem Generator Demo</title>
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/materialize/1.0.0/css/materialize.min.css">
<link rel="stylesheet" href="https://fonts.googleapis.com/icon?family=Material+Icons|Roboto+Mono">
<link rel="stylesheet" href="css/index.css">
<!-- OpenGraph Meta -->
<meta property="og:title" content="Poem Generator Demo">
<meta property="og:type" content="website">
<meta property="og:url" content="https://demo.sayori.headbow.stream">
<meta property="og:description" content="A live demonstration of the Sayori poem generator.">
<meta property="org:site_name" content="Sayori Demo">
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<meta name="description" content="A live demonstration of the Sayori poem generator.">
<meta name="author" content="ClarityMoe">
<meta name="breakfast" content="toast">
</head>
<body class="yellow lighten-5">
<div class="loading">
<div class="loading-wrap valign-wrapper">
<img class="floaty" src="img/air.png">
</div>
</div>
<div class="container">
<span class="sayori-mcsayoriface">
<img src="img/stand.png"></img>
</span>
<h2 class="center">Sayori Poem Generator Demo</h2>
<p class="center">This is a live demo of the <a href="https://github.com/MonikaDesu/Sayori/" target="blank">Sayori poem generator</a>, used to show off what it can do.</p>
<div id="error-card" class="card red lighten-2 hidden">
<div class="card-content">
<span class="card-title">
Error
</span>
<span id="error-text" class="mono"></span>
</div>
</div>
<div class="card">
<div class="card-content">
<div class="row">
<span class="card-title padd">
Generate Poem
</span>
<!-- Dropdown Trigger -->
<a id="poem-dropdown" class="dropdown-trigger col s12 btn card-container white black-text" href="#" data-target="dropdown1">Poem Font</a>
<!-- Dropdown Structure -->
<ul id="dropdown1" class="dropdown-content">
<li><a href="#" onclick="window.font = 'm1'">Monika</a></li>
<li><a href="#" onclick="window.font = 'n1'">Natsuki</a></li>
<li><a href="#" onclick="window.font = 's1'">Sayori</a></li>
<li><a href="#" onclick="window.font = 'y1'">Yuri (Normal)</a></li>
<li><a href="#" onclick="window.font = 'y2'">Yuri (Fast)</a></li>
<li><a href="#" onclick="window.font = 'y3'">Yuri (Obsessed)</a></li>
</ul>
<form>
<div class="input-field col s12 card-container">
<textarea id="poem-text" class="materialize-textarea card-field"></textarea>
<label for="poem-text">Poem</label>
<submit id="poem-submitter" class="btn red lighten-2 waves-light">submit</submit>
<div id="poem-spinner" class="preloader-wrapper active hidden">
<div class="spinner-layer spinner-red-only">
<div class="circle-clipper left">
<div class="circle"></div>
</div>
<div class="gap-patch">
<div class="circle"></div>
</div>
<div class="circle-clipper right">
<div class="circle"></div>
</div>
</div>
</div>
</div>
</form>
</div>
</div>
</div>
<div id="poem-card" class="card hidden">
<div class="card-content">
<span class="card-title">
Here's your poem (Click on it to expand in a new tab).
</span>
</div>
<div class="card-image">
<a id="poem-card-img" href="" target="_blank">
<img src="">
</a>
</div>
</div>
</div>
<p class="center"> Made with <i class="material-icons red-text lighten-2">favorite</i> with Python and HTML. </p>
<p class="center"> Consider <a href="https://paypal.me/chinodesuuu">Donating</a> to keep this running! </p>
<script type="application/javascript" src="https://cdnjs.cloudflare.com/ajax/libs/materialize/1.0.0/js/materialize.min.js"></script>
<script type="application/javascript" src="js/browserChecker.js"></script>
<script type="application/javascript" src="js/index.js"></script>
<!-- Global site tag (gtag.js) - Google Analytics -->
<script>
(function(i, s, o, g, r, a, m) {
i['GoogleAnalyticsObject'] = r;
i[r] = i[r] || function() {
(i[r].q = i[r].q || []).push(arguments)
}, i[r].l = 1 * new Date();
a = s.createElement(o),
m = s.getElementsByTagName(o)[0];
a.async = 1;
a.src = g;
m.parentNode.insertBefore(a, m)
})(window, document, 'script', 'https://www.google-analytics.com/analytics.js', 'ga');
ga('create', 'UA-113291856-1', 'auto');
ga('send', 'pageview');
</script>
</body>
</html>