50 lines
2.3 KiB
TypeScript
50 lines
2.3 KiB
TypeScript
import React from "react";
|
|
|
|
import Layout from "@theme/Layout";
|
|
|
|
import HomepageFeatures from "../components/pages/home/features/features";
|
|
import HomepageUserReviews from "../components/pages/home/review-list/review-list";
|
|
import HomeHero from "../components/pages/home/hero/hero";
|
|
|
|
import styles from "./index.module.css";
|
|
import BrowserOnly from "@docusaurus/BrowserOnly";
|
|
import { SectionContainer } from "@site/src/components/pages/home/container/section-container";
|
|
import { DragAndDropShowcase } from "@site/src/components/pages/home/drag-and-drop/drag-and-drop-showcase";
|
|
import { AvailableIntegrations } from "@site/src/components/pages/home/integrations/available-integrations";
|
|
|
|
export default function Home() {
|
|
return (
|
|
<Layout description="Simplify the management of your server with Homarr - a sleek, modern dashboard that puts all of your apps and services at your fingertips. With Homarr, you can access and control everything in one convenient location. Homarr seamlessly integrates with the apps you've added, providing you with valuable information and giving you complete control. Installation is a breeze, and Homarr supports a wide range of deployment methods.">
|
|
<HomeHero />
|
|
|
|
<svg
|
|
xmlns="http://www.w3.org/2000/svg"
|
|
preserveAspectRatio="none"
|
|
viewBox="0 0 1440 320"
|
|
className={styles.heroWave}
|
|
>
|
|
<path
|
|
fill="var(--ifm-color-primary)"
|
|
fillOpacity="1"
|
|
d="M0,224L48,202.7C96,181,192,139,288,133.3C384,128,480,160,576,149.3C672,139,768,85,864,58.7C960,32,1056,32,1152,37.3C1248,43,1344,53,1392,58.7L1440,64L1440,0L1392,0C1344,0,1248,0,1152,0C1056,0,960,0,864,0C768,0,672,0,576,0C480,0,384,0,288,0C192,0,96,0,48,0L0,0Z"
|
|
></path>
|
|
</svg>
|
|
<SectionContainer>
|
|
<HomepageFeatures />
|
|
</SectionContainer>
|
|
<BrowserOnly fallback={<span>loading...</span>}>
|
|
{() => {
|
|
const DataflowVisualizationComponent =
|
|
require("../components/pages/home/dataflow/dataflow").DataflowVisualizationComponent;
|
|
return <DataflowVisualizationComponent />;
|
|
}}
|
|
</BrowserOnly>
|
|
<DragAndDropShowcase />
|
|
<AvailableIntegrations />
|
|
<SectionContainer>
|
|
<HomepageUserReviews />
|
|
</SectionContainer>
|
|
</Layout>
|
|
);
|
|
}
|