Skip to content

Commit 73e1cdb

Browse files
committed
Replace newsletter form
1 parent b2c5f18 commit 73e1cdb

3 files changed

Lines changed: 25 additions & 185 deletions

File tree

docs/_static/style.css

Lines changed: 15 additions & 166 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,10 @@
22
background-color: #300a24;
33
}
44

5+
.toctree-l1 {
6+
padding-bottom: 3px;
7+
}
8+
59
div.sphinxsidebar {
610
overflow: hidden;
711
}
@@ -13,172 +17,6 @@ table caption span.caption-text {
1317
display: block;
1418
}
1519

16-
#mc_embed_signup {
17-
background: transparent;
18-
font: 14px Helvetica,Arial,sans-serif;
19-
}
20-
21-
/* MailChimp Form Embed Code - Classic - 12/17/2015 v10.7 */
22-
#mc_embed_signup form {
23-
display: block;
24-
position: relative;
25-
padding: 10px 0 10px 3%
26-
}
27-
#mc_embed_signup h2 {
28-
font-weight: bold;
29-
padding: 0;
30-
margin: 15px 0;
31-
font-size: 1.4em;
32-
}
33-
#mc_embed_signup input {
34-
border: 1px solid #ABB0B2;
35-
border-radius: 3px;
36-
}
37-
#mc_embed_signup input:focus {
38-
border-color: #333;
39-
}
40-
#mc_embed_signup .button {
41-
clear: both;
42-
background-color: #aaa;
43-
border: 0 none;
44-
border-radius: 4px;
45-
transition: all 0.23s ease-in-out 0s;
46-
color: #FFFFFF;
47-
cursor: pointer;
48-
display: inline-block;
49-
font-size: 15px;
50-
font-weight: normal;
51-
height: 32px;
52-
line-height: 32px;
53-
margin: 0 5px 10px 0;
54-
padding: 0 22px;
55-
text-align: center;
56-
text-decoration: none;
57-
vertical-align: top;
58-
white-space: nowrap;
59-
width: auto;
60-
}
61-
#mc_embed_signup .button:hover {
62-
background-color: #777;
63-
}
64-
#mc_embed_signup .small-meta {
65-
font-size: 11px;
66-
}
67-
#mc_embed_signup .nowrap {
68-
white-space: nowrap;
69-
}
70-
#mc_embed_signup .mc-field-group {
71-
clear: left;
72-
position: relative;
73-
width: 96%;
74-
padding-bottom: 3%;
75-
min-height: 50px;
76-
}
77-
#mc_embed_signup .mc-field-group label {
78-
display: block;
79-
margin-bottom: 3px;
80-
}
81-
#mc_embed_signup .mc-field-group input {
82-
display: block;
83-
width: 100%;
84-
padding: 8px 0;
85-
text-indent: 2%;
86-
}
87-
#mc_embed_signup .indicates-required {
88-
text-align: right;
89-
font-size: 11px;
90-
margin-right: 4%;
91-
}
92-
#mc_embed_signup .asterisk {
93-
color: #e85c41;
94-
font-size: 150%;
95-
font-weight: normal;
96-
position: relative;
97-
top: 5px;
98-
}
99-
#mc_embed_signup .clear {
100-
clear: both;
101-
}
102-
#mc_embed_signup .mc-field-group.input-group ul {
103-
margin: 0;
104-
padding: 5px 0;
105-
list-style: none;
106-
}
107-
#mc_embed_signup .mc-field-group.input-group ul li {
108-
display: block;
109-
padding: 3px 0;
110-
margin: 0;
111-
}
112-
#mc_embed_signup .mc-field-group.input-group label {
113-
display: inline;
114-
}
115-
#mc_embed_signup .mc-field-group.input-group input {
116-
display: inline;
117-
width: auto;
118-
border: none;
119-
}
120-
#mc_embed_signup div#mce-responses {
121-
float: left;
122-
top: -1.4em;
123-
padding: 0em .5em 0em .5em;
124-
overflow: hidden;
125-
width: 90%;
126-
margin: 0 5%;
127-
clear: both;
128-
}
129-
#mc_embed_signup div.response {
130-
margin: 1em 0;
131-
padding: 1em .5em .5em 0;
132-
font-weight: bold;
133-
float: left;
134-
top: -1.5em;
135-
z-index: 1;
136-
width: 80%;
137-
}
138-
#mc_embed_signup #mce-error-response {
139-
display: none;
140-
}
141-
#mc_embed_signup #mce-success-response {
142-
color: #529214;
143-
display: none;
144-
}
145-
#mc_embed_signup label.error {
146-
display: block;
147-
float: none;
148-
width: auto;
149-
margin-left: 1.05em;
150-
text-align: left;
151-
padding: .5em 0;
152-
}
153-
154-
#mc-embedded-subscribe {
155-
clear: both;
156-
width: auto;
157-
display: block;
158-
margin: 1em 0 1em 5%;
159-
}
160-
#mc_embed_signup #num-subscribers {
161-
font-size: 1.1em;
162-
}
163-
#mc_embed_signup #num-subscribers span {
164-
padding: .5em;
165-
border: 1px solid #ccc;
166-
margin-right:.5em;
167-
font-weight:bold;
168-
}
169-
170-
#mc_embed_signup #mc-embedded-subscribe-form div.mce_inline_error {
171-
display: inline-block;
172-
margin: 2px 0 1em 0;
173-
padding: 5px 10px;
174-
background-color: rgba(255,255,255,0.85);
175-
border-radius: 3px; font-size:14px;
176-
font-weight: normal; z-index:1; color:#e85c41;
177-
}
178-
#mc_embed_signup #mc-embedded-subscribe-form input.mce_inline_error {
179-
border: 2px solid #e85c41;
180-
}
181-
18220
.banner {
18321
margin: 0px -20px;
18422
}
@@ -199,6 +37,7 @@ div.sphinxsidebar input[type="submit"] {
19937

20038

20139
.help-footer {
40+
margin-top: 15px;
20241
border-top: 15px #320023 solid;
20342
}
20443

@@ -211,3 +50,13 @@ div.sphinxsidebar input[type="submit"] {
21150
color: #2980B9;
21251
text-decoration: none;
21352
}
53+
54+
55+
.bluesky-social-icon {
56+
width: 30px;
57+
margin-right: 10px;
58+
}
59+
60+
.inline-block {
61+
display: inline-block;
62+
}

docs/_templates/footer.html

Lines changed: 9 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -27,24 +27,15 @@
2727
</tr>
2828
<tr>
2929
<td colspan="2">
30-
<div id="mc_embed_signup">
31-
<form action="//salvius.us15.list-manage.com/subscribe/post?u=580aa1ae653acac0a2d60dc17&amp;id=6ebc548663" method="post" id="mc-embedded-subscribe-form" name="mc-embedded-subscribe-form" class="validate" target="_blank" novalidate>
32-
<div id="mc_embed_signup_scroll">
33-
<h2>Subscribe to the ChatterBot Newsletter</h2>
34-
<div class="mc-field-group">
35-
<label for="mce-EMAIL">Email Address </label>
36-
<input type="email" value="" name="EMAIL" class="required email" id="mce-EMAIL">
37-
</div>
38-
<div id="mce-responses" class="clear">
39-
<div class="response" id="mce-error-response" style="display:none"></div>
40-
<div class="response" id="mce-success-response" style="display:none"></div>
41-
</div>
42-
<!-- real people should not fill this in and expect good things - do not remove this or risk form bot signups-->
43-
<div style="position: absolute; left: -5000px;" aria-hidden="true"><input type="text" name="b_580aa1ae653acac0a2d60dc17_6ebc548663" tabindex="-1" value=""></div>
44-
<div class="clear"><input type="submit" value="Subscribe" name="subscribe" id="mc-embedded-subscribe" class="button"></div>
45-
</div>
46-
</form>
47-
</div>
30+
<a href="https://bsky.app/profile/chatterbot.us">
31+
<div class="inline-block">
32+
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 512" class="bluesky-social-icon"><!--!Font Awesome Free 6.7.2 by @fontawesome - https://fontawesome.com License - https://fontawesome.com/license/free Copyright 2025 Fonticons, Inc.--><path d="M111.8 62.2C170.2 105.9 233 194.7 256 242.4c23-47.6 85.8-136.4 144.2-180.2c42.1-31.6 110.3-56 110.3 21.8c0 15.5-8.9 130.5-14.1 149.2C478.2 298 412 314.6 353.1 304.5c102.9 17.5 129.1 75.5 72.5 133.5c-107.4 110.2-154.3-27.6-166.3-62.9l0 0c-1.7-4.9-2.6-7.8-3.3-7.8s-1.6 3-3.3 7.8l0 0c-12 35.3-59 173.1-166.3 62.9c-56.5-58-30.4-116 72.5-133.5C100 314.6 33.8 298 15.7 233.1C10.4 214.4 1.5 99.4 1.5 83.9c0-77.8 68.2-53.4 110.3-21.8z" fill="#1185fe"/></svg>
33+
</div>
34+
<div class="inline-block">
35+
Subscribe to updates via<br/>
36+
@chatterbot.us on Bluesky
37+
</div>
38+
</a>
4839
</td>
4940
</tr>
5041
</tbody>

docs/examples.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -82,7 +82,7 @@ you can set `read_only=True` as a parameter when initializing the bot.
8282
Django and Flask
8383
================
8484

85-
1. Django: A number of :ref:`example views are documented <ChatterBot Django Views>`, as well as full example Django app.
85+
1. Django: A number of :ref:`example views are documented <Example API Views>`, as well as full example Django app.
8686
2. Flask: There is a separately maintained example `Flask project using ChatterBot <https://github.com/chamkank/flask-chatterbot>`_.
8787

8888
.. _install MongoDB: https://docs.mongodb.com/manual/installation/

0 commit comments

Comments
 (0)