Commit fe4e7b2
fix(website): Make the sandwich menu display the site name not 'Loculus' (#4074)
Update the sandwich menu to display the site name dynamically
* Import `getWebsiteConfig` from `../config` in `SandwichMenu.tsx`.
* Replace the hardcoded "Loculus" with the dynamically fetched site name
from `getWebsiteConfig().name` in the `SandwichMenu` component.
---
For more details, open the [Copilot Workspace
session](https://copilot-workspace.githubnext.com/loculus-project/loculus/pull/4074?shareId=11cb7a4a-78e9-47de-a5fe-b6380f3099c4).
🚀 Preview: https://theosanderson-fix-sandwic.loculus.org
---------
Co-authored-by: Loculus bot <bot@loculus.org>1 parent 3916ac8 commit fe4e7b2
2 files changed
Lines changed: 11 additions & 3 deletions
File tree
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | 2 | | |
3 | 3 | | |
| 4 | + | |
4 | 5 | | |
5 | 6 | | |
6 | 7 | | |
| |||
13 | 14 | | |
14 | 15 | | |
15 | 16 | | |
| 17 | + | |
16 | 18 | | |
17 | 19 | | |
18 | 20 | | |
| |||
34 | 36 | | |
35 | 37 | | |
36 | 38 | | |
37 | | - | |
| 39 | + | |
| 40 | + | |
| 41 | + | |
| 42 | + | |
| 43 | + | |
| 44 | + | |
38 | 45 | | |
39 | 46 | | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
8 | 8 | | |
9 | 9 | | |
10 | 10 | | |
| 11 | + | |
11 | 12 | | |
12 | 13 | | |
13 | | - | |
| 14 | + | |
14 | 15 | | |
15 | 16 | | |
16 | 17 | | |
| |||
37 | 38 | | |
38 | 39 | | |
39 | 40 | | |
40 | | - | |
| 41 | + | |
41 | 42 | | |
42 | 43 | | |
43 | 44 | | |
| |||
0 commit comments