Add Statamic to the sponsor lists - #483
Merged
Merged
Conversation
Adds Statamic to the home page sponsor strip and the rotating sidebar sponsor used across docs, blog and article pages, with light/dark logos taken unmodified from statamic.com/branding. Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Adds Statamic as a sponsor across the site.
What changed
The codebase defines sponsors in two shared components, so two entries cover every page that renders a sponsor:
resources/views/components/home/sponsors.blade.php— the home page "Sponsored by" stripresources/views/components/sponsors/lists/docs/sponsors.blade.php— the rotating sidebar sponsor, which feeds the docs layout, blog index, blog sidebar and article pagesBoth entries use the existing
image/imageDarkshape and the same?utm_source=nativephp&utm_medium=logo&utm_campaign=nativephptracking params as the neighbouring sponsors.Logo assets
Taken unmodified from statamic.com/branding — their guidelines ask that the brand elements not be edited or recolored:
public/img/sponsors/statamic.svg— lime mark + black wordmark, for light backgroundspublic/img/sponsors/statamic-dark.svg— lime mark + white wordmark, for dark backgroundsThat pairing is what their guide prescribes for each background.
Tests
Two cases added to
tests/Feature/SponsorsAndPartnersPlacementTest.php, covering the home strip and the sidebar rotation (including that the rotation range widened to 4). All 6 tests in the file pass; Pint is clean.Note
resources/views/components/sponsors/vibes-partners.blade.phpwas deliberately left alone — that's The Vibes conference's own sponsor grid, and listing a general project sponsor there would imply an event sponsorship. Happy to add them there too if Statamic is sponsoring The Vibes.🤖 Generated with Claude Code