From a7c6a47abbd8eb7c767f453741ef5e613ef3dc5b Mon Sep 17 00:00:00 2001
From: Camilo Vega <59750365+camilovegag@users.noreply.github.com>
Date: Thu, 23 May 2024 06:49:34 -0500
Subject: [PATCH] 546 improve lighthouse score (#556)
* Improve SEO and a11y
* Add robots.txt
---
packages/berlin/index.html | 4 +++
packages/berlin/public/robots.txt | 6 +++++
.../berlin/src/components/header/Header.tsx | 25 +++++++++++++------
3 files changed, 27 insertions(+), 8 deletions(-)
create mode 100644 packages/berlin/public/robots.txt
diff --git a/packages/berlin/index.html b/packages/berlin/index.html
index fd5b660d..a22f7821 100644
--- a/packages/berlin/index.html
+++ b/packages/berlin/index.html
@@ -10,6 +10,10 @@
rel="stylesheet"
/>
+
Plural Research Experiment
diff --git a/packages/berlin/public/robots.txt b/packages/berlin/public/robots.txt
new file mode 100644
index 00000000..20b344a8
--- /dev/null
+++ b/packages/berlin/public/robots.txt
@@ -0,0 +1,6 @@
+User-agent: *
+Disallow: /admin/
+Disallow: /private/
+Allow: /
+
+Sitemap: https://www.pluralresearch.org/sitemap.xml
\ No newline at end of file
diff --git a/packages/berlin/src/components/header/Header.tsx b/packages/berlin/src/components/header/Header.tsx
index b425812e..e5201cb7 100644
--- a/packages/berlin/src/components/header/Header.tsx
+++ b/packages/berlin/src/components/header/Header.tsx
@@ -142,14 +142,23 @@ function Header() {
Login with Zupass
)}
- setIsBurgerMenuOpen(!isBurgerMenuOpen)}>
-
-
-
-
-
-
-
+
+ setIsBurgerMenuOpen(!isBurgerMenuOpen)}>
+
+
+
+
+
+
+
+
+
+
setIsBurgerMenuOpen(false)}>