Skip to content

Build your personal knowledge base with Trilium Notes

feat(website): simplify header to logo-only, left-align nav links

Elian Doranfc91f6ec6a89
diff --git a/apps/website/src/components/Header.css b/apps/website/src/components/Header.css
index dbb45bb32e..fb26e4f7a3 100644
--- a/apps/website/src/components/Header.css
+++ b/apps/website/src/components/Header.css
@@ -32,14 +32,10 @@ header {
height: 32px;
}
- img+span {
- font-size: 1.3em;
- }
-
nav {
flex-grow: 1;
display: flex;
- justify-content: flex-end;
+ justify-content: flex-start;
gap: var(--gap);
a {
@@ -156,10 +152,6 @@ header {
@media ((min-width: 720px) and (max-width: 1115px)) {
header {
- .banner span {
- display: none;
- }
-
.content-wrapper {
width: 100%;
}
diff --git a/apps/website/src/components/Header.tsx b/apps/website/src/components/Header.tsx
index d126d1e602..94659566d4 100644
--- a/apps/website/src/components/Header.tsx
+++ b/apps/website/src/components/Header.tsx
@@ -38,7 +38,7 @@ export function Header(props: {repoStargazersCount: number}) {
<div class="content-wrapper">
<div class="first-row">
<a class="banner" href={`/${locale}/`}>
- <img src={logoPath} width="300" height="300" alt="Trilium Notes logo" />&nbsp;<span>Trilium Notes</span>
+ <img src={logoPath} width="300" height="300" alt="Trilium Notes logo" />
</a>
<RepositoryButton repoStargazersCount={props.repoStargazersCount} className="mobile-only" />