Skip to content

Commit 80218fe

Browse files
SaptakStunetheweb
andauthored
Adds banner for announcement of live stream event (#3961)
* Adds banner for announcement of live stream event * Linting fixes * Make date clearer * Move to non-year template * Remove redundant line --------- Co-authored-by: Barry Pollard <barrypollard@google.com>
1 parent 8433860 commit 80218fe

16 files changed

Lines changed: 180 additions & 0 deletions

File tree

src/static/css/index.css

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,20 @@ header.alt-bg {
1212
margin-bottom: -52.94em;
1313
}
1414

15+
aside.banner {
16+
background: #f7f779;
17+
padding: 15px 0;
18+
text-align: center;
19+
}
20+
21+
aside.banner a {
22+
color: #1a2b49;
23+
}
24+
25+
aside.banner p {
26+
margin: 0;
27+
}
28+
1529
#maincontent {
1630
display: -ms-grid;
1731
display: grid;

src/static/live-stream.ics

Lines changed: 53 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,53 @@
1+
BEGIN:VCALENDAR
2+
CALSCALE:GREGORIAN
3+
PRODID:-//Apple Inc.//macOS 15.1.1//EN
4+
VERSION:2.0
5+
BEGIN:VTIMEZONE
6+
TZID:America/Toronto
7+
BEGIN:DAYLIGHT
8+
DTSTART:20070311T020000
9+
RRULE:FREQ=YEARLY;BYMONTH=3;BYDAY=2SU
10+
TZNAME:EDT
11+
TZOFFSETFROM:-0500
12+
TZOFFSETTO:-0400
13+
END:DAYLIGHT
14+
BEGIN:STANDARD
15+
DTSTART:20071104T020000
16+
RRULE:FREQ=YEARLY;BYMONTH=11;BYDAY=1SU
17+
TZNAME:EST
18+
TZOFFSETFROM:-0400
19+
TZOFFSETTO:-0500
20+
END:STANDARD
21+
END:VTIMEZONE
22+
BEGIN:VEVENT
23+
ATTACH;SIZE=111568;VALUE=URI;X-APPLE-FILENAME=1_1 - Social Media Medium.
24+
jpeg:https://gateway.icloud.com/caldav/1_MTExMjQ1OTIxMTEyNDU5MtKT3Rbf65o
25+
Rdkfh1xQ4H2YycKhBV9wT7AD-cztTqfhK/attach/4_GEYTCMRUGU4TEMJRGEZDINJZGJUJ5
26+
RFU3I7G6UGPO55BMAYOC7E47V7YIFHLMRKZAW75FMIUNOYS6MAIRF3GJQN5ETL337WL5VRCF
27+
Y3HNGX44J4JHJ7EVJZ2UOK6V4MURASQXBULB6HINAF2TBEKEP5RZSB4CFNS2VNJT7NLVFZRK
28+
3RTBE6BZJ6LVS664XXKZIDZ6FJRRBOQQKZ7GTZLIMYJ2BC37EYSIRZO2SWIFD6XX2OKNC5ST
29+
XKNLGPSX6PMXX5MLG7HNXGXZ7LOJGMOKNG65YDU4GDAWO4ZYPJ4AYNSFEN3P363AKTTO2AWU
30+
2OCT2FUTLZVR67RW/1_1+-+Social+Media+Medium.jpeg
31+
CREATED:20241202T164742Z
32+
DESCRIPTION:The Web Almanac Live! stream is an event to celebrate the re
33+
lease of the 2024 edition of The HTTP Archive's Web Almanac. It will fea
34+
ture chapter authors as well as discussions around the data they uncover
35+
ed\, some they didn't and all things in between in this year's edition.
36+
Join us for lively discussions as we go through results from 17 million
37+
websites analyzed and 83 TB of data processed. Tuesday\, 10th December at
38+
13h EST.
39+
DTEND;TZID=America/Toronto:20241210T143000
40+
DTSTAMP:20241203T132359Z
41+
DTSTART;TZID=America/Toronto:20241210T130000
42+
LAST-MODIFIED:20241203T132349Z
43+
LOCATION:https://www.youtube.com/live/cdYR0ZmplIM?si=JSGEjt2Z5r-uFDgR
44+
SEQUENCE:0
45+
SUMMARY:Live Stream: The 2024 Web Almanac
46+
TRANSP:OPAQUE
47+
UID:115E4869-3F22-468B-8CAB-03E06F87DF78
48+
URL;VALUE=URI:https://www.youtube.com/live/cdYR0ZmplIM?si=JSGEjt2Z5r-uFD
49+
gR
50+
X-APPLE-CREATOR-IDENTITY:com.apple.calendar
51+
X-APPLE-CREATOR-TEAM-IDENTITY:0000000000
52+
END:VEVENT
53+
END:VCALENDAR

src/templates/base/base.html

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -383,6 +383,15 @@
383383

384384
{% block content%}
385385
<div id="skiptocontent"><a href="#maincontent">{{ self.skip_navigation() }}</a></div>
386+
{% block announcement %}
387+
{% if self.announcement_text %}
388+
<aside class="banner">
389+
<div class="container">
390+
{{ self.announcement_text() }}
391+
</div>
392+
</aside>
393+
{% endif %}
394+
{% endblock %}
386395
{% block header %}
387396
<header id="header" class="alt-bg">
388397
<div class="container">

src/templates/en/base.html

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,14 @@
1818
{% block intro_title %}Web Almanac{% endblock %}
1919
{% block intro_sub_title %}HTTP Archive&#8217;s annual<br> <b>state of the web</b> report{% endblock %}
2020

21+
{% block announcement_text %}
22+
<p lang="en">
23+
Join our live stream for this year's edition on Tuesday, 10th December 2024 on
24+
<a href="https://www.youtube.com/live/cdYR0ZmplIM">YouTube</a>,
25+
or save the <a href="/static/live-stream.ics">calendar event</a>!
26+
</p>
27+
{% endblock %}
28+
2129
{% block mission %}
2230
<p>
2331
Our mission is to combine the raw stats and trends of the HTTP Archive with the expertise of the web community. The Web Almanac is a comprehensive report on the state of the web, backed by real data and trusted web experts. The {{ year }} edition is comprised of {{ supported_chapters | length }} chapters spanning aspects of page content, user experience, publishing, and distribution.

src/templates/es/base.html

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,14 @@
1818
{% block intro_title %}Web Almanac{% endblock %}
1919
{% block intro_sub_title %}HTTP Archive informe del<br><b>estado de la web</b> anual{% endblock %}
2020

21+
{% block announcement_text %}
22+
<p lang="en">
23+
Join our live stream for this year's edition on Tuesday, 10th December 2024 on
24+
<a href="https://www.youtube.com/live/cdYR0ZmplIM">YouTube</a>,
25+
or save the <a href="/static/live-stream.ics">calendar event</a>!
26+
</p>
27+
{% endblock %}
28+
2129
{% block mission %}
2230
<p>
2331
Nuestra misión es combinar las estadísticas y tendencias sin procesar del HTTP Archive con la experiencia de la comunidad web. Web Almanac es un informe exhaustivo sobre el estado de la web, respaldado por datos reales y expertos web de confianza. La edición de {{ year }} consta de {{ supported_chapters | length }} capítulos que abarcan aspectos del contenido de la página, la experiencia del usuario, la publicación y la distribución.

src/templates/fr/base.html

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,14 @@
1818
{% block intro_title %}Web Almanac{% endblock %}
1919
{% block intro_sub_title %}Rapport annuel<br>de HTTP Archive sur<br><b>l’état du Web</b>{% endblock %}
2020

21+
{% block announcement_text %}
22+
<p lang="en">
23+
Join our live stream for this year's edition on Tuesday, 10th December 2024 on
24+
<a href="https://www.youtube.com/live/cdYR0ZmplIM">YouTube</a>,
25+
or save the <a href="/static/live-stream.ics">calendar event</a>!
26+
</p>
27+
{% endblock %}
28+
2129
{% block mission %}
2230
<p>
2331
Notre mission est de combiner les statistiques brutes et les tendances de HTTP Archive avec l’expertise de la communauté web. Le Web Almanac est un rapport complet sur l’état du Web, soutenu par des données réelles et des experts du Web. L’édition {{ year }} se compose de {{ supported_chapters | length }} chapitres couvrant l’expérience utilisateur, le contenu des pages, leur publication et leur distribution.

src/templates/hi/base.html

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,14 @@
1818
{% block intro_title %}Web Almanac{% endblock %}
1919
{% block intro_sub_title %}HTTP Archive के वार्षिक<br> <b>वेब की स्थिति</b> की रिपोर्ट{% endblock %}
2020

21+
{% block announcement_text %}
22+
<p lang="en">
23+
Join our live stream for this year's edition on Tuesday, 10th December 2024 on
24+
<a href="https://www.youtube.com/live/cdYR0ZmplIM">YouTube</a>,
25+
or save the <a href="/static/live-stream.ics">calendar event</a>!
26+
</p>
27+
{% endblock %}
28+
2129
{% block mission %}
2230
<p>
2331
हमारा उद्देश्य वेब समुदाय की विशेषज्ञता के साथ HTTP Archive के कच्चे आँकड़ों और रुझानों को जोड़ना है। Web Almanac वेब की स्थिति पर एक व्यापक रिपोर्ट है, जो वास्तविक डेटा और विश्वसनीय वेब विशेषज्ञों द्वारा समर्थित है। यह पृष्ठ सामग्री, यूजर एक्सपीरियंस, प्रकाशन, {{ year }} संस्करण वितरण के पहलुओं को फैलाने वाले {{ supported_chapters | length }} अध्यायों से युक्त है।

src/templates/it/base.html

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,14 @@
1818
{% block intro_title %}Web Almanac{% endblock %}
1919
{% block intro_sub_title %}Rapporto annuale<br> <b>sullo stato del web</b> di HTTP Archive{% endblock %}
2020

21+
{% block announcement_text %}
22+
<p lang="en">
23+
Join our live stream for this year's edition on Tuesday, 10th December 2024 on
24+
<a href="https://www.youtube.com/live/cdYR0ZmplIM">YouTube</a>,
25+
or save the <a href="/static/live-stream.ics">calendar event</a>!
26+
</p>
27+
{% endblock %}
28+
2129
{% block mission %}
2230
<p>
2331
La nostra missione è combinare le statistiche grezze e le tendenze del HTTP Archive con l'esperienza della comunità web. Il Web Almanac è un rapporto completo sullo stato del web, supportato da dati reali e da esperti web di fiducia. L'edizione {{ year }} è composta da {{supported_chapters | length}} capitoli che abbracciano aspetti del page content, user experience, publishing e distribution.

src/templates/ja/base.html

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,14 @@
1818
{% block intro_title %}Web Almanac{% endblock %}
1919
{% block intro_sub_title %}HTTP Archiveの年次報告書<br> <b>ウェブの状態</b>レポート{% endblock %}
2020

21+
{% block announcement_text %}
22+
<p lang="en">
23+
Join our live stream for this year's edition on Tuesday, 10th December 2024 on
24+
<a href="https://www.youtube.com/live/cdYR0ZmplIM">YouTube</a>,
25+
or save the <a href="/static/live-stream.ics">calendar event</a>!
26+
</p>
27+
{% endblock %}
28+
2129
{% block mission %}
2230
<p>
2331
私たちの使命は、HTTP Archiveの生の統計やトレンドを、ウェブコミュニティの専門知識と組み合わせることです。Web Almanacは、実際のデータと信頼できるウェブの専門家に裏付けられた、ウェブの状態に関する包括的なレポートです。{{ year }}年版は、ページコンテンツ、ユーザー体験、パブリッシング、配布などの側面を網羅した{{ supported_chapters | length }}の章で構成されています。

src/templates/nl/base.html

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,14 @@
1818
{% block intro_title %}Web Almanac{% endblock %}
1919
{% block intro_sub_title %}HTTP Archive&#8217;s jaarlijkse<br><b>staat van het web</b>rapport{% endblock %}
2020

21+
{% block announcement_text %}
22+
<p lang="en">
23+
Join our live stream for this year's edition on Tuesday, 10th December 2024 on
24+
<a href="https://www.youtube.com/live/cdYR0ZmplIM">YouTube</a>,
25+
or save the <a href="/static/live-stream.ics">calendar event</a>!
26+
</p>
27+
{% endblock %}
28+
2129
{% block mission %}
2230
<p>
2331
Onze missie is om de onbewerkte statistieken en trends van het HTTP Archive te combineren met de expertise van de webgemeenschap. De Web Almanac is een uitgebreid rapport over de staat van het internet, ondersteund door echte gegevens en vertrouwde webexperts. De editie van {{ year }} bestaat uit {{ supported_chapters | length }} hoofdstukken over aspecten van pagina-inhoud, gebruikerservaring, publicatie en distributie.

0 commit comments

Comments
 (0)