Replace index page with redirect
This commit is contained in:
parent
509667045d
commit
d62467bd05
3 changed files with 1 additions and 50 deletions
|
@ -38,6 +38,7 @@ const config: Config = {
|
||||||
logo: {
|
logo: {
|
||||||
alt: "CORE Framework",
|
alt: "CORE Framework",
|
||||||
src: "dist/core.png",
|
src: "dist/core.png",
|
||||||
|
href: '/about',
|
||||||
},
|
},
|
||||||
items: [
|
items: [
|
||||||
{
|
{
|
||||||
|
|
|
@ -1,23 +0,0 @@
|
||||||
/**
|
|
||||||
* CSS files with the .module.css suffix will be treated as CSS modules
|
|
||||||
* and scoped locally.
|
|
||||||
*/
|
|
||||||
|
|
||||||
.heroBanner {
|
|
||||||
padding: 4rem 0;
|
|
||||||
text-align: center;
|
|
||||||
position: relative;
|
|
||||||
overflow: hidden;
|
|
||||||
}
|
|
||||||
|
|
||||||
@media screen and (max-width: 996px) {
|
|
||||||
.heroBanner {
|
|
||||||
padding: 2rem;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
.buttons {
|
|
||||||
display: flex;
|
|
||||||
align-items: center;
|
|
||||||
justify-content: center;
|
|
||||||
}
|
|
|
@ -1,27 +0,0 @@
|
||||||
import clsx from 'clsx';
|
|
||||||
import Link from '@docusaurus/Link';
|
|
||||||
import useDocusaurusContext from '@docusaurus/useDocusaurusContext';
|
|
||||||
import Layout from '@theme/Layout';
|
|
||||||
import Heading from '@theme/Heading';
|
|
||||||
|
|
||||||
import styles from './index.module.css';
|
|
||||||
|
|
||||||
export default function Home(): JSX.Element {
|
|
||||||
const {siteConfig} = useDocusaurusContext();
|
|
||||||
return (
|
|
||||||
<Layout
|
|
||||||
title={``}
|
|
||||||
description="The Presencode documentation">
|
|
||||||
<header className={clsx('hero hero--primary', styles.heroBanner)}>
|
|
||||||
<div className="container">
|
|
||||||
<Heading as="h1" className="hero__title">You shouldn't see this.</Heading>
|
|
||||||
<p className="hero__subtitle">You should have been redirected to the <b>About</b> page.</p>
|
|
||||||
<div className={styles.buttons}>
|
|
||||||
<Link className="button button--secondary button--lg" to="/about">Click here to get there
|
|
||||||
</Link>
|
|
||||||
</div>
|
|
||||||
</div>
|
|
||||||
</header>
|
|
||||||
</Layout>
|
|
||||||
);
|
|
||||||
}
|
|
Loading…
Reference in a new issue