-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: introduce a docs main site (#95)
## Demo <img width="1507" alt="Screenshot 2024-07-10 at 4 26 13 PM" src="https://github.com/infinyon/fluvio-docs/assets/34756077/45fc395e-000a-4db4-8660-2a3e3869f6f7">
- Loading branch information
1 parent
4776a55
commit 048dd8c
Showing
2 changed files
with
81 additions
and
3 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,81 @@ | ||
import Layout from "@theme/Layout"; | ||
|
||
export default function Home(): JSX.Element { | ||
return ( | ||
<Layout | ||
title="Documentation | Fluvio Community" | ||
description="Documentation for Fluvio, InfinyOn Cloud and everything else Fluvio." | ||
> | ||
<section className="relative dark:text-white"> | ||
<figure | ||
className="absolute inset-x-0 -top-40 -z-10 transform-gpu overflow-hidden blur-3xl sm:-top-80" | ||
aria-hidden="true" | ||
> | ||
<div | ||
className="relative left-[calc(50%-11rem)] aspect-[1155/678] w-[36.125rem] -translate-x-1/2 rotate-[30deg] bg-gradient-to-tr from-[#ff80b5] to-[#9089fc] opacity-30 sm:left-[calc(50%-30rem)] sm:w-[72.1875rem]" | ||
style={{ | ||
clipPath: | ||
"polygon(74.1% 44.1%, 100% 61.6%, 97.5% 26.9%, 85.5% 0.1%, 80.7% 2%, 72.5% 32.5%, 60.2% 62.4%, 52.4% 68.1%, 47.5% 58.3%, 45.2% 34.5%, 27.5% 76.7%, 0.1% 64.9%, 17.9% 100%, 27.6% 76.8%, 76.1% 97.7%, 74.1% 44.1%)", | ||
}} | ||
></div> | ||
</figure> | ||
<article className="py-24 sm:py-32"> | ||
<div className="mx-auto max-w-7xl px-6 lg:px-8"> | ||
<div className="mx-auto max-w-2xl text-center"> | ||
<h1 className="text-2xl font-bold tracking-tight text-gray-900 dark:text-gray-100"> | ||
Fluvio Community Documentation | ||
</h1> | ||
<p> | ||
Which product are you looking for? | ||
</p> | ||
<div className="mt-10 flex items-center justify-center gap-x-6"> | ||
<a | ||
className="hover:text-white hover:no-underline rounded-md bg-indigo-600 px-3.5 py-2.5 text-sm font-semibold text-white shadow-sm hover:bg-indigo-800 focus-visible:outline focus-visible:outline-2 focus-visible:outline-offset-2 focus-visible:outline-indigo-600" | ||
href="/docs/fluvio/overview" | ||
> | ||
Fluvio | ||
</a> | ||
<a | ||
className="hover:text-white hover:no-underline rounded-md bg-indigo-600 px-3.5 py-2.5 text-sm font-semibold text-white shadow-sm hover:bg-indigo-800 focus-visible:outline focus-visible:outline-2 focus-visible:outline-offset-2 focus-visible:outline-indigo-600" | ||
href="/docs/cloud/quickstart" | ||
> | ||
InfinyOn Cloud | ||
</a> | ||
<a | ||
className="hover:text-white hover:no-underline rounded-md bg-indigo-600 px-3.5 py-2.5 text-sm font-semibold text-white shadow-sm hover:bg-indigo-800 focus-visible:outline focus-visible:outline-2 focus-visible:outline-offset-2 focus-visible:outline-indigo-600" | ||
href="/docs/sdf/quickstart" | ||
> | ||
SDF | ||
</a> | ||
<a | ||
className="hover:text-white hover:no-underline rounded-md bg-indigo-600 px-3.5 py-2.5 text-sm font-semibold text-white shadow-sm hover:bg-indigo-800 focus-visible:outline focus-visible:outline-2 focus-visible:outline-offset-2 focus-visible:outline-indigo-600" | ||
href="/docs/connectors/quickstart" | ||
> | ||
Connectors | ||
</a> | ||
<a | ||
className="hover:text-white hover:no-underline rounded-md bg-indigo-600 px-3.5 py-2.5 text-sm font-semibold text-white shadow-sm hover:bg-indigo-800 focus-visible:outline focus-visible:outline-2 focus-visible:outline-offset-2 focus-visible:outline-indigo-600" | ||
href="/docs/apis/quickstart" | ||
> | ||
APIs | ||
</a> | ||
</div> | ||
</div> | ||
</div> | ||
</article> | ||
<figure | ||
className="absolute inset-x-0 top-[calc(100%-13rem)] -z-10 transform-gpu overflow-hidden blur-3xl sm:top-[calc(100%-30rem)]" | ||
aria-hidden="true" | ||
> | ||
<div | ||
className="relative left-[calc(50%+3rem)] aspect-[1155/678] w-[36.125rem] -translate-x-1/2 bg-gradient-to-tr from-[#ff80b5] to-[#9089fc] opacity-30 sm:left-[calc(50%+36rem)] sm:w-[72.1875rem]" | ||
style={{ | ||
clipPath: | ||
"polygon(74.1% 44.1%, 100% 61.6%, 97.5% 26.9%, 85.5% 0.1%, 80.7% 2%, 72.5% 32.5%, 60.2% 62.4%, 52.4% 68.1%, 47.5% 58.3%, 45.2% 34.5%, 27.5% 76.7%, 0.1% 64.9%, 17.9% 100%, 27.6% 76.8%, 76.1% 97.7%, 74.1% 44.1%)", | ||
}} | ||
></div> | ||
</figure> | ||
</section> | ||
</Layout> | ||
); | ||
} |