Skip to content

Commit 30df80e

Browse files
fixing issues with CDK section
1 parent 6dee5cf commit 30df80e

File tree

14 files changed

+105
-61
lines changed

14 files changed

+105
-61
lines changed

docs/_site_essentials/stylesheets/extra.css

Lines changed: 44 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -38,4 +38,48 @@ div.flex-figure div.flex-figure-left {
3838

3939
div.flex-figure div.flex-figure-right {
4040
flex-grow: 2;
41+
}
42+
43+
.feature-paragraph {
44+
text-align: left;
45+
}
46+
* {
47+
box-sizing: border-box;
48+
}
49+
.grid-container {
50+
display: flex;
51+
flex-wrap: wrap;
52+
width: 100%;
53+
padding: 10px;
54+
align-items: stretch;
55+
}
56+
.grid-item {
57+
background-color: white;
58+
border-radius: 8px;
59+
-webkit-box-shadow: 0 8px 16px 0 rgb(17 17 17 / 8%);
60+
box-shadow: 0 8px 16px 0 rgb(17 17 17 / 8%);
61+
padding: 33px;
62+
margin: 5px;
63+
text-align: center;
64+
align-items: center;
65+
flex: 32%;
66+
width: 32%;
67+
}
68+
@media screen and (max-width: 1000px) {
69+
.grid-item {
70+
flex: 32%;
71+
max-width: 32%;
72+
}
73+
}
74+
@media screen and (max-width: 800px) {
75+
.grid-item {
76+
flex: 48%;
77+
max-width: 48%;
78+
}
79+
}
80+
@media screen and (max-width: 600px) {
81+
.grid-item {
82+
flex: 100%;
83+
max-width: 100%;
84+
}
4185
}

docs/cdk/concepts/index.md

Lines changed: 0 additions & 3 deletions
This file was deleted.
Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,10 @@
11
!!! note "Recommendation"
22
Follow the [quickstart](quickstart-rollup.md) for a hands-on introduction to CDK in rollup mode.
33

4+
!!! note
5+
- The documentation describes standard deployments.
6+
- Edit the configuration files to implement your own custom setups.
7+
48
## Deploy a CDK rollup locally
59

610
The [zkEVM deployment quickstart documentation](../../zkEVM/get-started/deploy-zkevm/index.md) shows you how to deploy a zkEVM rollup on your local machine.

docs/cdk/get-started/deploy-validium.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,10 @@
11
!!! important "Recommendation"
22
Follow the [quickstart](quickstart-validium.md) for a hands-on introduction to CDK in validium mode.
33

4+
!!! note
5+
- The documentation describes standard deployments.
6+
- Edit the configuration files to implement your own custom setups.
7+
48
Follow the steps below to deploy a CDK validium instance.
59

610
## 1. Deploy validium-specific contracts

docs/cdk/get-started/index.md

Lines changed: 0 additions & 29 deletions
This file was deleted.

docs/cdk/get-started/quickstart-rollup.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,7 @@
1+
!!! note
2+
- The documentation describes standard deployments.
3+
- Edit the configuration files to implement your own custom setups.
4+
15
## Run a CDK rollup locally
26

37
The following link takes you to a quickstart guide for deploying a CDK rollup on your local machine.

docs/cdk/get-started/quickstart-validium.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,9 @@
11
This quickstart guides you through the process of setting up a CDK validium on your local machine.
22

3+
!!! note
4+
- The documentation describes standard deployments.
5+
- Edit the configuration files to implement your own custom setups.
6+
37
## Prerequisites
48

59
### System requirements

docs/cdk/how-to/index.md

Lines changed: 0 additions & 4 deletions
This file was deleted.

docs/cdk/index.md

Lines changed: 39 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,40 @@
1-
<div class="flex-figure" markdown="1">
2-
<div class="flex-figure-left" markdown="1">
3-
# Polygon CDK
4-
Polygon Chain Development Kit (CDK) is a modular, open source software toolkit for blockchain developers to launch new L2 chains on Ethereum.
5-
</div>
6-
<div class="flex-figure-right">
7-
<img src="../img/cdk/cdk.svg" class="figure figure-right" alt="" />
8-
</div>
9-
</div>
1+
---
2+
hide:
3+
- toc
4+
---
105

6+
<div class="section-wrapper product-section-head">
7+
<div class="hero-image"><img src="../img/cdk/cdk.svg" loading="lazy" class="hero-image" style="width: 40%; float: right;"></div>
8+
<div class="hero-left">
9+
<h1 class="hero-heading">Polygon CDK</h1>
10+
<p class="hero-subtext">Polygon Chain Development Kit (CDK) is a modular, open source software toolkit for blockchain developers to launch new L2 chains on Ethereum.</p>
11+
</div>
12+
</br>
13+
</div>
14+
<div class="grid-container">
15+
<div class="grid-item">
16+
<a href="./get-started/quickstart-rollup">
17+
<div class="product-list-item-header">
18+
<div class="feature-card-heading">CDK rollups</div>
19+
</div>
20+
<p class="feature-paragraph">Get started with the CDK zkRollup stack.</p>
21+
</a>
22+
</div>
23+
<div class="grid-item">
24+
<a href="./get-started/quickstart-validium">
25+
<div class="product-list-item-header">
26+
<div class="feature-card-heading">CDK validiums</div>
27+
</div>
28+
<p class="feature-paragraph">Get started with the CDK validium stack.</p>
29+
</a>
30+
</div>
31+
<div class="grid-item">
32+
<a href="./spec/validium-vs-rollup">
33+
<div class="product-list-item-header">
34+
<div class="feature-card-heading">Rollup versus validium</div>
35+
</div>
36+
<p class="feature-paragraph">Discover the key differences between the rollup and validium infrastructure options.</p>
37+
</a>
38+
</div>
39+
</div>
40+
</div>

docs/cdk/overview.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,9 @@ Here is what developers can expect when they build with Polygon CDK.
1919
5. **Near-instant finality**: Chains deployed using Polygon CDK rely on cryptographic security, ensuring transaction integrity without the need of full nodes. This approach guarantees near-instant finality and robust security.
2020
6. **Extensive Web3 support**: Polygon CDK chains leverage a comprehensive ecosystem with premium service providers offering essential tools for application integration, development, and deployment.
2121

22+
!!! important "Why are there zkEVM docs in the CDK section?"
23+
Several of the docs point to zkEVM specific deployment documentation because the rollup flavor of CDK uses zkEVM deployment defaults.
24+
2225
The following diagram illustrates how Polygon CDK-developed chains may opt into a web of interoperable L2 chains:
2326

2427
![](../img/cdk/overview-2.png)

0 commit comments

Comments
 (0)