feat(docs): migrate documentation site into monorepo (#5912)
This commit is contained in:
1 parent
3e464a76f2
commit
9e421c67bd
605 files changed
+26764
-219
No files matched your search
@@ -0,0 +1,29 @@
|
||||
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>
|
||||
);
|
||||
}
|
||||
Reference in new issue
Block a user