You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Commit c8141f2
Browse filesBrowse the repository at this point in the historyBrowse files
Copy file name to clipboardExpand all lines: specs/behaviors/app-shell.md
+15-5Lines changed: 15 additions & 5 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -33,10 +33,10 @@ Sticky at the top of the viewport. Background opaque, slight shadow on scroll.
33
33
- Logo (`/img/logo.png`) — 32px tall, links to `/`
34
34
- Site name "Code for Philly" — visible at ≥ md, hidden below to save space
35
35
36
-
### Center / right at ≥ md
36
+
### Center / right at ≥ lg
37
37
38
38
Two clusters. The **content cluster** sits next to the logo; the **utility
39
-
cluster** is pinned to the right edge and carries the outbound link, search,
39
+
cluster** is pinned to the right edge and carries the outbound links, search,
40
40
auth, and the call to action.
41
41
42
42
Content cluster, items in this order:
@@ -53,6 +53,7 @@ Utility cluster, items in this order (left to right):
53
53
54
54
| Item | Target | Style |
55
55
| ---- | ------ | ----- |
56
+
| Slack |`/chat`| icon-only link, accessible name "Join Code for Philly on Slack", opens in a new tab; a full-page navigation to the server redirect ([chat.md](../screens/chat.md#linking-to-it-from-the-app)) |
56
57
| GitHub |`https://github.com/CodeForPhilly`| icon-only external link, accessible name "Code for Philly on GitHub", opens in a new tab |
57
58
| Search 🔍 | inline expand | icon button |
58
59
| Sign in / account menu | see [Auth controls](#auth-controls)| button / avatar dropdown |
@@ -62,6 +63,15 @@ Utility cluster, items in this order (left to right):
62
63
control rather than among the content links so the call to action reads as the
63
64
header's terminal step, not as one more section.
64
65
66
+
**Slack is always one step from the header.** It is where the community
67
+
actually works, and a newcomer looking for it should not have to scroll to
68
+
the footer. The footer's Connect column keeps its Slack link too.
69
+
70
+
**The desktop header starts at lg (1024px).** Below that the content
71
+
cluster and the utility cluster do not fit on one line (the content links
72
+
wrap and Volunteer runs off the edge), so tablets in portrait get the
73
+
mobile header and its sheet.
74
+
65
75
### About dropdown
66
76
67
77
- Mission → `/pages/mission`
@@ -93,9 +103,9 @@ sheet.
93
103
-**Administrator:** Staff items plus "Admin" section:
Header collapses to: logo + hamburger menu + auth control. Hamburger opens a sheet (right-side overlay) with all nav items stacked vertically — the content-cluster links, the About items under an "About" label, the GitHub link, and Volunteer last, mirroring the desktop order. Search is inside the sheet, not inline. The auth control stays in the header bar, outside the sheet.
108
+
Header collapses to: logo + hamburger menu + auth control. Hamburger opens a sheet (right-side overlay) with all nav items stacked vertically — the content-cluster links, the About items under an "About" label, the Slack and GitHub links, and Volunteer last, mirroring the desktop order. Search is inside the sheet, not inline. The auth control stays in the header bar, outside the sheet.
99
109
100
110
Every item in the sheet closes the sheet when activated.
101
111
@@ -200,7 +210,7 @@ It does not block initial paint waiting on `me`. Auth controls render skeletons
200
210
- All dropdowns are keyboard-navigable
201
211
- The mobile sheet traps focus while open and returns it to the trigger on close
202
212
- The mobile sheet is a dialog with the accessible name "Menu"
203
-
- At ≥ md the header exposes two navigation landmarks: "Primary navigation" (the content cluster) and "Utility" (GitHub, search, auth, Volunteer)
213
+
- At ≥ lg the header exposes two navigation landmarks: "Primary navigation" (the content cluster) and "Utility" (Slack, GitHub, search, auth, Volunteer)
204
214
- Every icon-only control carries an accessible name; controls with visible text use that text as their accessible name rather than duplicating it in a label
0 commit comments