Skip to content

Commit 95e423a

Browse files
moredipclaude
andcommitted
fix: replace require() import with ES6 import to fix linting error
🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude <[email protected]> Signed-off-by: Pete Hodgson <[email protected]>
1 parent d971c48 commit 95e423a

File tree

1 file changed

+6
-7
lines changed

1 file changed

+6
-7
lines changed

src/pages/support-training.tsx

Lines changed: 6 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@ import { CourseCard } from '../components/custom/CourseCard';
33
import Layout from '@theme/Layout';
44
import { CommercialSupportList } from '../datasets/support/commercial-support';
55
import Link from '@docusaurus/Link';
6+
import lfs140Image from '@site/static/img/blog/2025-11-18-kubecon-na-recap-and-new-cncf-training/lfs140.png';
67

78
export default function Support(): JSX.Element {
89
return (
@@ -16,15 +17,13 @@ export default function Support(): JSX.Element {
1617
<div className="flex flex-col gap-8">
1718
<CourseCard
1819
href="https://training.linuxfoundation.org/training/feature-flagging-with-openfeature-lfs140/"
19-
imageUrl={
20-
require('@site/static/img/blog/2025-11-18-kubecon-na-recap-and-new-cncf-training/lfs140.png').default
21-
}
20+
imageUrl={lfs140Image}
2221
imageAlt="LFS140 Course"
2322
title="Feature Flagging with OpenFeature (LFS140)"
2423
subtitle="Linux Foundation Training Course"
2524
description={[
26-
"10 hours of self-paced content, including hands-on labs.",
27-
"Learn how to apply feature flagging in real-world projects using OpenFeature. Integrate with any flag management system, support canary and dark launches, run experiments, instrument flags with observability, and maintain clean, testable code."
25+
'10 hours of self-paced content, including hands-on labs.',
26+
'Learn how to apply feature flagging in real-world projects using OpenFeature. Integrate with any flag management system, support canary and dark launches, run experiments, instrument flags with observability, and maintain clean, testable code.'
2827
]}
2928
/>
3029
<CourseCard
@@ -34,8 +33,8 @@ export default function Support(): JSX.Element {
3433
title="OpenFeature Fundamentals"
3534
subtitle="YouTube Video Series"
3635
description={[
37-
"A series of short videos introducing the core concepts of OpenFeature.",
38-
"Learn about the evaluation API, providers, context, hooks, and how to integrate OpenFeature into your code."
36+
'A series of short videos introducing the core concepts of OpenFeature.',
37+
'Learn about the evaluation API, providers, context, hooks, and how to integrate OpenFeature into your code.'
3938
]}
4039
/>
4140
</div>

0 commit comments

Comments
 (0)