Skip to content

Multiple banners - #24

Merged
vitabaks merged 6 commits into
mainfrom
multiple-banners
Jul 31, 2026
Merged

Multiple banners#24
vitabaks merged 6 commits into
mainfrom
multiple-banners

Conversation

@vitabaks

@vitabaks vitabaks commented Jul 31, 2026

Copy link
Copy Markdown
Member

Convert SocialProofSection into an accessible rotating banner carousel. Adds randomized banner order, timed rotation, pause-on-hover/focus, and reduced-motion support.

vitabaks added 2 commits July 31, 2026 20:16
Convert SocialProofSection into an accessible rotating banner carousel. Adds randomized banner order, timed rotation, pause-on-hover/focus, and reduced-motion support. Implements enter/exit animations, pixel dissolve effect, banner visuals (time block and production timeline), and indicator controls with ARIA attributes. Extracts timing constants and updates styles for responsive layout and animation keyframes.
Adds a new 'open-source' banner to the social proof carousel that displays the live GitHub star count for the Autobase repository. The component fetches the count from the GitHub API and caches it in sessionStorage for 15 minutes to minimize API calls. Includes a fallback count (4300) for when the API is unavailable. Also adds subtitle support to banners with accent styling.
@vitabaks vitabaks self-assigned this Jul 31, 2026
vitabaks added 4 commits July 31, 2026 20:58
Introduce an 'Extensions' banner to the SocialProofSection to showcase PostgreSQL extensions. Adds EXTENSION_NAMES constant, new banner entry, and BannerVisual rendering that links to /docs/extensions/list (with aria-label and focus-visible support). Styles updated (styles.module.css): layout/height adjustments for banners/slides, extensionCatalog styles (grid, featured item, CTA), and responsive tweaks for smaller viewports. Files changed: src/components/SocialProofSection/index.js and styles.module.css.
Compute and display how long Autobase has been in production. Adds AUTOBASE_INITIAL_RELEASE_DATE and a hourly refresh constant, plus getProductionHistory, formatProductionAge, and useProductionHistory hook. Uses the dynamic age as the banner accent for the production-history banner, updates BannerVisual to render the current year range, and adjusts rendering to apply a new .afterText style for the banner's trailing text. Includes interval cleanup and minor banner data updates.
Remove the "VIEW ALL EXTENSIONS" CTA from the SocialProofSection BannerVisual and clean up unused .catalogCta CSS rules. Updated selectors to only target .catalogHeader and its <b> child.
Reduce banner height, padding, and gap spacing on mobile devices (max-width: 600px) for a more compact and optimized layout on smaller screens.
@vitabaks
vitabaks merged commit 93badde into main Jul 31, 2026
1 check passed
@vitabaks
vitabaks deleted the multiple-banners branch July 31, 2026 19:20
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