A fork of https://github.com/crosspoint-reader/crosspoint-reader
0
fork

Configure Feed

Select the types of activity you want to include in your feed.

style: unify page headers across web UI (#1702)

## Summary

* **Goal**: Align `FilesPage` and `SettingsPage` headers with the
existing `HomePage` pattern.
* **Changes**:
- Added `<h1>๐Ÿ“š CrossPoint Reader</h1>` at the top of `<body>` on both
pages.
- Demoted the page-specific `๐Ÿ“ File Manager` heading on `FilesPage` from
`<h1>` to `<h2>` (inside `.page-header`), so every page has a single
`<h1>` โ€” the app name.
- Moved the accent-colored `border-bottom` from `.page-header` to `h1`,
matching the HomePage CSS.

All three pages now share the same top structure:
`<h1>CrossPoint Reader</h1>` โ†’ nav links โ†’ page content.

## Screenshots

### Home

**Before and after is the same**
<img width="1153" height="388" alt="home before"
src="https://github.com/user-attachments/assets/4eb1c969-89fd-4965-ba17-5ff956576a8b"
/>

### File Manager

**Before**
<img width="1153" height="388" alt="files before"
src="https://github.com/user-attachments/assets/ba689d6b-56b1-44d1-a151-3f67b0fcdb16"
/>

**After**
<img width="1153" height="388" alt="files after"
src="https://github.com/user-attachments/assets/437db5e4-9102-4a19-b049-7a93e4e403b2"
/>

### Settings

**Before**
<img width="1153" height="388" alt="settings before"
src="https://github.com/user-attachments/assets/39a7e489-f0d3-4ac1-a2d7-98028aae65c0"
/>

**After**
<img width="1153" height="388" alt="settings_after"
src="https://github.com/user-attachments/assets/1c479618-ec8b-4dee-b704-3da07e6c279e"
/>



## Additional Context

* Pure markup + CSS, no JavaScript or behavioral changes.
* Improves HTML semantics (single `<h1>` per page, referring to the
app).
* No new CSS duplication introduced โ€” borrows existing styling from
HomePage.

---

### AI Usage

While CrossPoint doesn't have restrictions on AI tools in contributing,
please be transparent about their usage as it helps set the right
context for reviewers.

Did you use AI tools to help write this code? _**YES**_

Co-authored-by: Claude Sonnet 4.6 <noreply@anthropic.com>

authored by

Pietro Campagnano
Claude Sonnet 4.6
and committed by
GitHub
867fb7cb 5e26baef

+6 -5
+5 -4
src/network/html/FilesPage.html
··· 39 39 } 40 40 h1 { 41 41 color: var(--title-color); 42 - margin-bottom: 5px; 42 + border-bottom: 2px solid var(--accent-color); 43 + padding-bottom: 10px; 43 44 } 44 45 h2 { 45 46 color: var(--title-color); ··· 59 60 flex-wrap: wrap; 60 61 gap: 15px; 61 62 margin-bottom: 20px; 62 - padding-bottom: 15px; 63 - border-bottom: 2px solid var(--accent-color); 64 63 } 65 64 .page-header-left { 66 65 display: flex; ··· 1463 1462 </style> 1464 1463 </head> 1465 1464 <body> 1465 + <h1>๐Ÿ“š CrossPoint Reader</h1> 1466 + 1466 1467 <div class="nav-links"> 1467 1468 <a href="/">Home</a> 1468 1469 <a href="/files" class="active">File Manager</a> ··· 1471 1472 1472 1473 <div class="page-header"> 1473 1474 <div class="page-header-left"> 1474 - <h1>๐Ÿ“ File Manager</h1> 1475 + <h2>๐Ÿ“ File Manager</h2> 1475 1476 <div class="breadcrumb-inline" id="directory-breadcrumbs"></div> 1476 1477 </div> 1477 1478
+1 -1
src/network/html/SettingsPage.html
··· 237 237 </style> 238 238 </head> 239 239 <body> 240 - <h1>โš™๏ธ Settings</h1> 240 + <h1>๐Ÿ“š CrossPoint Reader</h1> 241 241 242 242 <div class="nav-links"> 243 243 <a href="/">Home</a>