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" >