Skip to content

Commit aac6376

Browse files
committed
fix copy on Home and About
1 parent d356e0d commit aac6376

File tree

20 files changed

+38
-393
lines changed

20 files changed

+38
-393
lines changed

apps/frontendsupport/bin/deploy.sh

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,4 @@ docker tag frontendsupport:latest 313095418189.dkr.ecr.us-east-1.amazonaws.com/f
1010

1111
docker push 313095418189.dkr.ecr.us-east-1.amazonaws.com/frontendsupport:latest
1212

13-
SERVICE_ARN=$(aws apprunner list-services --query "ServiceSummaryList[?ServiceName=='frontendsupport'].ServiceArn | [0]" --output text)
14-
aws apprunner start-deployment --service-arn $SERVICE_ARN
15-
1613
rm -rf ./pruned

apps/frontendsupport/package.json

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -32,6 +32,7 @@
3232
"cloudinary-build-url": "^0.2.4",
3333
"compression": "1.8.1",
3434
"cross-env": "^10.1.0",
35+
"dedent": "1.7.1",
3536
"express": "5.2.1",
3637
"format": "^0.2.2",
3738
"front-matter": "^4.0.2",
@@ -71,7 +72,6 @@
7172
"@vanilla-extract/sprinkles": "1.6.5",
7273
"@vanilla-extract/vite-plugin": "5.1.4",
7374
"browserslist": "^4.28.1",
74-
"dedent": "1.7.1",
7575
"eslint-config-prettier": "10.1.8",
7676
"eslint-plugin-prettier": "^5.5.4",
7777
"gray-matter": "^4.0.3",
@@ -107,7 +107,6 @@
107107
"@vanilla-extract/css": "1.18.0",
108108
"@vanilla-extract/dynamic": "2.1.5",
109109
"@vanilla-extract/sprinkles": "1.6.5",
110-
"dedent": "1.7.1",
111110
"react": "19.2.3",
112111
"react-calendly": "4.4.0",
113112
"react-device-detect": "2.2.3",

apps/frontendsupport/server.mts

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -46,17 +46,13 @@ export async function createServer(): Promise<{
4646
server: {
4747
middlewareMode: true,
4848
watch: {
49-
// During tests we edit the files too fast and sometimes chokidar
50-
// misses change events, so enforce polling for consistency
5149
usePolling: true,
5250
interval: 10,
5351
},
5452
},
5553
appType: 'custom',
5654
});
5755

