feat: establish Corp v1 steering documentation
Build and publish Corp v1 steering documentation / build (push) Successful in 30s
Build and publish Corp v1 steering documentation / build (push) Successful in 30s
This commit is contained in:
@@ -0,0 +1,71 @@
|
||||
import type {ReactNode} from 'react';
|
||||
import clsx from 'clsx';
|
||||
import Heading from '@theme/Heading';
|
||||
import styles from './styles.module.css';
|
||||
|
||||
type FeatureItem = {
|
||||
title: string;
|
||||
Svg: React.ComponentType<React.ComponentProps<'svg'>>;
|
||||
description: ReactNode;
|
||||
};
|
||||
|
||||
const FeatureList: FeatureItem[] = [
|
||||
{
|
||||
title: 'Easy to Use',
|
||||
Svg: require('@site/static/img/undraw_docusaurus_mountain.svg').default,
|
||||
description: (
|
||||
<>
|
||||
Docusaurus was designed from the ground up to be easily installed and
|
||||
used to get your website up and running quickly.
|
||||
</>
|
||||
),
|
||||
},
|
||||
{
|
||||
title: 'Focus on What Matters',
|
||||
Svg: require('@site/static/img/undraw_docusaurus_tree.svg').default,
|
||||
description: (
|
||||
<>
|
||||
Docusaurus lets you focus on your docs, and we'll do the chores. Go
|
||||
ahead and move your docs into the <code>docs</code> directory.
|
||||
</>
|
||||
),
|
||||
},
|
||||
{
|
||||
title: 'Powered by React',
|
||||
Svg: require('@site/static/img/undraw_docusaurus_react.svg').default,
|
||||
description: (
|
||||
<>
|
||||
Extend or customize your website layout by reusing React. Docusaurus can
|
||||
be extended while reusing the same header and footer.
|
||||
</>
|
||||
),
|
||||
},
|
||||
];
|
||||
|
||||
function Feature({title, Svg, description}: FeatureItem) {
|
||||
return (
|
||||
<div className={clsx('col col--4')}>
|
||||
<div className="text--center">
|
||||
<Svg className={styles.featureSvg} role="img" />
|
||||
</div>
|
||||
<div className="text--center padding-horiz--md">
|
||||
<Heading as="h3">{title}</Heading>
|
||||
<p>{description}</p>
|
||||
</div>
|
||||
</div>
|
||||
);
|
||||
}
|
||||
|
||||
export default function HomepageFeatures(): ReactNode {
|
||||
return (
|
||||
<section className={styles.features}>
|
||||
<div className="container">
|
||||
<div className="row">
|
||||
{FeatureList.map((props, idx) => (
|
||||
<Feature key={idx} {...props} />
|
||||
))}
|
||||
</div>
|
||||
</div>
|
||||
</section>
|
||||
);
|
||||
}
|
||||
@@ -0,0 +1,11 @@
|
||||
.features {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
padding: 2rem 0;
|
||||
width: 100%;
|
||||
}
|
||||
|
||||
.featureSvg {
|
||||
height: 200px;
|
||||
width: 200px;
|
||||
}
|
||||
@@ -0,0 +1,33 @@
|
||||
@import url('https://cdn.jsdelivr.net/npm/geist@1.3.0/dist/fonts/geist-sans/style.css');
|
||||
@import url('https://cdn.jsdelivr.net/npm/geist@1.3.0/dist/fonts/geist-mono/style.css');
|
||||
|
||||
:root {
|
||||
--ifm-font-family-base: 'Geist', system-ui, sans-serif;
|
||||
--ifm-font-family-monospace: 'Geist Mono', monospace;
|
||||
--ifm-color-primary: #2563eb;
|
||||
--ifm-color-primary-dark: #1d4ed8;
|
||||
--ifm-color-primary-darker: #1e40af;
|
||||
--ifm-color-primary-darkest: #1e3a8a;
|
||||
--ifm-color-primary-light: #3b82f6;
|
||||
--ifm-color-primary-lighter: #60a5fa;
|
||||
--ifm-color-primary-lightest: #93c5fd;
|
||||
--ifm-global-radius: 0;
|
||||
--ifm-code-border-radius: 0;
|
||||
--ifm-button-border-radius: 0;
|
||||
--ifm-alert-border-radius: 0;
|
||||
}
|
||||
|
||||
[data-theme='dark'] {
|
||||
--ifm-background-color: #09090b;
|
||||
--ifm-background-surface-color: #111113;
|
||||
--ifm-color-primary: #60a5fa;
|
||||
--ifm-color-content: #ededed;
|
||||
--ifm-color-content-secondary: #a1a1aa;
|
||||
}
|
||||
|
||||
.navbar {background: #09090b !important; border-bottom: 1px solid #27272a; box-shadow: none;}
|
||||
.navbar__title {letter-spacing: .08em; font-weight: 700;}
|
||||
.footer {border-top: 1px solid #27272a;}
|
||||
.button, code, pre, .card, .alert, .pagination-nav__link, .menu, input, select, textarea {border-radius: 0 !important;}
|
||||
table {display: table; width: 100%;}
|
||||
th {text-transform: uppercase; letter-spacing: .06em; font-size: .75rem;}
|
||||
Reference in New Issue
Block a user