{title || 'Homepage'}
-
- {/* */}
+
{/*
+
{/*
*/}
-
- {/* {getNumBloks(ankle) > 0 && (
-
- )} */}
);
-
diff --git a/components/Typography/typography.styles.ts b/components/Typography/typography.styles.ts
index c8d1c6ba..78831f32 100644
--- a/components/Typography/typography.styles.ts
+++ b/components/Typography/typography.styles.ts
@@ -33,6 +33,7 @@ export const fontSizes = {
f9: 'fluid-type-9',
// Curated font size for homepage hero slightly smaller than f9
splash: 'gc-splash',
+ hero: 'hero',
};
// Line heights
@@ -72,11 +73,15 @@ export const textVariants = {
subheading: 'subheading',
/**
* Campaign typography styles
- * (-gc ones are Deccanter styles with Campaign modifications)
+ * (-gc ones are Decanter styles with Campaign modifications)
*/
caption: 'gc-caption',
card: 'gc-card',
intro: 'gc-intro-text',
+ /**
+ * Campaign only styles
+ * No gc- prefix because no Decanter equivalent
+ */
overview: 'overview',
};
diff --git a/tailwind/plugins/components/gc-typography.js b/tailwind/plugins/components/gc-typography.js
index f98f9784..1c44381f 100644
--- a/tailwind/plugins/components/gc-typography.js
+++ b/tailwind/plugins/components/gc-typography.js
@@ -58,6 +58,9 @@ module.exports = function () {
'.gc-splash': {
fontSize: 'clamp(5.8rem, 8.95vw + 2.58rem, 16rem)',
},
+ '.hero': {
+ fontSize: 'clamp(5.5rem, 7.71vw - 0.42rem, 15rem)',
+ },
};
addComponents(components);