feat: polish release v2 experience (#6800)
This commit is contained in:
1 parent
925b0fb801
commit
a4a903d7c3
295 files changed
+10627
-7115
No files matched your search
@@ -1,29 +0,0 @@
|
||||
import React from "react";
|
||||
import Layout from "@theme/Layout";
|
||||
import { CarbonCoverStrict, CarbonCoverObserver, CarbonCoverCssOnlySecond } from "../components/carbon";
|
||||
|
||||
export default function CarbonTestPage() {
|
||||
return (
|
||||
<Layout title="Carbon Ads Test" description="Test different Carbon cover implementations">
|
||||
<div className="container margin-vert--lg">
|
||||
<h1>Carbon Ads Test</h1>
|
||||
<p>Compare three implementations to only show the cover unit.</p>
|
||||
|
||||
<section style={{ marginTop: 24, marginBottom: 24 }}>
|
||||
<h2>1) Strict re-initialization</h2>
|
||||
<CarbonCoverStrict />
|
||||
</section>
|
||||
|
||||
<section style={{ marginTop: 24, marginBottom: 24 }}>
|
||||
<h2>2) Observer trimming</h2>
|
||||
<CarbonCoverObserver />
|
||||
</section>
|
||||
|
||||
<section style={{ marginTop: 24, marginBottom: 24 }}>
|
||||
<h2>3) CSS-only (hide first, keep cover)</h2>
|
||||
<CarbonCoverCssOnlySecond />
|
||||
</section>
|
||||
</div>
|
||||
</Layout>
|
||||
);
|
||||
}
|
||||
@@ -16,34 +16,37 @@ 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>
|
||||
<main>
|
||||
<svg
|
||||
xmlns="http://www.w3.org/2000/svg"
|
||||
preserveAspectRatio="none"
|
||||
viewBox="0 0 1440 320"
|
||||
className={styles.heroWave}
|
||||
aria-hidden="true"
|
||||
focusable="false"
|
||||
>
|
||||
<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>
|
||||
</main>
|
||||
</Layout>
|
||||
);
|
||||
}
|
||||
Reference in new issue
Block a user