Skip to content

Commit

Permalink
Extra fix (#16)
Browse files Browse the repository at this point in the history
* clean button space

* video block

* fix block
  • Loading branch information
sansx authored May 1, 2024
1 parent debee1e commit f47a7b6
Show file tree
Hide file tree
Showing 30 changed files with 60 additions and 72 deletions.
7 changes: 4 additions & 3 deletions docs/contribute/archive/hacktoberfest-2022/README.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,9 @@ To motivate the community to contribute to open source projects in the TON Ecosy
<div style={{width: '100%', textAlign:'center', margin: '0 auto'}}>
<video width="300" style={{width: '100%', borderRadius:'10pt', margin:'15pt auto'}} muted={true} autoPlay={true} loop={true}>
<source src="/docs/files/nft-sm.mp4" type="video/mp4" />
Your browser does not support the video tag.
````
Your browser does not support the video tag.
````mdx-code-block
</video>
</div>
````
Expand All @@ -50,8 +52,7 @@ You have plenty of time to participate in the event. Let's build decentralized I
<Button href="/contribute/hacktoberfest/as-contributor"
colorType="primary" sizeType={'lg'}>
````
I want to become a Contributor

I want to become a Contributor
````mdx-code-block
</Button>
````
Expand Down
3 changes: 1 addition & 2 deletions docs/develop/companies/outsource.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -139,8 +139,7 @@ Add team
<Button href="https://github.com/ton-community/ton-docs/tree/main/docs/develop/companies/outsource.mdx"
colorType="secondary" sizeType={'sm'}>
````
Request with PR

Request with PR
````mdx-code-block
</Button>
````
Expand Down
2 changes: 0 additions & 2 deletions docs/develop/dapps/asset-processing/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -174,7 +174,6 @@ const tonLink = `ton://transfer/${address.toString({
colorType="primary" sizeType={'lg'}>
````
Learn More

````mdx-code-block
</Button>
````
Expand All @@ -197,7 +196,6 @@ Best suited for dApps that need to sign multiple payments/transactions within a
colorType="primary" sizeType={'lg'}>
````
Learn More

````mdx-code-block
</Button>
````
Expand Down
7 changes: 3 additions & 4 deletions docs/develop/dapps/asset-processing/jettons.md
Original file line number Diff line number Diff line change
Expand Up @@ -82,8 +82,7 @@ Centralized Proccessing
<Button href="/develop/dapps/asset-processing/jettons#accepting-jettons-from-user-deposit-addresses"
colorType="secondary" sizeType={'sm'}>
````
On-Chain Processing

On-Chain Processing
````mdx-code-block
</Button>
````
Expand All @@ -107,13 +106,13 @@ We have also provided specific details discussing our third-party open-source TO
Standardized tokens on TON are implemented using a set of smart contracts, including:
* [Jetton master](https://github.com/ton-blockchain/token-contract/blob/main/ft/jetton-minter.fc) smart contract
* [Jetton wallet](https://github.com/ton-blockchain/token-contract/blob/main/ft/jetton-wallet.fc) smart contracts

````mdx-code-block
<p align="center">
<br />
<img width="420" src="/img/docs/asset-processing/jetton_contracts.svg" alt="contracts scheme" />
<br />
</p>

````
## Jetton master smart contract
The jetton master smart contract stores general information about the jetton (

Expand Down
2 changes: 2 additions & 0 deletions docs/develop/dapps/telegram-apps/README.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,9 @@ import Button from '@site/src/components/button'
<div style={{width: '100%', textAlign:'center', margin: '10pt auto'}}>
<video style={{width: '100%',maxWidth: '600px', borderRadius: '10pt'}} muted={true} autoPlay={true} loop={true}>
<source src="/files/twa.mp4" type="video/mp4" />
````
Your browser does not support the video tag.
````mdx-code-block
</video>
</div>
````
Expand Down
6 changes: 2 additions & 4 deletions docs/develop/dapps/ton-connect/overview.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -19,17 +19,15 @@ React Apps
<Button href="/develop/dapps/ton-connect/web"
colorType="secondary" sizeType={'sm'}>
````
HTML/JS Apps

HTML/JS Apps
````mdx-code-block
</Button>
````
````mdx-code-block
<Button href="/develop/dapps/ton-connect/tg-bot-integration"
colorType="secondary" sizeType={'sm'}>
````
Telegram Bots

Telegram Bots
````mdx-code-block
</Button>
````
Expand Down
4 changes: 1 addition & 3 deletions docs/develop/fift/overview.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -20,16 +20,14 @@ Usually, using the Fift is not required for programming smart contracts in TON.
colorType="primary" sizeType={'sm'}>
````
Introduction To Fift

````mdx-code-block
</Button>
````
````mdx-code-block
<Button href="https://www.youtube.com/watch?v=HVsveTmVowc&list=PLtUBO1QNEKwttRsAs9eacL2oCMOhWaOZs"
colorType="secondary" sizeType={'sm'}>
````
His majesty Fift

His majesty Fift
````mdx-code-block
</Button>
````
Expand Down
12 changes: 9 additions & 3 deletions docs/develop/get-started-with-ton.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,9 @@ As the first miners on TON, you will go through the Proof-of-Work smart contract
<div style={{width: '100%', maxWidth:'250pt', textAlign: 'center', margin: '0 auto' }}>
<video width={'300'} style={{width: '100%', maxWidth:'250pt', borderRadius: '10pt', margin: '15pt auto' }} muted={true} autoPlay={true} loop={true}>
<source src="/files/onboarding-nft.mp4" type="video/mp4" />
Your browser does not support the video tag.
````
Your browser does not support the video tag.
````mdx-code-block
</video>
</div>
````
Expand Down Expand Up @@ -61,7 +63,9 @@ Now, let’s focus on the first steps to becoming a **TVM Developer** and learn
<video style={{ width: '100%', borderRadius: '10pt', margin: '15pt auto', maxWidth: '90%' }} muted={true} autoPlay={true}
loop={true}>
<source src="/files/onboarding.mp4" type="video/mp4" />
Your browser does not support the video tag.
````
Your browser does not support the video tag.
````mdx-code-block
</video>
</div>
````
Expand Down Expand Up @@ -702,7 +706,9 @@ After some time, you will have __mined your NFT__ and become a TVM Developer in
<div style={{ width: '100%', textAlign: 'center', margin: '0 auto' }}>
<video width={'300'} style={{ width: '100%', borderRadius: '10pt', margin: '15pt auto' }} muted={true} autoPlay={true} loop={true}>
<source src="/files/onboarding-nft.mp4" type="video/mp4" />
Your browser does not support the video tag.
````
Your browser does not support the video tag.
````mdx-code-block
</video>
</div>
````
Expand Down
6 changes: 2 additions & 4 deletions docs/develop/overview.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -17,8 +17,7 @@ This is a collaborative open-source initiative, and contributions are always wel
<Button href="https://ton-community.github.io/tutorials/01-wallet/"
colorType="primary" sizeType={'sm'}>
````
TON Hello World

TON Hello World
````mdx-code-block
</Button>
````
Expand Down Expand Up @@ -81,8 +80,7 @@ Smart contracts are the building blocks of decentralized applications (DApps) on
<Button href="/develop/smart-contracts/"
colorType="primary" sizeType={'sm'}>
````
Getting Started

Getting Started
````mdx-code-block
</Button>
````
Expand Down
6 changes: 2 additions & 4 deletions docs/develop/smart-contracts/README.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -18,8 +18,7 @@ npm create ton@latest
````mdx-code-block
<Button href="/develop/smart-contracts/sdk/javascript" colorType="primary" sizeType={'sm'}>
````
Read more

Read more
````mdx-code-block
</Button>
````
Expand Down Expand Up @@ -142,8 +141,7 @@ Tact Official Site
<Button href="https://tact-by-example.org/"
colorType="secondary" sizeType={'sm'}>
````
Tact Hello World

Tact Hello World
````mdx-code-block
</Button>
````
Expand Down
1 change: 0 additions & 1 deletion docs/develop/smart-contracts/environment/installation.md
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,6 @@ All binaries for development and testing are provided with the Blueprint SDK.
colorType="primary" sizeType={'sm'}>
````
Migrate to Blueprint SDK

````mdx-code-block
</Button>
````
Expand Down
1 change: 0 additions & 1 deletion docs/participate/nodes/node-types.md
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,6 @@ It retains the _current state_ of the blockchain and can house either the entire
colorType="primary" sizeType={'sm'}>
````
Running a Full Node

````mdx-code-block
</Button>
````
Expand Down
4 changes: 2 additions & 2 deletions docs/participate/run-nodes/full-node.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -122,11 +122,11 @@ The TON Foundation recommends the following providers for running a Validator:
[//]: # (<ReactPlayer controls={true} style={{borderRadius:'10pt', margin:'15pt auto', maxWidth: '100%'}} url='/docs/files/setup_validator.mp4' />)

Please, check this video step-by-step tutorial to start promptly:

````mdx-code-block
<video style={{borderRadius:'10pt', margin:'auto', width: '100%', maxWidth: '100%'}} controls={true}>
<source src="/files/setup_validator.mp4" type="video/mp4" />
</video>

````
## Step-by-step instructions

### Prerequisites
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,9 @@ import Button from '@site/src/components/button'
<div style={{width: '100%', textAlign:'center', margin: '0 auto'}}>
<video width="300" style={{width: '100%', borderRadius:'10pt', margin:'15pt auto'}} muted={true} autoPlay={true} loop={true}>
<source src="/docs/files/nft-sm.mp4" type="video/mp4" />
您的浏览器不支持视频标签。
````
您的浏览器不支持视频标签。
````mdx-code-block
</video>
</div>
````
Expand All @@ -50,12 +52,11 @@ TON基金会将于11月为提交给[@toncontests_bot](https://t.me/toncontests_b
<Button href="/contribute/hacktoberfest/as-contributor"
colorType="primary" sizeType={'lg'}>
````
我想成为一名贡献者

我想成为一名贡献者
````mdx-code-block
</Button>
````
````mdx-code-block
````mdx-code-block
<Button href="/contribute/hacktoberfest/as-maintainer" colorType={'secondary'} sizeType={'lg'}>
````
我是维护者
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -114,8 +114,7 @@ Coinvent是一个致力于创建成功项目的专业外包开发团队。他们
<Button href="https://github.com/ton-community/ton-docs/tree/main/docs/develop/companies/outsource.mdx"
colorType="secondary" sizeType={'sm'}>
````
通过PR请求

通过PR请求
````mdx-code-block
</Button>
````
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,6 @@ import Button from '@site/src/components/button'
colorType="secondary" sizeType={'sm'}>
````
选择SDK

````mdx-code-block
</Button>
````
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -159,7 +159,6 @@ ton://transfer/<destination-address>?
colorType="primary" sizeType={'lg'}>
````
了解更多

````mdx-code-block
</Button>
````
Expand All @@ -183,7 +182,6 @@ colorType="primary" sizeType={'lg'}>
colorType="primary" sizeType={'lg'}>
````
了解更多

````mdx-code-block
</Button>
````
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -44,8 +44,7 @@ import Button from '@site/src/components/button';
<Button href="/develop/dapps/asset-processing/jettons#accepting-jettons-from-user-deposit-addresses"
colorType="secondary" sizeType={'sm'}>
````
链上处理

链上处理
````mdx-code-block
</Button>
````
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,9 @@ import Button from '@site/src/components/button'
<div style={{width: '100%', textAlign:'center', margin: '10pt auto'}}>
<video style={{width: '100%',maxWidth: '600px', borderRadius: '10pt'}} muted={true} autoPlay={true} loop={true}>
<source src="/files/twa.mp4" type="video/mp4" />
您的浏览器不支持视频标签。
````
您的浏览器不支持视频标签。
````mdx-code-block
</video>
</div>
````
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -19,17 +19,15 @@ React Apps
<Button href="/develop/dapps/ton-connect/web"
colorType="secondary" sizeType={'sm'}>
````
HTML/JS Apps

HTML/JS Apps
````mdx-code-block
</Button>
````
````mdx-code-block
<Button href="/develop/dapps/ton-connect/tg-bot-integration"
colorType="secondary" sizeType={'sm'}>
````
Telegram 机器人

Telegram 机器人
````mdx-code-block
</Button>
````
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -20,16 +20,14 @@ hello world ok
colorType="primary" sizeType={'sm'}>
````
Fift 介绍

````mdx-code-block
</Button>
````
````mdx-code-block
<Button href="https://www.youtube.com/watch?v=HVsveTmVowc&list=PLtUBO1QNEKwttRsAs9eacL2oCMOhWaOZs"
colorType="secondary" sizeType={'sm'}>
````
His majesty Fift

His majesty Fift
````mdx-code-block
</Button>
````
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,9 @@ import Player from '@site/src/components/player';
<div style={{width: '100%', maxWidth:'250pt', textAlign: 'center', margin: '0 auto' }}>
<video width={'300'} style={{width: '100%', maxWidth:'250pt', borderRadius: '10pt', margin: '15pt auto' }} muted={true} autoPlay={true} loop={true}>
<source src="/files/onboarding-nft.mp4" type="video/mp4" />
您的浏览器不支持 video 标签。
````
您的浏览器不支持 video 标签。
````mdx-code-block
</video>
</div>
````
Expand Down Expand Up @@ -61,7 +63,9 @@ import Player from '@site/src/components/player';
<video style={{ width: '100%', borderRadius: '10pt', margin: '15pt auto', maxWidth: '90%' }} muted={true} autoPlay={true}
loop={true}>
<source src="/files/onboarding.mp4" type="video/mp4" />
您的浏览器不支持 video 标签。
````
您的浏览器不支持 video 标签。
````mdx-code-block
</video>
</div>
````
Expand Down Expand Up @@ -700,7 +704,9 @@ const endpoint = await getHttpEndpoint();
<div style={{ width: '100%', textAlign: 'center', margin: '0 auto' }}>
<video width={'300'} style={{ width: '100%', borderRadius: '10pt', margin: '15pt auto' }} muted={true} autoPlay={true} loop={true}>
<source src="/files/onboarding-nft.mp4" type="video/mp4" />
您的浏览器不支持视频标签。
````
您的浏览器不支持视频标签。
````mdx-code-block
</video>
</div>
````
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -17,8 +17,7 @@ import Player from '@site/src/components/player'
<Button href="https://ton-community.github.io/tutorials/01-wallet/"
colorType="primary" sizeType={'sm'}>
````
TON Hello World

TON Hello World
````mdx-code-block
</Button>
````
Expand Down Expand Up @@ -81,8 +80,7 @@ import Player from '@site/src/components/player'
<Button href="/develop/smart-contracts/"
colorType="primary" sizeType={'sm'}>
````
开始

开始
````mdx-code-block
</Button>
````
Expand Down
Loading

0 comments on commit f47a7b6

Please sign in to comment.