58-
console.log({ root });
59-
// use vite's connect instance as middleware
6056
app.use(vite.middlewares);
6157
} else {
6258
app.use((await import('compression')).default({ level: 1 }));

apps/frontendsupport/src/App.tsx

Lines changed: 1 addition & 56 deletions
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,6 @@ import { AboutSkeleton } from './components/Fallback/AboutSkeleton';
1010
import { ContactSkeleton } from './components/Fallback/ContactSkeleton';
1111
import { EmailConfirmationSkeleton } from './components/Fallback/EmailConfirmationSkeleton';
1212
import { PostsSkeleton } from './components/Fallback/PostsSkeleton';
13-
import { ServicesSkeleton } from './components/Fallback/ServicesSkeleton';
1413
import { TestimonialsSkeleton } from './components/Fallback/TestimonialsSkeleton';
1514
import { Header } from './components/Header/Header';
1615
import { contactFormProps } from './constants';
@@ -22,12 +21,6 @@ const EmailConfirmation = lazy(() => import('./routes/email.confirmation'));
2221
const Posts = lazy(() => import('./routes/posts'));
2322
const PostsIndex = lazy(() => import('./routes/posts._index'));
2423
const PostSlug = lazy(() => import('./routes/posts.$slug'));
25-
const Services = lazy(() => import('./routes/services'));
26-
const ServicesConsultancy = lazy(() => import('./routes/services.consultancy'));
27-
const ServicesCritical = lazy(() => import('./routes/services.critical'));
28-
const ServicesHome = lazy(() => import('./routes/services.home'));
29-
const ServicesMentoring = lazy(() => import('./routes/services.mentoring'));
30-
const ServicesRescue = lazy(() => import('./routes/services.rescue'));
3124
const Testimonials = lazy(() => import('./routes/testimonials'));
3225

3326
export function MainRoutes(): React.JSX.Element {
@@ -85,55 +78,7 @@ export function MainRoutes(): React.JSX.Element {
8578
}
8679
/>
8780
</Route>
88-
<Route
89-
path="/services"
90-
element={
91-
<Suspense fallback={<ServicesSkeleton />}>
92-
<Services />
93-
</Suspense>
94-
}
95-
>
96-
<Route
97-
index
98-
element={
99-
<Suspense fallback={<ServicesSkeleton />}>
100-
<ServicesHome />
101-
</Suspense>
102-
}
103-
/>
104-
<Route
105-
path="consultancy"
106-
element={
107-
<Suspense fallback={<ServicesSkeleton />}>
108-
<ServicesConsultancy />
109-
</Suspense>
110-
}
111-
/>
112-
<Route
113-
path="critical"
114-
element={
115-
<Suspense fallback={<ServicesSkeleton />}>
116-
<ServicesCritical />
117-
</Suspense>
118-
}
119-
/>
120-
<Route
121-
path="mentoring"
122-
element={
123-
<Suspense fallback={<ServicesSkeleton />}>
124-
<ServicesMentoring />
125-
</Suspense>
126-
}
127-
/>
128-
<Route
129-
path="rescue"
130-
element={
131-
<Suspense fallback={<ServicesSkeleton />}>
132-
<ServicesRescue />
133-
</Suspense>
134-
}
135-
/>
136-
</Route>
81+
13782
<Route
13883
path="/testimonials"
13984
element={

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

Lines changed: 20 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ export function About(): JSX.Element {
88
<PageBlock>
99
<Box component="section">
1010
<Stack space="large">
11-
<Heading level="1">My story</Heading>
11+
<Heading level="1">Performance-first frontend</Heading>
1212
<Box>
1313
<LazyLoadedImage
1414
src="https://res.cloudinary.com/ddospxsc8/image/upload/v1690230987/me_voddxj.png"
@@ -23,34 +23,39 @@ export function About(): JSX.Element {
2323
</TextLink>
2424
</Heading>
2525
<Text>
26-
My passion is and always has been frontend development. I love the instant visual feedback that is unique
27-
to frontend development.
26+
I help teams make modern websites and web apps noticeably faster so key pages load quickly, feel
27+
responsive, and stay visually stable.
2828
</Text>
2929
<Text component="p">
30-
I’m an open-source fanatic with countless &nbsp;
30+
Most of my work is performance-focused: reducing JavaScript bloat, improving rendering (SSR/CSR), caching,
31+
taming third-party scripts, and turning slow pages into measurable wins.
32+
</Text>
33+
<Text component="p">
34+
I’m an open-source fanatic with countless&nbsp;
3135
<TextLink
3236
external
3337
href="https://cutting.scot/oss"
3438
data-testid="external-link"
3539
rel="noopener noreferrer"
3640
target="_blank"
3741
>
38-
merged pull requests&nbsp;
42+
merged pull requests
3943
</TextLink>
40-
across numerous major repositories.
44+
&nbsp;across numerous major repositories.
4145
</Text>
4246
<Text component="p">
4347
I write professionally for&nbsp;
4448
<TextLink external href="https://blog.logrocket.com/author/paulcowan/">
45-
logrocket
49+
LogRocket
4650
</TextLink>
47-
&nbsp;and my own&nbsp;
51+
&nbsp;and on my own&nbsp;
4852
<TextLink external href="https://thesoftwaresimpleton.com">
49-
personal blog.
53+
personal blog
5054
</TextLink>
55+
, often about practical web performance.
5156
</Text>
5257
<Text component="p">
53-
I have over 25+ years of experience working on some exceptional frontend pieces of work for such as&nbsp;
58+
I have 25+ years of experience shipping and improving frontends for organisations such as
5459
</Text>
5560
<List>
5661
<Text>
@@ -75,9 +80,12 @@ export function About(): JSX.Element {
7580
</TextLink>
7681
</Text>
7782
</List>
78-
<Text>I build and repair complex React frontends so products can launch on time.</Text>
7983
<Text>
80-
At 55 years of age, I have more experience than most and I get results in a fraction of the time.
84+
I run short performance sprints that audit, fix, and prove improvements with clear before/after results.
85+
</Text>
86+
<Text>
87+
I’m pragmatic, fast-moving, and focused on impact: fewer bytes shipped, faster interactions, and smoother
88+
page experiences.
8189
</Text>
8290
</Stack>
8391
</Box>

apps/frontendsupport/src/components/Fallback/ServicesSkeleton.tsx

Lines changed: 0 additions & 32 deletions
This file was deleted.

apps/frontendsupport/src/pages/Home/Home.tsx

Lines changed: 7 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
import { Box, Heading, Text } from '@cutting/component-library';
22

3+
import { About } from '~/components/About/About';
34
import { ContactButtons } from '~/components/Contact/ContactButtons';
45
import Testimonials from '~/routes/testimonials';
56

@@ -24,8 +25,8 @@ export function Home(): JSX.Element {
2425
</Heading>
2526
<Box marginY="xxxlarge">
2627
<Text component="p" size="large">
27-
I run a 7-day performance sprint for React/Next/SPAs where I audit your key pages, implement the
28-
highest-impact fixes, and send a clear before/after report.
28+
I run a 7-day performance sprint for modern websites and web apps, especially JavaScript-heavy ones, where
29+
I audit your key pages, implement the highest-impact fixes, and send a clear before/after report.
2930
</Text>
3031
</Box>
3132
<ContactButtons justify="center" />
@@ -46,7 +47,8 @@ export function Home(): JSX.Element {
4647
<div className={styles.serviceCard}>
4748
<h3 className={styles.serviceCardTitle}>Implementation</h3>
4849
<p className={styles.serviceCardText}>
49-
Ship the highest-impact optimizations: code splitting, lazy loading, image optimization
50+
Ship the highest-impact optimizations: code splitting, lazy loading, image optimization, shrink bundle
51+
sizes, dead code elimination, and more.
5052
</p>
5153
</div>
5254
<div className={styles.serviceCard}>
@@ -68,6 +70,8 @@ export function Home(): JSX.Element {
6870
</div>
6971
</section>
7072
<Testimonials />
73+
<Scroller />
74+
<About />
7175
</Box>
7276
);
7377
}

apps/frontendsupport/src/pages/Panels/BreakGlass/BreakGlass.tsx

Lines changed: 0 additions & 47 deletions
This file was deleted.

apps/frontendsupport/src/pages/Panels/BreakGlass/BreakingGlass.css.ts

Lines changed: 0 additions & 13 deletions
This file was deleted.

apps/frontendsupport/src/pages/Panels/Services/Service.tsx

Lines changed: 0 additions & 46 deletions
This file was deleted.

0 commit comments

Comments
 (0)