1
0
Fork 0

removed landing page and moved contents to bot/overview

This commit is contained in:
Kim, Jimin 2021-09-24 12:03:12 +09:00
parent 6b1ad29ba3
commit 6f50a9dd07
7 changed files with 31 additions and 160 deletions

View file

@ -1,3 +1,16 @@
# Overview
Work in progress...
## Why Llama Bot?
### 102% Free
Every features are available for free.
Everything is funded via donation.
### Open source
Llama bot is not just free as in free ice cream, but also free as in freedom.
Every code that powers the Llama Bot can be found on [Github](https://github.com/llama-bot). Developers have the first class support and we provide detailed documentations to help you host the Llama Bot yourself.
Also, every part of the bot is licensed under the [MIT License](https://opensource.org/licenses/MIT) so you are free to do whatever your hart desires!

View file

@ -15,10 +15,11 @@ module.exports = {
projectName: 'llama-bot-docs', // Usually your repo name.
themeConfig: {
navbar: {
title: 'Llama Bot',
title: 'Llama Bot Docs',
logo: {
alt: 'Llama Bot Logo',
src: 'img/logo.png',
href: '/docs/overview',
},
items: [
{

View file

@ -1,85 +0,0 @@
import React from 'react';
import clsx from 'clsx';
import { FontAwesomeIcon } from '@fortawesome/react-fontawesome';
import { faStar } from '@fortawesome/free-solid-svg-icons';
import styles from './HomepageFeatures.module.css';
const FeatureList = [
{
size: 4,
title: 'Open source',
description: (
<>
Everything that make up the bot can be found on{' '}
<a target="_" href="https://github.com/llama-bot">
Github
</a>
. You can even clone and host it yourself!
</>
),
},
{
size: 6,
title: '102% Free',
description: (
<>
Llama bot is not just free as in free ice cream, but also free as in
freedom. Every part of the bot is licensed under the{' '}
<a target="_" href="https://opensource.org/licenses/MIT">
MIT License
</a>{' '}
so you are free to do whatever your hart desires!
</>
),
},
{
size: 4,
title: 'Easy to use',
description: (
<>
Simple
<br />
Modern
<br />
Extendable
<br />
Well documented
</>
),
},
];
function Feature({ size, title, description }) {
return (
<div className={clsx('col col--4')}>
<div className="text--center">
<FontAwesomeIcon
icon={faStar}
className={styles.featureSvg}
alt={title}
style={{ fontSize: `${size}rem` }}
/>
</div>
<div className="text--center padding-horiz--md">
<h3>{title}</h3>
<p>{description}</p>
</div>
</div>
);
}
export default function HomepageFeatures() {
return (
<section className={styles.features}>
<div className="container">
<div className="row">
{FeatureList.map((props, idx) => (
<Feature key={idx} {...props} />
))}
</div>
</div>
</section>
);
}

View file

@ -1,13 +0,0 @@
/* stylelint-disable docusaurus/copyright-header */
.features {
display: flex;
align-items: center;
padding: 2rem 0;
width: 100%;
}
.featureSvg {
height: 200px;
width: 200px;
}

View file

@ -1,35 +0,0 @@
import React from 'react';
import clsx from 'clsx';
import Layout from '@theme/Layout';
import Link from '@docusaurus/Link';
import useDocusaurusContext from '@docusaurus/useDocusaurusContext';
import styles from './index.module.css';
import HomepageFeatures from '../components/HomepageFeatures';
export default function Home() {
const { siteConfig } = useDocusaurusContext();
return (
<Layout
title={siteConfig.title}
description="Documentation page for the llama bot"
>
<header className={clsx('hero hero--primary', styles.heroBanner)}>
<div className="container">
<h1 className="hero__title">{siteConfig.title}</h1>
<p className="hero__subtitle">{siteConfig.tagline}</p>
<div className={styles.buttons}>
<Link
className="button button--secondary button--lg"
to="/docs/overview"
>
Get started - 5min
</Link>
</div>
</div>
</header>
<main>
<HomepageFeatures />
</main>
</Layout>
);
}

View file

@ -1,25 +0,0 @@
/* stylelint-disable docusaurus/copyright-header */
/**
* 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: 966px) {
.heroBanner {
padding: 2rem;
}
}
.buttons {
display: flex;
align-items: center;
justify-content: center;
}

15
static/index.html Normal file
View file

@ -0,0 +1,15 @@
<!DOCTYPE html>
<html lang="en-US">
<head>
<meta charset="UTF-8" />
<meta http-equiv="refresh" content="0; url=docs/overview" />
<script type="text/javascript">
window.location.href = 'docs/overview';
</script>
</head>
<body>
If you are not redirected automatically, follow this
<a href="docs/overview">link</a>.
</body>
</html>