Skip to content

Commit 6cd9338

Browse files
committed
style: make content wider (700px ➛ 896px) to accommodate new example
1 parent f96f6f8 commit 6cd9338

File tree

2 files changed

+5
-10
lines changed

2 files changed

+5
-10
lines changed

src/index.html

Lines changed: 4 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -87,7 +87,7 @@ <h1 class="block-title display-1">Falcon</h1>
8787
<p>A Big Thank You to Our Project Patrons</p>
8888

8989
<p>
90-
<a href="https://www.lambdatest.com/?utm_source=falcon&utm_medium=sponsor" target="_blank"><img src="img/sponsors/lambdatest.png" height="64" alt="LambdaTest" style="margin-right: 10px"></a>
90+
<a href="https://www.lambdatest.com/?utm_source=falcon&utm_medium=sponsor" target="_blank"><img src="img/sponsors/lambdatest.png" height="64" alt="LambdaTest"></a>
9191

9292
<a href="https://www.govcert.lu/" target="_blank"><img src="img/sponsors/govcert.png" width="220" alt="CERT Gouvernemental Luxembourg" style="margin-right: 10px"></a>
9393

@@ -108,18 +108,13 @@ <h1 class="block-title display-1">Falcon</h1>
108108

109109

110110
class QuoteResource:
111-
def on_get(self, req, resp):
111+
def on_get(self, req: falcon.Request, resp: falcon.Response) -> None:
112112
"""Handle GET requests."""
113-
quote = {
113+
resp.media = {
114+
'quote': "I've always been more interested in the future than in the past.",
114115
'author': 'Grace Hopper',
115-
'quote': (
116-
"I've always been more interested in "
117-
"the future than in the past."
118-
),
119116
}
120117

121-
resp.media = quote
122-
123118

124119
app = falcon.App()
125120
app.add_route('/quote', QuoteResource())</code></pre>

src/theme/_variables.scss

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
// ------------------------------------------------------
22
// Content
33
// ------------------------------------------------------
4-
$content-max-width: 700px;
4+
$content-max-width: 896px;
55

66
// ------------------------------------------------------
77
// Colors

0 commit comments

Comments
 (0)