Skip to content

Commit 51d132e

Browse files
authored
Merge pull request #39 from Mazizova/news-section
Add a News section: Blog + Press Releases in the main nav
2 parents c242f9a + 443ccd1 commit 51d132e

19 files changed

Lines changed: 681 additions & 21 deletions

‎RESOURCES.md‎

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,6 @@ content/resources/training/ — courses, tutorials, certifications
2020
content/resources/books/ — MySQL books and reference material
2121
content/resources/events/ — conferences, meetups, community events
2222
content/resources/community/ — blogs, forums, aggregators, chat
23-
content/resources/press/ — articles, press releases, coverage
2423
```
2524

2625
### Two formats: single file vs folder (leaf bundle)
@@ -170,12 +169,6 @@ access: ["Open"] # Open, Registration Required
170169
listing-status: ["Active"] # Active, Archived
171170
```
172171
173-
**`content/resources/press/`** — additional fields:
174-
```yaml
175-
date: 2026-05-27
176-
source: "Publication Name"
177-
```
178-
179172
**`content/resources/member-directory/`** (leaf bundle with photo) — subcategories: Members · Sponsors · Partners · Adopters · People · Awards. Every entry needs a `url` override so its address stays under `/resources/member-directory/<subcategory-slug>/`, not the flat content path:
180173
```yaml
181174
---
@@ -206,7 +199,6 @@ Not comfortable with Git? Open an issue and describe the resource — someone fr
206199
| Books | [Add Book](https://github.com/OurSQLFoundation/OurSQLFoundation.github.io/issues/new?template=resource-books.yml) |
207200
| Events | [Add Event](https://github.com/OurSQLFoundation/OurSQLFoundation.github.io/issues/new?template=resource-events.yml) |
208201
| Community | [Add Community resource](https://github.com/OurSQLFoundation/OurSQLFoundation.github.io/issues/new?template=resource-community.yml) |
209-
| Press & News | [Add Press item](https://github.com/OurSQLFoundation/OurSQLFoundation.github.io/issues/new?template=resource-press.yml) |
210202

211203
Not sure which type fits? [Open a general issue](https://github.com/OurSQLFoundation/OurSQLFoundation.github.io/issues/new) and describe it in your own words.
212204

‎assets/scss/_light-theme.scss‎

Lines changed: 64 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -85,6 +85,11 @@
8585
.hero-title { color: #0f172a; }
8686
.hero-description { color: #64748b; }
8787

88+
.page-layout {
89+
.page-intro { color: #64748b; border-bottom-color: #dde3ed; }
90+
ul { color: #334155; }
91+
}
92+
8893
.btn-outline {
8994
border-color: #cbd5e1;
9095
color: #334155;
@@ -901,4 +906,63 @@
901906
.author-card-role,
902907
.author-card-desc { color: #64748b; }
903908
.author-card-link { color: #0272a5; }
909+
910+
// News (Press Releases list)
911+
.news-item { border-bottom-color: #dde3ed; }
912+
.news-item-date { color: #94a3b8; }
913+
.news-item-title a {
914+
color: #0f172a;
915+
&:hover { color: #0272a5; }
916+
}
917+
.news-item-desc { color: #64748b; }
918+
.news-item-source { color: #94a3b8; }
919+
.news-item-link { color: #0272a5; }
920+
921+
// Press Releases hub + detail page (press_releases_mockup.pdf)
922+
.newsroom-eyebrow { color: #0272a5; }
923+
924+
.press-back-link {
925+
color: #64748b;
926+
&:hover { color: #0272a5; }
927+
}
928+
929+
.press-card {
930+
border-color: #dde3ed;
931+
&:hover { border-color: rgba(0, 200, 255, 0.4); }
932+
}
933+
.press-card-meta { color: #94a3b8; }
934+
.press-card-title { color: #0f172a; }
935+
.press-card-desc { color: #64748b; }
936+
.press-card-link { color: #0272a5; }
937+
.press-more-note { color: #94a3b8; }
938+
939+
.press-media-kit {
940+
background: #ffffff;
941+
border-color: #dde3ed;
942+
}
943+
.press-media-kit-title { color: #0f172a; }
944+
.press-media-kit-desc { color: #64748b; }
945+
946+
.press-coverage { border-top-color: #dde3ed; }
947+
.press-coverage-sub { color: #64748b; }
948+
949+
.press-release--detail {
950+
.press-badge {
951+
color: #0272a5;
952+
background: rgba(0, 200, 255, 0.08);
953+
border-color: rgba(0, 200, 255, 0.3);
954+
}
955+
956+
.press-board-row { border-bottom-color: #dde3ed; }
957+
.press-board-name { color: #0f172a; }
958+
.press-board-role { color: #64748b; }
959+
960+
.press-contact-box {
961+
background: #ffffff;
962+
border-color: #dde3ed;
963+
}
964+
.press-contact-label { color: #0f172a; }
965+
.press-contact-email { color: #0272a5; }
966+
.press-contact-desc { color: #64748b; }
967+
}
904968
}

0 commit comments

Comments
 (0)