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.
- package/lib/components/Awards/index.tsx +4 -0
- package/lib/components/Awards/styles.module.scss +12 -1
- package/lib/components/Header/Menu.tsx +2 -2
- package/lib/components/ServiceHubsTeaserEffects/TileBalls.tsx +3 -3
- package/lib/components/ServiceHubsTeaserEffects/TileFluid.tsx +2 -2
- package/lib/components/ServiceHubsTeaserEffects/TileGlass.tsx +2 -2
- package/lib/components/TeamBenefits/styles.module.scss +2 -2
- package/lib/components/TeamPhotos/styles.module.scss +3 -3
- package/lib/components/VideoTeaser/index.tsx +1 -0
- package/lib/components/cases/Pagination/styles.module.scss +5 -0
- package/lib/queries/getHomePage.ts +2 -0
- package/package.json +1 -1
|
@@ -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
|
-
|
|
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={{
|
|
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
|
-
|
|
28
|
-
|
|
27
|
+
color="#fff"
|
|
28
|
+
font="/Karelia-Medium.otf">
|
|
29
29
|
Content and{"\n"}Campaigning
|
|
30
30
|
</Text>
|
|
31
31
|
</Canvas>
|
|
@@ -9,7 +9,7 @@
|
|
|
9
9
|
@media #{$QUERY-sm} {
|
|
10
10
|
font-size: 28px;
|
|
11
11
|
margin-bottom: 24px;
|
|
12
|
-
padding: 0
|
|
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:
|
|
66
|
+
margin-left: 40px;
|
|
67
67
|
}
|
|
68
68
|
}
|
|
69
69
|
|
|
70
70
|
&:last-child {
|
|
71
71
|
@media #{$QUERY-sm} {
|
|
72
|
-
margin-right:
|
|
72
|
+
margin-right: 40px;
|
|
73
73
|
}
|
|
74
74
|
}
|
|
75
75
|
}
|
|
@@ -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
|