This commit is contained in:
Emily
2024-06-02 03:35:35 +02:00
parent 47623ef427
commit 70628bacda
34 changed files with 24960 additions and 12693 deletions

View File

@@ -0,0 +1,18 @@
.hero {
display: flex;
flex-direction: column;
justify-content: center;
align-items: center;
height: 20rem;
text-align: center;
}
.hero img {
max-width: 100px;
margin-bottom: 20px;
}
.hero-title {
font-weight: bold;
margin-bottom: 20px;
}

35
docs/src/pages/index.tsx Normal file
View File

@@ -0,0 +1,35 @@
import clsx from 'clsx';
import Link from '@docusaurus/Link';
import useDocusaurusContext from '@docusaurus/useDocusaurusContext';
import Layout from '@theme/Layout';
import HomepageFeatures from '@site/src/components/HomepageFeatures';
import Heading from '@theme/Heading';
import styles from './index.module.css';
function MainHeader() {
return (
<header className={clsx('hero', styles.hero)}>
<img src="/img/logo.png" alt="Logo" />
<h1 className="hero-title">Welcome to LitLyx Docs</h1>
<Link
className="button button--secondary button--lg"
to="/intro">
Read Docs 🔥 | 3 min read
</Link>
</header>
);
}
export default function Home(): JSX.Element {
return (
<Layout
title={`LitLyx`}
description="LitLyx offers ultra-fast, real-time analytics and custom events with just one line of code. It seamlessly integrates with over 15 JavaScript/TypeScript frameworks. Designed for developers, it's also accessible to everyone from designers to investors, enhancing your projects with valuable insights.
">
<MainHeader />
<HomepageFeatures />
</Layout>
);
}