Skip to content

Redesign Story Share Portal to match visual specifications#904

Merged
maebeale merged 5 commits intostory-share-portalfrom
copilot/sub-pr-902
Feb 10, 2026
Merged

Redesign Story Share Portal to match visual specifications#904
maebeale merged 5 commits intostory-share-portalfrom
copilot/sub-pr-902

Conversation

Copy link
Contributor

Copilot AI commented Feb 10, 2026

What is the goal of this PR and why is this important?

Align the Story Share Portal with the provided design specifications to improve visual consistency, hierarchy, and user experience. The existing implementation lacked proper typography, color coding, and overlay styling seen in the reference designs.

How did you approach the change?

Navigation

  • Restructured header into three semantic rows (site nav, focus areas, participant filters) with progressive collapse on scroll
  • Applied color coding to focus area links: red (Domestic Violence), green (Social Justice), purple (Facilitator Spotlights)
  • Moved search to third row alongside participant filters

Typography

  • Applied Telefon Bold (existing in app/assets/fonts/) to all headings via .font-telefon class
  • Set Roboto as body font via Google Fonts

Sector Sections

  • Color-coded section headers matching navigation colors
  • Added gradient overlays (from-black/80 via-black/40) to story images with title/organization text
  • Separated each sector (DV, SJ, FS) into explicit sections to avoid Tailwind class interpolation issues

"What Others Are Reading"

  • Mapped story sectors to colored badges (blue/Self-Care, purple/Facilitator Spotlights, teal/Community, pink/DV, green/SJ)
  • Used actual story data instead of hardcoded categories

Performance

  • Replaced inline style manipulation with CSS class toggles for scroll behavior
  • Scroll handler adds/removes .scrolled class on header; CSS handles transitions

Anything else to add?

The scroll behavior uses a simple threshold (100px) to trigger nav collapse. Mobile navigation remains fully functional via hamburger menu. All Tailwind classes use explicit names to ensure proper compilation.


✨ Let Copilot coding agent set things up for you — coding agent works faster and does higher quality work when set up for your repo.

Copilot AI and others added 4 commits February 10, 2026 03:39
…and overlays

Co-authored-by: maebeale <7607813+maebeale@users.noreply.github.com>
Co-authored-by: maebeale <7607813+maebeale@users.noreply.github.com>
Co-authored-by: maebeale <7607813+maebeale@users.noreply.github.com>
Co-authored-by: maebeale <7607813+maebeale@users.noreply.github.com>
Copilot AI changed the title [WIP] Work in progress for story share portal Redesign Story Share Portal to match visual specifications Feb 10, 2026
Copilot AI requested a review from maebeale February 10, 2026 03:48
@maebeale maebeale marked this pull request as ready for review February 10, 2026 03:56
@maebeale maebeale merged commit 901acb6 into story-share-portal Feb 10, 2026
2 of 4 checks passed
@maebeale maebeale deleted the copilot/sub-pr-902 branch February 10, 2026 03:56
@maebeale
Copy link
Collaborator

@copilot make story_share look like the screenshot attached.

  1. apply telefon font to the nav items.
  2. center the various nav items so they match the picture
  3. add icons in the nav for lock, search, and exit, after the donate button
  4. add dropdowns with sample content to the top-level nav items
  5. 2nd and 3rd row nav items should go a lighter shade on hover
  6. add the sector as a blue box on top left over the hero image (see pic)
  7. add the black transparent overlay with title as a bar over the bottom of the hero image
  8. domestic violence, social justice, and facilitator spotlights sections should be in one row
  9. add 4 linked stories below each domestic violence, social justice, and facilitator spotlights sections.
  10. add "More Facilitator Spotlights Stories..." link to bottom of spotlight section
  11. change "what others are reading" sections so they're right next to each other with no horizontal padding. stretch them so they're taller. make the sector names square boxes (same style as the blue box over hero) with title below, both in the middle of each of these sections.
Screenshot 2026-02-09 at 11 05 24 PM

maebeale added a commit that referenced this pull request Feb 10, 2026
* Initial plan

* Add Telefon font, redesign navbar with 3 rows, update sector styling and overlays

Co-authored-by: maebeale <7607813+maebeale@users.noreply.github.com>

* Refine font declarations and remove unused CSS variables

Co-authored-by: maebeale <7607813+maebeale@users.noreply.github.com>

* Fix Tailwind class interpolation and improve scroll performance

Co-authored-by: maebeale <7607813+maebeale@users.noreply.github.com>

* Use actual story sectors for category badges in What Others Are Reading

Co-authored-by: maebeale <7607813+maebeale@users.noreply.github.com>

---------

Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com>
Co-authored-by: maebeale <7607813+maebeale@users.noreply.github.com>
maebeale added a commit that referenced this pull request Feb 11, 2026
* Initial plan

* Add Telefon font, redesign navbar with 3 rows, update sector styling and overlays

Co-authored-by: maebeale <7607813+maebeale@users.noreply.github.com>

* Refine font declarations and remove unused CSS variables

Co-authored-by: maebeale <7607813+maebeale@users.noreply.github.com>

* Fix Tailwind class interpolation and improve scroll performance

Co-authored-by: maebeale <7607813+maebeale@users.noreply.github.com>

* Use actual story sectors for category badges in What Others Are Reading

Co-authored-by: maebeale <7607813+maebeale@users.noreply.github.com>

---------

Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com>
Co-authored-by: maebeale <7607813+maebeale@users.noreply.github.com>
maebeale added a commit that referenced this pull request Feb 11, 2026
* Initial plan

