Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
35 changes: 23 additions & 12 deletions assets/static/_css/pycascades/pycascades.home.css
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,29 @@
body.home header.headroom--not-top .logo {
opacity: 1;
}
body.home #intro .image-attribution {
position: absolute;
bottom: 5rem;
right: 3rem;
font-size: 1.2rem;
color: #98D1D6;
text-align: left;
/* Match chevron height */
margin-bottom: -24px;
}
}

@media (max-width: 750px) {
body.home #intro .image-attribution {
position: absolute;
top: 7rem;
right: 1rem;
font-size: 1.2rem;
color: #98D1D6;
text-align: left;
/* Match chevron height */
margin-bottom: -24px;
}
}

body.home header nav > ul > li.home {
Expand All @@ -39,18 +62,6 @@ body.home #intro .main .logo {
}
}

body.home #intro .image-attribution {
position: relative;
top: 1rem;
left: 1rem;
font-size: 1.2rem;
color: #98D1D6;
text-align: left;
left: 1rem;
/* Match chevron height */
margin-bottom: -24px;
}

body.home #intro .image-attribution a {
color: #98D1D6;
text-decoration: none;
Expand Down
24 changes: 19 additions & 5 deletions templates/base.jade
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
doctype html

html
html(lang="en")

head
title {% block page_title %}PyCascades 2021 – Virtual Edition{% endblock %}
Expand Down Expand Up @@ -58,7 +58,7 @@ html
block main

#banner
a(href="https://pretix.eu/pycascades/remote-2021/" target="_blank")
a(href="https://pretix.eu/pycascades/remote-2021/" target="_blank" rel="noreferrer")
strong Tickets available!

footer
Expand All @@ -67,13 +67,13 @@ html
li
a(href="{{ '/code-of-conduct'|url }}") Code of Conduct
li.slack
a(href="{{ bag('pycascades.SLACK_URL') }}", target="_blank")
a(href="{{ bag('pycascades.SLACK_URL') }}", target="_blank" rel="noreferrer")
|#[i.fa.fa-slack] PyCascades
li.twitter
a(href="{{ bag('pycascades.TWITTER_URL') }}", target="_blank")
a(href="{{ bag('pycascades.TWITTER_URL') }}", target="_blank" rel="noreferrer")
|#[i.fa.fa-twitter] PyCascades
li.instagram
a(href="{{ bag('pycascades.INSTAGRAM_URL') }}", target="_blank")
a(href="{{ bag('pycascades.INSTAGRAM_URL') }}", target="_blank" rel="noreferrer")
|#[i.fa.fa-instagram] PyCascades

block logos
Expand All @@ -98,6 +98,20 @@ html
var data = {};
pycascades.start(data);

block seo
script(type="application/ld+json").
{
"@context" : "http://schema.org",
"@type" : "Organization",
"name" : "PyCascades",
"url" : "https://2021.pycascades.com",
"sameAs" : [
"https://twitter.com/pycascades",
"https://www.instagram.com/pycascades",
"https://www.linkedin.com/company/pycascades"
]
}

block analytics
{% set GOOGLE_ANALYTICS_ID = bag('pycascades.GOOGLE_ANALYTICS_ID') %}
{% if envvars('IS_LIVE') and GOOGLE_ANALYTICS_ID %}
Expand Down
8 changes: 5 additions & 3 deletions templates/home.jade
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ block main
.background(du-parallax, y="animator")
.image.bg-cover(ff-bg="static/backgrounds/online.jpg")
.image-attribution
| Header photo © #[a(href="https://thea.codes") Alethea Flowers] / CC BY-SA 4.0
| Header photo © #[a(href="https://thea.codes", rel="noreferrer") Alethea Flowers] / CC BY-SA 4.0
.overlay
.main.vcontainer
.inner
Expand Down Expand Up @@ -65,15 +65,17 @@ block main
.one-half.column.social
a(
href="{{ bag('pycascades.TWITTER_URL') }}",
target="_blank"
target="_blank",
rel="noreferrer"
).
#[i.fa.fa-2x.fa-twitter]
| You can also follow us.

.one-half.column.social
a(
href="{{ bag('pycascades.SLACK_URL') }}",
target="_blank"
target="_blank",
rel="noreferrer"
).
#[i.fa.fa-2x.fa-slack]

Expand Down
2 changes: 1 addition & 1 deletion templates/includes/nav.jade
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ nav
//- a(href="{{ '/sponsors'|url }}") Our Sponsors

li.attend
a(href="https://pretix.eu/pycascades/remote-2021/", target="_blank") Tickets
a(href="https://pretix.eu/pycascades/remote-2021/", target="_blank", rel="noreferrer") Tickets

li.news
a(href="{{ '/news'|url }}") News
6 changes: 4 additions & 2 deletions templates/includes/subscribe.jade
Original file line number Diff line number Diff line change
Expand Up @@ -11,13 +11,15 @@ form.subscribe-form(
value="",
placeholder="Your Email",
required="required"
aria-label="Email"
)
button(type="submit")
button(type="submit", aria-label="Subscribe to newsletter")
|#[i.fa.fa-send] Subscribe
div(style="position: absolute; left: -5000px;", aria-hidden="true")
input(
type="text",
name="b_910a586d174a45ddb1125ad4e_1f87464654",
tabindex="-1",
value=""
value="",
)