Skip to content

Add Posit.co links and alert banner#349

Open
gregswinehart wants to merge 5 commits into
mainfrom
gs/posit-co-links
Open

Add Posit.co links and alert banner#349
gregswinehart wants to merge 5 commits into
mainfrom
gs/posit-co-links

Conversation

@gregswinehart

@gregswinehart gregswinehart commented Jul 16, 2026

Copy link
Copy Markdown
Collaborator

Summary

This PR is trying to strengthen the association between Posit's open source tools and our professional products in a way that makes sense for open source users and is not gross.

A few small additions:

  • Add Posit.co text and link to footer
Screenshot 2026-07-16 at 2 39 57 PM - Add a callout when one of our professional products might help an open source user Screenshot 2026-07-16 at 4 05 43 PM

Also, it includes an alert for times that we'd want to let open source users know that something awesome is happening, like our conference.

  • Add dismissable site-wide alert banner component with localStorage persistence
Screenshot 2026-07-16 at 2 39 36 PM

Test plan

  • Alert banner appears on first visit and can be dismissed
  • Alert banner stays dismissed after page reload (localStorage)
  • Footer layout is responsive and includes Posit.co link
  • Shiny page callout displays with proper link styling
  • Callout links match surrounding text color

🤖 Generated with Claude Code

gregswinehart and others added 5 commits July 15, 2026 16:40
- Create alert-banner.html partial with localStorage-based dismissal
- Integrate banner above navbar in baseof.html
- Add alert configuration to hugo.toml with example message
- Banner supports markdown, HTML with Tailwind classes, and optional icons
- Mobile-responsive with proper spacing and centered text
- Includes error handling for disabled localStorage

Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>
Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>
Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>
Added a callout to the Shiny page promoting Posit Connect. Updated CSS
so links within callouts inherit the text color instead of using the
default blue link color, making them more visually integrated.

Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>
@netlify

netlify Bot commented Jul 16, 2026

Copy link
Copy Markdown

Deploy Preview for posit-open-source canceled.

Name Link
🔨 Latest commit 8e822d6
🔍 Latest deploy log https://app.netlify.com/projects/posit-open-source/deploys/6a595128dae1150008bb047f

@github-actions

Copy link
Copy Markdown
Contributor

@github-actions

Copy link
Copy Markdown
Contributor

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.

1 participant