diff options
Diffstat (limited to 'packages/dev-tools-pages/ts')
-rw-r--r-- | packages/dev-tools-pages/ts/components/Content.tsx (renamed from packages/dev-tools-pages/ts/components/Main.tsx) | 0 | ||||
-rw-r--r-- | packages/dev-tools-pages/ts/pages/Compiler.tsx | 10 | ||||
-rw-r--r-- | packages/dev-tools-pages/ts/pages/Cov.tsx | 6 | ||||
-rw-r--r-- | packages/dev-tools-pages/ts/pages/Profiler.tsx | 6 | ||||
-rw-r--r-- | packages/dev-tools-pages/ts/pages/Trace.tsx | 6 |
5 files changed, 14 insertions, 14 deletions
diff --git a/packages/dev-tools-pages/ts/components/Main.tsx b/packages/dev-tools-pages/ts/components/Content.tsx index 6c0270dbc..6c0270dbc 100644 --- a/packages/dev-tools-pages/ts/components/Main.tsx +++ b/packages/dev-tools-pages/ts/components/Content.tsx diff --git a/packages/dev-tools-pages/ts/pages/Compiler.tsx b/packages/dev-tools-pages/ts/pages/Compiler.tsx index c6e67021e..8e2c7f058 100644 --- a/packages/dev-tools-pages/ts/pages/Compiler.tsx +++ b/packages/dev-tools-pages/ts/pages/Compiler.tsx @@ -3,7 +3,7 @@ import { render, hydrate } from 'react-dom'; import context from 'ts/context/compiler'; import Base from 'ts/components/Base'; -import Main from 'ts/components/Main'; +import Content from 'ts/components/Content'; import ContentBlock from 'ts/components/ContentBlock'; import { Tabs, TabBlock } from 'ts/components/Tabs'; import Code from 'ts/components/Code'; @@ -15,7 +15,7 @@ function Compiler() { return ( <Base context={context}> <CompilerComponent /> - <Main> + <Content> <ContentBlock title="Required steps"> <List items={['Step 1', 'Step 2']} /> </ContentBlock> @@ -44,8 +44,8 @@ const artifactAdapter = new SolCompilerArtifactAdapter(artifactsDir, contractsDi <TabBlock title="Custom">Custom</TabBlock> </Tabs> </ContentBlock> - </Main> - <Main + </Content> + <Content title="Artifacts" subtitle="Sol compiler uses solidity standard JSON output format for the artifacts. This way, you can define which parts of the artifact you need." dark @@ -56,7 +56,7 @@ const artifactAdapter = new SolCompilerArtifactAdapter(artifactsDir, contractsDi define which parts of the artifact you need. </p> </ContentBlock> - </Main> + </Content> </Base> ); } diff --git a/packages/dev-tools-pages/ts/pages/Cov.tsx b/packages/dev-tools-pages/ts/pages/Cov.tsx index d5b607334..1d8bbf512 100644 --- a/packages/dev-tools-pages/ts/pages/Cov.tsx +++ b/packages/dev-tools-pages/ts/pages/Cov.tsx @@ -3,7 +3,7 @@ import { render, hydrate } from 'react-dom'; import context from 'ts/context/cov'; import Base from 'ts/components/Base'; -import Main from 'ts/components/Main'; +import Content from 'ts/components/Content'; import ContentBlock from 'ts/components/ContentBlock'; import { Tabs, TabBlock } from 'ts/components/Tabs'; import Code from 'ts/components/Code'; @@ -21,7 +21,7 @@ function Cov() { coverage. </p> </Intro> - <Main> + <Content> <ContentBlock title="Required steps"> <List items={['Step 1', 'Step 2']} /> </ContentBlock> @@ -50,7 +50,7 @@ const artifactAdapter = new SolCompilerArtifactAdapter(artifactsDir, contractsDi <TabBlock title="Custom">Custom</TabBlock> </Tabs> </ContentBlock> - </Main> + </Content> </Base> ); } diff --git a/packages/dev-tools-pages/ts/pages/Profiler.tsx b/packages/dev-tools-pages/ts/pages/Profiler.tsx index ae847ad41..49028c46a 100644 --- a/packages/dev-tools-pages/ts/pages/Profiler.tsx +++ b/packages/dev-tools-pages/ts/pages/Profiler.tsx @@ -3,7 +3,7 @@ import { render, hydrate } from 'react-dom'; import context from 'ts/context/profiler'; import Base from 'ts/components/Base'; -import Main from 'ts/components/Main'; +import Content from 'ts/components/Content'; import ContentBlock from 'ts/components/ContentBlock'; import { Tabs, TabBlock } from 'ts/components/Tabs'; import Code from 'ts/components/Code'; @@ -21,7 +21,7 @@ function Profiler() { data-driven approach to optimizing it. </p> </Intro> - <Main> + <Content> <ContentBlock title="Required steps"> <List items={['Step 1', 'Step 2']} /> </ContentBlock> @@ -50,7 +50,7 @@ const artifactAdapter = new SolCompilerArtifactAdapter(artifactsDir, contractsDi <TabBlock title="Custom">Custom</TabBlock> </Tabs> </ContentBlock> - </Main> + </Content> </Base> ); } diff --git a/packages/dev-tools-pages/ts/pages/Trace.tsx b/packages/dev-tools-pages/ts/pages/Trace.tsx index b55c03005..4bdc68e95 100644 --- a/packages/dev-tools-pages/ts/pages/Trace.tsx +++ b/packages/dev-tools-pages/ts/pages/Trace.tsx @@ -3,7 +3,7 @@ import { render, hydrate } from 'react-dom'; import context from 'ts/context/trace'; import Base from 'ts/components/Base'; -import Main from 'ts/components/Main'; +import Content from 'ts/components/Content'; import ContentBlock from 'ts/components/ContentBlock'; import { Tabs, TabBlock } from 'ts/components/Tabs'; import Code from 'ts/components/Code'; @@ -15,7 +15,7 @@ function Trace() { return ( <Base context={context}> <TraceComponent /> - <Main> + <Content> <ContentBlock title="Required steps"> <List items={['Step 1', 'Step 2']} /> </ContentBlock> @@ -44,7 +44,7 @@ const artifactAdapter = new SolCompilerArtifactAdapter(artifactsDir, contractsDi <TabBlock title="Custom">Custom</TabBlock> </Tabs> </ContentBlock> - </Main> + </Content> </Base> ); } |