Skip to content

Commit 0f30dc8

Browse files
authored
Merge pull request #32 from airchains-network/testnet/tx-struct
Merging testnet/tx-struct to development branch
2 parents 6c10c34 + 8503afd commit 0f30dc8

File tree

7 files changed

+90
-28
lines changed

7 files changed

+90
-28
lines changed

docs/develop/index.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
---
2+
id: develop
3+
title: develop
4+
sidebar_position: 10
5+
---

docs/develop/tx-struct.md

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
---
2+
id: tx-struct
3+
title: Tx Struct
4+
description: Tx Struct is a data structure that contains the transaction data.
5+
slug: /develop/tx-struct
6+
hide_table_of_contents: true
7+
sidebar_position: 1
8+
---
9+
10+
# Tx Struct
11+
12+
import UnderProgress from '@site/src/components/Docs/under-progress.js';
13+
14+
<UnderProgress />

sidebars.js

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -140,6 +140,11 @@ const sidebars = {
140140
type: "html",
141141
value: '<div class="sidebar-heading">Develop</div>',
142142
},
143+
{
144+
type: "doc",
145+
id: "develop/tx-struct",
146+
className: "custom-sidebar-item",
147+
},
143148
],
144149
};
145150

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,20 @@
1+
import Link from "@docusaurus/Link";
2+
import React from "react";
3+
4+
const UnderProgress = () => {
5+
return (
6+
<div>
7+
<div className="under_maintenance_container">
8+
<div className="under_maintenance_content_wrapper">
9+
<p className="under_maintenance_heading">🚧 Under Progress 🚧</p>
10+
<p className="under_maintenance_subheading">
11+
This page is currently under development. Please check back later or
12+
visit another page.
13+
</p>
14+
</div>
15+
</div>
16+
</div>
17+
);
18+
};
19+
20+
export default UnderProgress;

src/css/custom.css

Lines changed: 46 additions & 28 deletions
Original file line numberDiff line numberDiff line change
@@ -1,27 +1,19 @@
1-
/* Target the search button more specifically */
2-
nav .DocSearch-Button {
3-
background-color: #f5f5f5;
4-
border-radius: 50px;
5-
padding: 10px;
6-
border: 1px solid #ccc;
7-
color: #333;
1+
[data-theme="dark"] {
2+
--ifm-color-primary: #584ff9;
3+
--ifm-color-primary-dark: #4a44d6;
4+
--ifm-color-primary-darker: #3f3abf;
5+
--ifm-color-primary-light: #6b63ff;
6+
--ifm-color-primary-lighter: #7f77ff;
7+
--ifm-background-color: #121212;
8+
--ifm-navbar-background-color: #1a1a1a;
9+
--ifm-footer-background-color: #1a1a1a;
10+
--ifm-link-color: #584ff9;
11+
--ifm-heading-color: #ffffff;
12+
--ifm-font-color-base: #e0e0e0;
813
}
914

10-
nav .DocSearch-Button:hover {
11-
background-color: #e0e0e0;
12-
}
13-
14-
nav .DocSearch-Button-Placeholder {
15-
font-style: italic;
16-
color: #888;
17-
}
18-
19-
.DocSearch-Modal {
20-
background-color: rgba(0, 0, 0, 0.7);
21-
}
22-
23-
.DocSearch-Modal a {
24-
color: #00bfa5;
15+
::-webkit-scrollbar {
16+
width: 0px;
2517
}
2618

2719
.sidebar-heading {
@@ -146,11 +138,38 @@ td {
146138
margin-left: 4px;
147139
margin-bottom: 6px;
148140
}
149-
.kms_logo {
150-
width: 80px;
151-
height: 50px;
152-
margin-left: 0px;
153-
margin-bottom: 6px;
141+
142+
.under_maintenance_container {
143+
display: flex;
144+
flex-direction: column;
145+
justify-content: start;
146+
align-items: start;
147+
padding: 30px 0px;
148+
}
149+
150+
.under_maintenance_content_wrapper {
151+
display: flex;
152+
flex-direction: column;
153+
justify-content: center;
154+
align-items: start;
155+
gap: 4px;
156+
padding: 20px 0px;
157+
}
158+
159+
.under_maintenance_heading {
160+
font-size: 36px;
161+
font-weight: 600;
162+
padding-bottom: 8px;
163+
line-height: 1;
164+
color: #ffffff;
165+
}
166+
167+
.under_maintenance_subheading {
168+
font-size: 18px;
169+
font-weight: 400;
170+
padding-bottom: 8px;
171+
color: #b1b1b9;
172+
max-width: 600px;
154173
}
155174

156175
.version_chip_container {
@@ -174,4 +193,3 @@ td {
174193
min-height: 120px;
175194
margin-bottom: 20px;
176195
}
177-

static/img/under-maintenance.png

3.82 MB
Loading

static/img/under-maintenance2.png

3.82 MB
Loading

0 commit comments

Comments
 (0)