Skip to content

Commit bdf9322

Browse files
Mazizovaclaude
andcommitted
Add a Brand Guidelines page under About
New /about/brand-guidelines/, per OurSQL-Brand-Guidelines.pdf — logo, color, and typography as they actually ship on the site, collected in one place for anyone writing a deck, flyer, or new page. Restyled with the site's own existing components (about-hero, about-block, resources-category-eyebrow, dark-card panels) rather than the mockup's own look, same correction already applied to the Press Releases pages. - layouts/about/brand-guidelines.html + content/about/brand-guidelines.md (layout override, no body content — the page is entirely template-driven from real site values). - Every value shown is read off the actual site rather than retyped from the PDF: colors from assets/scss/_variables.scss, the typography sample quotes the homepage's own hero copy verbatim, and the two logo cards render the real /oursql-foundation-logo-{dark,light}.{svg,png} files with working download links — the same four links that already lived in the footer, now also available here. One correction to the mockup's own numbers: it lists a single "muted text, both themes" value, but the site actually uses two different muted grays (#6B6B80 dark / #64748B light) — shown as both, since this page's whole point is to not drift from what's actually shipping. - New "Brand Guidelines" item in the About nav dropdown, after Contact Us. - Every existing "Brand Guidelines" mention now links here instead of showing "Coming soon": Mission & Vision's Dive Deeper card, and both the Press Releases hub's Media Kit box and the single-release page's footer button. Testing: hugo --minify — clean build, 202 pages, 0 errors. Verified the page in both themes and at mobile width (grids stack), the four logo download links, and all three updated "Brand Guidelines" mentions now point at /about/brand-guidelines/. Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
1 parent 51d132e commit bdf9322

8 files changed

Lines changed: 422 additions & 12 deletions

File tree

‎assets/scss/_about.scss‎

Lines changed: 227 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -652,3 +652,230 @@
652652
padding: 30px 1.25rem $section-pad;
653653
}
654654
}
655+
656+
// ── Brand Guidelines ──
657+
.brand-gradient-text {
658+
background: linear-gradient(135deg, $accent 0%, #60a5fa 50%, #a78bfa 100%);
659+
-webkit-background-clip: text;
660+
-webkit-text-fill-color: transparent;
661+
background-clip: text;
662+
}
663+
664+
// 01 — Logo
665+
.brand-logo-grid {
666+
display: grid;
667+
grid-template-columns: 1fr 1fr;
668+
gap: 1.5rem;
669+
margin-bottom: 2rem;
670+
}
671+
672+
.brand-logo-card {
673+
border-radius: 12px;
674+
border: 1px solid $dark-border;
675+
overflow: hidden;
676+
}
677+
678+
.brand-logo-preview {
679+
display: flex;
680+
align-items: center;
681+
justify-content: center;
682+
padding: 3rem 1.5rem;
683+
684+
img { height: 28px; width: auto; }
685+
}
686+
687+
.brand-logo-card--dark .brand-logo-preview { background: $dark-bg; }
688+
.brand-logo-card--light .brand-logo-preview { background: #f8f9fc; }
689+
690+
.brand-logo-card-footer {
691+
padding: 1rem 1.25rem;
692+
background: $dark-card;
693+
border-top: 1px solid $dark-border;
694+
}
695+
696+
.brand-logo-card-label {
697+
font-size: 0.875rem;
698+
font-weight: 600;
699+
color: $off-white;
700+
margin: 0 0 0.375rem;
701+
}
702+
703+
.brand-logo-card-links {
704+
display: flex;
705+
gap: 0.5rem;
706+
font-size: 0.8125rem;
707+
color: $muted;
708+
709+
a {
710+
color: $accent;
711+
text-decoration: none;
712+
713+
&:hover { text-decoration: underline; }
714+
}
715+
}
716+
717+
.brand-spec-row {
718+
display: grid;
719+
grid-template-columns: repeat(3, 1fr);
720+
gap: 1.5rem;
721+
}
722+
723+
.brand-spec-label {
724+
font-size: 0.8125rem;
725+
font-weight: 700;
726+
color: $off-white;
727+
margin: 0 0 0.25rem;
728+
}
729+
730+
.brand-spec-value {
731+
font-size: 0.875rem;
732+
color: $muted;
733+
margin: 0;
734+
}
735+
736+
// 02 — Color
737+
.brand-color-grid {
738+
display: grid;
739+
grid-template-columns: 1fr 1fr;
740+
gap: 1.5rem;
741+
margin-bottom: 1.5rem;
742+
}
743+
744+
.brand-swatch-fill {
745+
height: 72px;
746+
border-radius: 10px;
747+
margin-bottom: 0.75rem;
748+
border: 1px solid $dark-border;
749+
}
750+
751+
.brand-swatch-fill--gradient {
752+
background: linear-gradient(90deg, $accent 0%, #60a5fa 50%, #a78bfa 100%);
753+
}
754+
755+
.brand-swatch-fill--accent {
756+
background: $accent;
757+
}
758+
759+
.brand-swatch-label {
760+
font-size: 0.875rem;
761+
font-weight: 600;
762+
color: $off-white;
763+
margin: 0 0 0.25rem;
764+
}
765+
766+
.brand-swatch-value {
767+
font-size: 0.8125rem;
768+
color: $muted;
769+
margin: 0;
770+
font-family: $font-mono;
771+
}
772+
773+
.brand-theme-grid {
774+
display: grid;
775+
grid-template-columns: repeat(3, 1fr);
776+
gap: 1.5rem;
777+
}
778+
779+
.brand-theme-split {
780+
display: flex;
781+
height: 56px;
782+
border-radius: 10px;
783+
overflow: hidden;
784+
border: 1px solid $dark-border;
785+
margin-bottom: 0.75rem;
786+
787+
span {
788+
flex: 1;
789+
display: flex;
790+
align-items: center;
791+
justify-content: center;
792+
font-size: 0.6875rem;
793+
font-weight: 700;
794+
letter-spacing: 0.06em;
795+
}
796+
}
797+
798+
.brand-theme-bg--dark { background: $dark-bg; color: $off-white; }
799+
.brand-theme-text--dark { background: $dark-card; color: $off-white; }
800+
.brand-theme-bg--light { background: #f8f9fc; color: #0f172a; }
801+
.brand-theme-text--light { background: #ffffff; color: #0f172a; border-left: 1px solid $dark-border; }
802+
803+
.brand-theme-split--muted {
804+
background: #64748b;
805+
}
806+
807+
// 03 — Typography
808+
.brand-type-card {
809+
padding: 1.75rem;
810+
background: $dark-card;
811+
border: 1px solid $dark-border;
812+
border-radius: 12px;
813+
margin-bottom: 1.25rem;
814+
815+
&:last-child { margin-bottom: 0; }
816+
}
817+
818+
.brand-type-eyebrow {
819+
display: block;
820+
font-size: 0.75rem;
821+
font-weight: 700;
822+
letter-spacing: 0.08em;
823+
text-transform: uppercase;
824+
color: $accent;
825+
margin-bottom: 1rem;
826+
}
827+
828+
.brand-type-headline {
829+
font-size: clamp(1.5rem, 3.5vw, 2.25rem);
830+
font-weight: 900;
831+
letter-spacing: -0.02em;
832+
line-height: 1.15;
833+
color: $white;
834+
margin: 0 0 0.75rem;
835+
}
836+
837+
.brand-type-caption {
838+
font-size: 0.875rem;
839+
color: $muted;
840+
margin: 0;
841+
}
842+
843+
.brand-type-body {
844+
font-size: 1.0625rem;
845+
font-weight: 400;
846+
color: $off-white;
847+
line-height: 1.7;
848+
margin: 0 0 1rem;
849+
}
850+
851+
.brand-type-weights {
852+
font-size: 0.8125rem;
853+
color: $muted;
854+
margin: 0;
855+
856+
strong { color: $off-white; }
857+
}
858+
859+
.brand-footnote {
860+
font-size: 0.875rem;
861+
color: $muted;
862+
line-height: 1.6;
863+
padding-top: 1.5rem;
864+
border-top: 1px solid $dark-border;
865+
margin: 0;
866+
867+
strong { color: $off-white; }
868+
}
869+
870+
@media (max-width: $break-sm) {
871+
.brand-logo-grid,
872+
.brand-color-grid {
873+
grid-template-columns: 1fr;
874+
}
875+
876+
.brand-spec-row,
877+
.brand-theme-grid {
878+
grid-template-columns: 1fr;
879+
gap: 1.25rem;
880+
}
881+
}

‎assets/scss/_light-theme.scss‎

Lines changed: 35 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -431,6 +431,41 @@
431431
}
432432
}
433433

434+
// Brand Guidelines
435+
.brand-logo-card { border-color: #dde3ed; }
436+
.brand-logo-card-footer {
437+
background: #ffffff;
438+
border-top-color: #dde3ed;
439+
}
440+
.brand-logo-card-label { color: #0f172a; }
441+
.brand-logo-card-links { color: #94a3b8; }
442+
443+
.brand-spec-label { color: #0f172a; }
444+
.brand-spec-value { color: #64748b; }
445+
446+
.brand-swatch-fill,
447+
.brand-theme-split { border-color: #dde3ed; }
448+
.brand-swatch-label { color: #0f172a; }
449+
.brand-swatch-value { color: #64748b; }
450+
451+
.brand-type-card {
452+
background: #ffffff;
453+
border-color: #dde3ed;
454+
}
455+
.brand-type-headline { color: #0f172a; }
456+
.brand-type-caption { color: #64748b; }
457+
.brand-type-body { color: #0f172a; }
458+
.brand-type-weights {
459+
color: #64748b;
460+
strong { color: #0f172a; }
461+
}
462+
463+
.brand-footnote {
464+
color: #64748b;
465+
border-top-color: #dde3ed;
466+
strong { color: #0f172a; }
467+
}
468+
434469
// Contribute page
435470
.contribute-method {
436471
background: #ffffff;

‎content/about/brand-guidelines.md‎

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
---
2+
title: "Brand Guidelines"
3+
description: "The logo, color, and type as they actually ship on oursqlfoundation.org — for anyone writing a deck, a flyer, or a new page."
4+
layout: "brand-guidelines"
5+
---

0 commit comments

Comments
 (0)