Skip to content

Commit 9d03f2f

Browse files
committed
update contentSecurity for frontendsupport
1 parent 4cd84dc commit 9d03f2f

File tree

4 files changed

+18
-3
lines changed

4 files changed

+18
-3
lines changed

apps/frontendsupport/server.mts

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -82,10 +82,11 @@ export async function createServer(): Promise<{
8282
'https://plausible.io',
8383
'https://frontendrescue.scot',
8484
'https://res.cloudinary.com',
85+
'https://assets.calendly.com',
8586
],
8687
fontSrc: ["'self'", 'data:', 'https://fonts.gstatic.com', 'https://fonts.googleapis.com'],
8788
objectSrc: ["'self'", 'blob:'],
88-
frameSrc: ["'self'", 'https://www.formlets.com'],
89+
frameSrc: ["'self'", 'https://www.formlets.com', 'https://calendly.com'],
8990
manifestSrc: ['data:'],
9091
},
9192
}),

apps/frontendsupport/src/components/About/About.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,7 @@ export function About(): JSX.Element {
5656
, often about practical web performance.
5757
</Text>
5858
<Text component="p">
59-
I have 25+ years of experience shipping and improving frontends for organisations such as
59+
I have 25+ years of experience shipping and improving frontends for organisations such as:
6060
</Text>
6161
<List>
6262
<Text>

apps/frontendsupport/src/components/Contact/ContactButtons.tsx

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
import { Box } from '@cutting/component-library';
12
import { lazy, Suspense } from 'react';
23
import Skeleton from 'react-loading-skeleton';
34

@@ -24,7 +25,9 @@ export function ContactButtons({ justify: justify = 'flexStart' }: ContactButton
2425
</div>
2526
}
2627
>
27-
<ContactForm callType="chat" justify={justify} />
28+
<Box>
29+
<ContactForm callType="chat" justify={justify} />
30+
</Box>
2831
</Suspense>
2932
);
3033
}

apps/frontendsupport/src/pages/Home/Home.css.ts

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
import { responsiveStyle, vars } from '@cutting/component-library';
12
import { keyframes, style } from '@vanilla-extract/css';
23

34
const fadeIn = keyframes({
@@ -12,6 +13,16 @@ const fadeIn = keyframes({
1213
export const home = style({
1314
fontFamily: "'Helvetica Now Display', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif",
1415
animation: `${fadeIn} 0.5s ease-in`,
16+
...responsiveStyle({
17+
mobile: {
18+
marginLeft: vars.space.medium,
19+
marginRight: vars.space.medium,
20+
},
21+
desktop: {
22+
marginLeft: 0,
23+
marginRight: 0,
24+
},
25+
}),
1526
});
1627

1728
export const ctaButton = style({

0 commit comments

Comments
 (0)