@conduction/docusaurus-preset 3.10.0 → 3.11.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@conduction/docusaurus-preset",
3
- "version": "3.10.0",
3
+ "version": "3.11.0",
4
4
  "scripts": {
5
5
  "prepack": "node scripts/prepack-bundle-css.js"
6
6
  },
@@ -73,6 +73,7 @@ export default function DetailHero({
73
73
  locales,
74
74
  title,
75
75
  tagline,
76
+ intro,
76
77
  primaryCta,
77
78
  secondaryCta,
78
79
  tertiaryCta,
@@ -262,6 +263,7 @@ export default function DetailHero({
262
263
  </h1>
263
264
  )}
264
265
  {tagline && <p className={styles.tagline}>{tagline}</p>}
266
+ {intro && <div className={styles.intro}>{intro}</div>}
265
267
 
266
268
  {(primaryCta || secondaryCta || tertiaryCta) && (
267
269
  <div className={styles.actions}>
@@ -42,6 +42,8 @@
42
42
  .bgCobalt .titleText { color: white; }
43
43
  .bgCobalt .tagline { color: var(--c-cobalt-100); }
44
44
  .bgCobalt .tagline :global(.next-blue) { color: var(--c-nextcloud-cyan); }
45
+ .bgCobalt .intro { color: var(--c-cobalt-100); }
46
+ .bgCobalt .intro :global(.next-blue) { color: var(--c-nextcloud-cyan); }
45
47
 
46
48
  .crumb {
47
49
  font-family: var(--conduction-typography-font-family-code);
@@ -165,6 +167,18 @@
165
167
  }
166
168
  .tagline :global(.next-blue) { color: var(--c-nextcloud-blue); }
167
169
 
170
+ /* Optional supporting paragraph below the tagline. Longer than the
171
+ tagline (SEO/intro lede). Wider read-measure (70ch) and a quieter
172
+ colour so the eye still lands on the title + tagline first. */
173
+ .intro {
174
+ font-size: 17px;
175
+ line-height: 1.6;
176
+ color: var(--c-cobalt-700);
177
+ max-width: 70ch;
178
+ margin: 0 0 32px;
179
+ }
180
+ .intro :global(.next-blue) { color: var(--c-nextcloud-blue); }
181
+
168
182
  .actions {
169
183
  display: flex;
170
184
  gap: 14px;