@@ -4,75 +4,38 @@ import Link from '@docusaurus/Link';
44import useDocusaurusContext from '@docusaurus/useDocusaurusContext' ;
55import Layout from '@theme/Layout' ;
66import HomepageFeatures from '@site/src/components/HomepageFeatures' ;
7- import helmsman from '/static/img/cyclops_helmsman.png' ;
87
98import styles from './index.module.css' ;
109
1110function HomepageHeader ( ) {
12- const { siteConfig} = useDocusaurusContext ( ) ;
13- return (
14- < header className = { clsx ( 'hero hero--primary' , styles . heroBanner ) } >
15- < div className = "container" >
16- < h1 className = "hero__title" > { siteConfig . title } </ h1 >
17- < p className = "hero__subtitle" > { siteConfig . tagline } </ p >
18- < div className = { styles . buttons } >
19- { /* <Link*/ }
20- { /* className="button button--secondary button--lg"*/ }
21- { /* to="/docs/intro">*/ }
22- { /* Docusaurus Tutorial - 5min ⏱️*/ }
23- { /* </Link>*/ }
24- </ div >
25- </ div >
26- </ header >
27- ) ;
11+ const { siteConfig} = useDocusaurusContext ( ) ;
12+ return (
13+ < header className = { clsx ( 'hero hero--primary' , styles . heroBanner ) } >
14+ < div className = "container" >
15+ < h1 className = "hero__title" > { siteConfig . title } </ h1 >
16+ < p className = "hero__subtitle" > { siteConfig . tagline } </ p >
17+ < div className = { styles . buttons } >
18+ < Link
19+ className = "button button--secondary button--lg"
20+ to = "/docs/installation/prerequisites" >
21+ Deploy your first Cyclops module
22+ </ Link >
23+ </ div >
24+ </ div >
25+ </ header >
26+ ) ;
2827}
2928
3029export default function Home ( ) {
31- const yamlString = 'apiVersion: apps/v1\n' +
32- 'kind: Deployment\n' +
33- 'metadata:\n' +
34- ' name: nginx-deployment\n' +
35- ' labels:\n' +
36- ' app: nginx\n' +
37- 'spec:\n' +
38- ' replicas: 3\n' +
39- ' selector:\n' +
40- ' matchLabels:\n' +
41- ' app: nginx\n' +
42- ' template:\n' +
43- ' metadata:\n' +
44- ' labels:\n' +
45- ' app: nginx\n' +
46- ' spec:\n' +
47- ' containers:\n' +
48- ' - name: nginx\n' +
49- ' image: nginx:1.14.2\n' +
50- ' ports:\n' +
51- ' - containerPort: 80' ;
52-
53- const { siteConfig} = useDocusaurusContext ( ) ;
54- return (
55- < Layout
56- title = { `${ siteConfig . title } ` }
57- description = "Developer friendly Kubernetes" >
58- < HomepageHeader />
59- < main >
60- < img src = { helmsman } />
61-
62- { /*<SyntaxHighlighter*/ }
63- { /* language="yaml"*/ }
64- { /* style={atomOneDark}*/ }
65- { /* customStyle={{*/ }
66- { /* borderBottomLeftRadius: '10px',*/ }
67- { /* borderBottomRightRadius: '10px',*/ }
68- { /* paddingLeft: '15px',*/ }
69- { /* width: '30%',*/ }
70- { /* }}*/ }
71- { /*>*/ }
72- { /* {yamlString}*/ }
73- { /*</SyntaxHighlighter>*/ }
74- < HomepageFeatures />
75- </ main >
76- </ Layout >
77- ) ;
78- }
30+ const { siteConfig} = useDocusaurusContext ( ) ;
31+ return (
32+ < Layout
33+ title = { `Hello from ${ siteConfig . title } ` }
34+ description = "Description will go into a meta tag in <head />" >
35+ < HomepageHeader />
36+ < main >
37+ < HomepageFeatures />
38+ </ main >
39+ </ Layout >
40+ ) ;
41+ }
0 commit comments