diff --git a/output/apple-touch-icon.png b/output/apple-touch-icon.png new file mode 100644 index 0000000..8453899 Binary files /dev/null and b/output/apple-touch-icon.png differ diff --git a/output/favicon.ico b/output/favicon.ico new file mode 100644 index 0000000..e279aab Binary files /dev/null and b/output/favicon.ico differ diff --git a/output/index.css b/output/index.css index 82dcbd1..e8ea8d3 100644 --- a/output/index.css +++ b/output/index.css @@ -54,6 +54,16 @@ body { height: 100%; } +.h2-like { + display: block; + font-size: 1.5em; + margin-top: 0.83em; + margin-bottom: 0.83em; + margin-left: 0; + margin-right: 0; + font-weight: bold; +} + #toggle-theme-switch { display: none; } @@ -304,6 +314,12 @@ header { --row-color: var(--secondary-color-shaded); } +#tbl_communities h2 { + font-size: inherit; + margin: inherit; + font-weight: inherit; + display: inherit; +} /* Particular columns */ .td_identifier { diff --git a/output/robots.txt b/output/robots.txt new file mode 100644 index 0000000..e2acced --- /dev/null +++ b/output/robots.txt @@ -0,0 +1,7 @@ +User-agent: * +Allow: / +Allow: /about.html +Allow: /donate.html +Allow: /index.html +Allow: /instructions.html +Allow: /privacy.html diff --git a/php/generate-html.php b/php/generate-html.php index 6b7aca7..efe7254 100644 --- a/php/generate-html.php +++ b/php/generate-html.php @@ -55,6 +55,8 @@ exit(255); } + $output = preg_replace("/\\t+/", "\t", $output); + file_put_contents($docpath, join("\n", $output)); } diff --git a/sites/+components/communities-json-ld.php b/sites/+components/communities-json-ld.php index d245ce5..f88ded5 100644 --- a/sites/+components/communities-json-ld.php +++ b/sites/+components/communities-json-ld.php @@ -1,4 +1,5 @@ 'https://www.w3.org/ns/activitystreams', + '@context' => 'https://schema.org/', 'summary' => 'Active Session Communities', - 'type' => 'Collection', + '@type' => 'Collection', 'totalItems' => count($rooms), 'items' => array_map(function(CommunityRoom $room) { $values = array( - 'type' => 'Group', + '@type' => 'Group', 'name' => $room->name, 'summary' => $room->description, 'startTime' => $room->created ? date('Y-m-d\TH:i:s', intval($room->created)) : null, 'url' => $room->get_preview_url(), - 'icon' => room_icon($room, '64x64') + 'icon' => $SITE_CANONICAL_URL . '/' . room_icon($room, '64x64') ); return array_filter($values, function ($value) { return $value != null; @@ -27,6 +28,6 @@ ?> diff --git a/sites/+components/page-head.php b/sites/+components/page-head.php index a9b51bf..1548e91 100644 --- a/sites/+components/page-head.php +++ b/sites/+components/page-head.php @@ -11,3 +11,5 @@ form-action 'none'; base-uri 'self'; " > + + diff --git a/sites/+components/qr-modals.php b/sites/+components/qr-modals.php index ba7ff74..2b06afd 100644 --- a/sites/+components/qr-modals.php +++ b/sites/+components/qr-modals.php @@ -23,12 +23,14 @@ width="64" height="64" data-hydrate-with="icon:src;icon_safety:data-icon-safety" - />

+ >

@@ -72,6 +74,7 @@ title="Community join link encoded as QR code" width="512" height="512" + alt="Community join link encoded as QR code" >

Scan QR code in Session to join diff --git a/sites/+components/tbl-communities.php b/sites/+components/tbl-communities.php index dd100b8..ae7c932 100644 --- a/sites/+components/tbl-communities.php +++ b/sites/+components/tbl-communities.php @@ -96,11 +96,11 @@ class="td_name-inner" target="_blank" title="Click here to preview ''" - rel="noopener noreferrer" + rel="noopener noreferrer external nofollow" itemprop="name" - >

+ ?>

get_room_tags() as $tag): if (CommunityTag::is_showcased_tag($tag->text)): ?> @@ -144,7 +144,7 @@ width="36" height="41" src="qrcode-solid.svg" - alt="Pictogram of a QR code" + alt="QR code pictogram linking to '' Community QR code" title="Click here to view the details for ''" > @@ -171,7 +171,7 @@ title="Right click and copy this link to join ''." href="" rel="external nofollow" - >Copy this + >Copy this
diff --git a/sites/about.php b/sites/about.php index 8181ea9..8d27583 100644 --- a/sites/about.php +++ b/sites/about.php @@ -9,7 +9,14 @@ + About — sessioncommunities.online + + + +

Self-updating list of Session Communities

diff --git a/sites/donate.php b/sites/donate.php index d32fbcb..23a3f28 100644 --- a/sites/donate.php +++ b/sites/donate.php @@ -17,6 +17,15 @@ + + + + + Donate — sessioncommunities.online . In short: Use the Copy button or scan the QR code! - "> - - - + Issues joining Session Communities?Read guides by sessioncommunities.online contributors, available in "> + + + Instructions — sessioncommunities.online diff --git a/sites/privacy.php b/sites/privacy.php index d348fd0..31f660d 100644 --- a/sites/privacy.php +++ b/sites/privacy.php @@ -14,8 +14,13 @@ Privacy — sessioncommunities.online - - + + + + +