* Add Telefon font, redesign navbar with 3 rows, update sector styling and overlays

Co-authored-by: maebeale <7607813+maebeale@users.noreply.github.com>

* Refine font declarations and remove unused CSS variables

Co-authored-by: maebeale <7607813+maebeale@users.noreply.github.com>

* Fix Tailwind class interpolation and improve scroll performance

Co-authored-by: maebeale <7607813+maebeale@users.noreply.github.com>

* Use actual story sectors for category badges in What Others Are Reading

Co-authored-by: maebeale <7607813+maebeale@users.noreply.github.com>

---------

Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com>
Co-authored-by: maebeale <7607813+maebeale@users.noreply.github.com>
maebeale added a commit that referenced this pull request Feb 12, 2026
* Initial plan

* Add Telefon font, redesign navbar with 3 rows, update sector styling and overlays

Co-authored-by: maebeale <7607813+maebeale@users.noreply.github.com>

* Refine font declarations and remove unused CSS variables

Co-authored-by: maebeale <7607813+maebeale@users.noreply.github.com>

* Fix Tailwind class interpolation and improve scroll performance

Co-authored-by: maebeale <7607813+maebeale@users.noreply.github.com>

* Use actual story sectors for category badges in What Others Are Reading

Co-authored-by: maebeale <7607813+maebeale@users.noreply.github.com>

---------

Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com>
Co-authored-by: maebeale <7607813+maebeale@users.noreply.github.com>
maebeale added a commit that referenced this pull request Feb 12, 2026
* WIP: story share portal

* WIP: show page for story

* Isolate Story Share Portal with dedicated purple-themed layout (#903)

* Initial plan

* Redesign share_portal page with Tailwind CSS to match design

Co-authored-by: maebeale <7607813+maebeale@users.noreply.github.com>

* Add full-width layout support for share_portal page

Co-authored-by: maebeale <7607813+maebeale@users.noreply.github.com>

* Address code review feedback: add accessibility labels and use dynamic story links

Co-authored-by: maebeale <7607813+maebeale@users.noreply.github.com>

* Create separate layout for story share portal with purple navigation

Co-authored-by: maebeale <7607813+maebeale@users.noreply.github.com>

* Address code review feedback: remove redundant nav wrapper and duplicate link

Co-authored-by: maebeale <7607813+maebeale@users.noreply.github.com>

---------

Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com>
Co-authored-by: maebeale <7607813+maebeale@users.noreply.github.com>

* Redesign Story Share Portal to match visual specifications (#904)

* Initial plan

* Add Telefon font, redesign navbar with 3 rows, update sector styling and overlays

Co-authored-by: maebeale <7607813+maebeale@users.noreply.github.com>

* Refine font declarations and remove unused CSS variables

Co-authored-by: maebeale <7607813+maebeale@users.noreply.github.com>

* Fix Tailwind class interpolation and improve scroll performance

Co-authored-by: maebeale <7607813+maebeale@users.noreply.github.com>

* Use actual story sectors for category badges in What Others Are Reading

Co-authored-by: maebeale <7607813+maebeale@users.noreply.github.com>

---------

Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com>
Co-authored-by: maebeale <7607813+maebeale@users.noreply.github.com>

* Add new logo image and merge conflict

* Redesign Story Share Portal to match visual specifications (#905)

* Initial plan

* Update story share portal navigation and layout to match design

Co-authored-by: maebeale <7607813+maebeale@users.noreply.github.com>

---------

Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com>
Co-authored-by: maebeale <7607813+maebeale@users.noreply.github.com>

* Force first 5 stories for stories_by_focus for now

* Refine Story Share Portal layout and visual hierarchy (#911)

* Initial plan

* Update Story Share Portal layout per feedback

Co-authored-by: maebeale <7607813+maebeale@users.noreply.github.com>

---------

Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com>
Co-authored-by: maebeale <7607813+maebeale@users.noreply.github.com>

* Visual tweaks

* WIP: messing w hero height

* Fixes

* Refine What Others Are Reading section colors and alignment (#912)

* Initial plan

* Update What Others Are Reading section colors and alignment

Co-authored-by: maebeale <7607813+maebeale@users.noreply.github.com>

---------

Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com>
Co-authored-by: maebeale <7607813+maebeale@users.noreply.github.com>

* Constrain hero carousel height and stretch to full width on story share portal (#913)

* Initial plan

* Limit hero image height to prevent vertical growth

Co-authored-by: maebeale <7607813+maebeale@users.noreply.github.com>

* Allow extra classes to be sent in

* Don't hard-code the size

* Stretch hero image to full width horizontally

Co-authored-by: maebeale <7607813+maebeale@users.noreply.github.com>

* Hard-code nav item colors

---------

Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com>
Co-authored-by: maebeale <7607813+maebeale@users.noreply.github.com>
Co-authored-by: maebeale <maebeale@users.noreply.github.com>

* Add individual story view with share portal layout and navigation (#915)

* Initial plan

* Add show_share_portal page with matching layout and navigation

Co-authored-by: maebeale <7607813+maebeale@users.noreply.github.com>

* Improve popular stories query and sector fallback

Co-authored-by: maebeale <7607813+maebeale@users.noreply.github.com>

---------

Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com>
Co-authored-by: maebeale <7607813+maebeale@users.noreply.github.com>

* Fix test

---------

Co-authored-by: Copilot <198982749+Copilot@users.noreply.github.com>
Co-authored-by: maebeale <7607813+maebeale@users.noreply.github.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants