foundry-component-library 0.2.17 → 0.2.19

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.
@@ -4,6 +4,7 @@ import Container from "../Container";
4
4
  import { NextImage } from "../../types";
5
5
  import WavyText from "../TextAnimations/WavyText";
6
6
  import { motion } from "framer-motion";
7
+ import FadeInText from "../TextAnimations/FadeInText";
7
8
 
8
9
  // Infinite marquee animation settings
9
10
  const marqueeVariants = {
@@ -22,10 +23,12 @@ const marqueeVariants = {
22
23
 
23
24
  const Awards = ({
24
25
  heading,
26
+ text,
25
27
  awards,
26
28
  Image,
27
29
  }: {
28
30
  heading?: string;
31
+ text?: string;
29
32
  awards?: {
30
33
  image?: {
31
34
  sourceUrl: string;
@@ -48,6 +51,7 @@ const Awards = ({
48
51
  transition={{ duration: 1 }}>
49
52
  <Container>
50
53
  {heading && <WavyText className={styles.heading} text={heading} />}
54
+ {text && <FadeInText className={styles.subheading} text={text} />}
51
55
  </Container>
52
56
  <Container noMobilePadding>
53
57
  <div className={styles.marqueeWrapper}>
@@ -11,12 +11,23 @@
11
11
  .heading {
12
12
  font-size: 42px;
13
13
  color: $color-brown;
14
- margin-bottom: 64px;
15
14
  line-height: 1.3;
16
15
  font-family: $font-secondary;
16
+ margin-bottom: 24px;
17
17
 
18
18
  @media #{$QUERY-sm} {
19
19
  font-size: 28px;
20
+ }
21
+ }
22
+
23
+ .subheading {
24
+ font-size: 18px;
25
+ color: $color-brown;
26
+ margin-bottom: 64px;
27
+ width: 800px;
28
+ max-width: 100%;
29
+
30
+ @media #{$QUERY-sm} {
20
31
  margin-bottom: 44px;
21
32
  }
22
33
  }
@@ -55,12 +55,12 @@ function Menu({
55
55
  </Link>
56
56
  </Container>
57
57
  </li> */}
58
- {/* <li className={styles.secondaryMenuItem}>
58
+ <li className={styles.secondaryMenuItem}>
59
59
  <Link href="/team">
60
60
  {translate("Team & Careers")}
61
61
  <Arrow />
62
62
  </Link>
63
- </li> */}
63
+ </li>
64
64
  <li className={styles.secondaryMenuItem}>
65
65
  <Link href="/news">
66
66
  {translate("News & Insights")}
@@ -9,7 +9,7 @@ const TileBalls = () => {
9
9
  shadows
10
10
  dpr={[1, 2]}
11
11
  gl={{ antialias: false }}
12
- camera={{ fov: 15, position: [0, 0, 20] }}>
12
+ camera={{ position: [0, 0, 20], fov: 15 }}>
13
13
  <color attach="background" args={["#380de8"]} />
14
14
  <fog attach="fog" args={["red", 20, -5]} />
15
15
  <ambientLight intensity={1.5} />
@@ -24,8 +24,8 @@ const TileBalls = () => {
24
24
  position={[0, 0, 0]}
25
25
  fontSize={0.4}
26
26
  textAlign="center"
27
- fontWeight={600}
28
- color="#fff">
27
+ color="#fff"
28
+ font="/Karelia-Medium.otf">
29
29
  Content and{"\n"}Campaigning
30
30
  </Text>
31
31
  </Canvas>
@@ -15,8 +15,8 @@ const TileFluid = () => {
15
15
  position={[0, 0, 0]}
16
16
  fontSize={0.4}
17
17
  textAlign="center"
18
- fontWeight={600}
19
- color="#380de8">
18
+ color="#380de8"
19
+ font="/Karelia-Medium.otf">
20
20
  Branding &{"\n"}Corporate ID
21
21
  </Text>
22
22
  <EffectComposer>
@@ -10,8 +10,8 @@ const TileGlass = () => {
10
10
  position={[0, 0, 0]}
11
11
  fontSize={0.4}
12
12
  textAlign="center"
13
- fontWeight={600}
14
- color="#491b11">
13
+ color="#491b11"
14
+ font="/Karelia-Medium.otf">
15
15
  Strategy &{"\n"}
16
16
  Positioning
17
17
  </Text>
@@ -56,13 +56,13 @@
56
56
 
57
57
  &:first-child {
58
58
  @media #{$QUERY-sm} {
59
- margin-left: 20px;
59
+ margin-left: 40px;
60
60
  }
61
61
  }
62
62
 
63
63
  &:last-child {
64
64
  @media #{$QUERY-sm} {
65
- margin-right: 20px;
65
+ margin-right: 40px;
66
66
  }
67
67
  }
68
68
  }
@@ -9,7 +9,7 @@
9
9
  @media #{$QUERY-sm} {
10
10
  font-size: 28px;
11
11
  margin-bottom: 24px;
12
- padding: 0 20px;
12
+ padding: 0 40px;
13
13
  }
14
14
  }
15
15
 
@@ -63,13 +63,13 @@
63
63
 
64
64
  &:first-child {
65
65
  @media #{$QUERY-sm} {
66
- margin-left: 20px;
66
+ margin-left: 40px;
67
67
  }
68
68
  }
69
69
 
70
70
  &:last-child {
71
71
  @media #{$QUERY-sm} {
72
- margin-right: 20px;
72
+ margin-right: 40px;
73
73
  }
74
74
  }
75
75
  }
@@ -48,6 +48,7 @@ function VideoTeaser({ url }: { url: string }) {
48
48
  width="100%"
49
49
  height="100%"
50
50
  muted={isMuted}
51
+ loop={true}
51
52
  config={{
52
53
  file: { attributes: { poster: "/video-poster.jpg" } },
53
54
  }}
@@ -15,6 +15,11 @@
15
15
  background-color: transparent;
16
16
  font-size: 16px;
17
17
  border: none;
18
+ color: $color-black;
19
+
20
+ &:visited {
21
+ color: $color-black;
22
+ }
18
23
 
19
24
  &:not(span):hover {
20
25
  background-color: $color-gray-light;
@@ -15,6 +15,7 @@ type HomePage = {
15
15
  hubsHeading?: string;
16
16
  hubsText?: string;
17
17
  awardsHeading?: string;
18
+ awardsText?: string;
18
19
  awards?: Array<{
19
20
  image: {
20
21
  sourceUrl: string;
@@ -145,6 +146,7 @@ export default async function getHomePage({
145
146
  hubsHeading
146
147
  hubsText
147
148
  awardsHeading
149
+ awardsText
148
150
  awards {
149
151
  image {
150
152
  sourceUrl
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "foundry-component-library",
3
- "version": "0.2.17",
3
+ "version": "0.2.19",
4
4
  "type": "module",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",