Skip to content

Commit 62acbb4

Browse files
add cncf project section to landing page
Signed-off-by: Michael Valdron <[email protected]>
1 parent 78eb209 commit 62acbb4

File tree

5 files changed

+387
-1
lines changed

5 files changed

+387
-1
lines changed

apps/landing-page/pages/index.tsx

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,14 +14,20 @@
1414
* limitations under the License.
1515
*/
1616

17-
import { Hero, KeyFeaturesSection, ValuePropositionSection } from '@devfile-web/core';
17+
import {
18+
CncfProjectSection,
19+
Hero,
20+
KeyFeaturesSection,
21+
ValuePropositionSection,
22+
} from '@devfile-web/core';
1823

1924
export function Index(): JSX.Element {
2025
return (
2126
<>
2227
<Hero />
2328
<ValuePropositionSection />
2429
<KeyFeaturesSection />
30+
<CncfProjectSection />
2531
</>
2632
);
2733
}
Lines changed: 32 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,32 @@
1+
/**
2+
* Copyright Red Hat
3+
*
4+
* Licensed under the Apache License, Version 2.0 (the "License");
5+
* you may not use this file except in compliance with the License.
6+
* You may obtain a copy of the License at
7+
*
8+
* http://www.apache.org/licenses/LICENSE-2.0
9+
*
10+
* Unless required by applicable law or agreed to in writing, software
11+
* distributed under the License is distributed on an "AS IS" BASIS,
12+
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13+
* See the License for the specific language governing permissions and
14+
* limitations under the License.
15+
*/
16+
17+
import { CncfIcon } from '../../icons';
18+
19+
export function CncfProjectSection(): JSX.Element {
20+
return (
21+
<div className="relative -z-10 bg-slate-50 py-16 dark:bg-slate-900 sm:py-24 lg:py-32">
22+
<div className="mx-auto max-w-md px-4 text-center sm:max-w-3xl sm:px-6 lg:max-w-7xl lg:px-8">
23+
<CncfIcon id="cncf-logo" className="mx-auto max-w-prose text-slate-500" />
24+
<p className="mx-auto mt-5 max-w-prose text-xl text-slate-500 dark:text-slate-400">
25+
We are a Cloud Native Computing Foundation sandbox project.
26+
</p>
27+
</div>
28+
</div>
29+
);
30+
}
31+
32+
export default CncfProjectSection;

libs/core/src/components/index.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -47,3 +47,4 @@ export * from './devfile-datalist/devfile-datalist';
4747
export * from './devfile-codeblock/devfile-codeblock';
4848
export * from './custom-404/custom-404';
4949
export * from './video/video';
50+
export * from './cncf-project-section/cncf-project-section';

0 commit comments

Comments
 (0)