Skip to content

Commit 08028e0

Browse files
authored
Merge pull request #317 from darwinia-network/text-bug-fix
Text bug fix
2 parents 8be00e1 + 62dccd2 commit 08028e0

5 files changed

Lines changed: 12 additions & 11 deletions

File tree

public/index.html

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -27,9 +27,9 @@
2727
gtag('js', new Date());
2828
gtag('config', 'UA-159909608-1');
2929
</script>
30-
<title>Darwinia - Universal Cross-Chain Message Network</title>
30+
<title>Darwinia - Universal Cross-Chain Messaging Network</title>
3131
<meta name="keywords" content="Darwinia Smart Contract Cross-chain Message Blockchain Substrate Polkadot" />
32-
<meta name="description" content="Darwinia Network Provides A Light Client-Based, Programmable, Universal Cross-Chain Message Network For DApp Developers.">
32+
<meta name="description" content="Darwinia Network Provides A Light Client-Based, Programmable, Universal Cross-Chain Messaging Network For DApp Developers.">
3333

3434
</head>
3535
<body>

src/assets/styles/index.scss

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -181,7 +181,7 @@ html {
181181
}
182182

183183
.hero-image-2 {
184-
@apply lg:w-[47.083%] lg:pl-[4rem] w-full shrink-0;
184+
@apply lg:w-[47%] lg:pl-[4rem] w-full shrink-0;
185185
}
186186
}
187187
/*.aos-animate {

src/components/Hero/index.tsx

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -33,11 +33,12 @@ const Hero = ({ data, page }: Props) => {
3333
{socialNetworkLinks}
3434
</div>
3535
{/* this item is here just to expand the DOM's height, BUT only on PCs, its height is
36-
zero on mobile phones */}
36+
zero on mobile phones. This fake image is only useful on the homepage, it is here to occupy
37+
the 3D model space beforehand. It is completely hidden in other pages */}
3738
<div className={`opacity-0 order-1 flex-1 ml-[1.75rem] lg:order-2 ${fakeImageClass}`}>
3839
<div className={`pb-0 lg:pb-[100%]`} />
3940
</div>
40-
<div className={`order-1 flex-1 lg:order-2 ${imageClass}`}>{image}</div>
41+
<div className={`order-1 flex-1 lg:flex-none lg:order-2 ${imageClass}`}>{image}</div>
4142
</div>
4243
</div>
4344
</div>

src/components/HomeTypewriter/index.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -60,7 +60,7 @@ const getEnglishTypewriter = (typewriterElement: HTMLElement): Typewriter => {
6060
typewriter
6161
.typeString(
6262
{
63-
text: "Cross-Chain Message network",
63+
text: "Cross-Chain Messaging network",
6464
},
6565
100
6666
)

src/locale/translations/enUS.ts

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -3,23 +3,23 @@ const enUs = {
33
[localeKeys.welcomeToReact]: "Welcome To React 👏",
44
[localeKeys.messagesCounter]: `Hello {{user}}, <strong>you've</strong> got {{counter}} messages.`,
55
[localeKeys.canaryNetwork]: `Canary Network of {Darwinia}`,
6-
[localeKeys.darwiniaIntroData]: `Darwinia Network provides a light client-based, programmable, universal cross-chain message Network for Dapp developers.`,
6+
[localeKeys.darwiniaIntroData]: `Darwinia Network provides a light client-based, programmable, universal cross-chain messaging Network for Dapp developers.`,
77
[localeKeys.buildOnCrab]: `Build on Crab`,
88
[localeKeys.goToDarwinia]: `Go to Darwinia >`,
99
[localeKeys.apps]: `apps`,
1010
[localeKeys.startBuilding]: `Start Building`,
11-
[localeKeys.crossChainMessaging]: `Universal Cross-Chain Message Network`,
11+
[localeKeys.crossChainMessaging]: `Universal Cross-Chain Messaging Network`,
1212
[localeKeys.devWithDarwinia]: `Develop with Darwinia >`,
1313
[localeKeys.learnMore]: `Learn More >`,
1414
[localeKeys.whatIsDarwinia]: `What is <span class="text-primary">Darwinia</span>`,
1515
[localeKeys.programmable]: `Programmable`,
16-
[localeKeys.crossChain]: `Cross-Chain Message Network`,
16+
[localeKeys.crossChain]: `Cross-Chain Messaging Network`,
1717
[localeKeys.ultraLight]: `Ultra Light Client`,
1818
[localeKeys.programmableText]: `Darwinia smart contract platform is a programmable container for diversified cross-chain assets.`,
1919
[localeKeys.crossChainText]: `Darwinia provides user-friendly and reliable universal cross-chain services for Dapp developers.`,
2020
[localeKeys.ultraLightText]: `Darwinia can provide ultra-light client-based redundant security verification services for various asset bridges.`,
2121
[localeKeys.lightClientTitle]: `how the <span class="text-primary">Light-Client Based Cross-Chain Messaging Protocol</span>(LCMP) Works`,
22-
[localeKeys.lightClientSubTitle]: `Cross-Chain Message Workflow`,
22+
[localeKeys.lightClientSubTitle]: `Cross-Chain Messaging Workflow`,
2323
[localeKeys.lightClientText]: `A Dapp on the Application Layer calls <span style="text-transform: none;">sendMessage</span> on the Message Layer to initiate a cross-chain operation. After <span style="text-transform: none;">sendMessage</span> is executed, the Relayer forwards the message to the Target Chain, where the Truth Layer verifies the message, and executes the tasks carried within. Once complete, the Relayer forwards a confirmation message back to the source chain.`,
2424
[localeKeys.darwiniaPromoTitle]: `Build on <span class="text-primary">Darwinia</span>`,
2525
[localeKeys.darwiniaPromoSubTitle]: `Darwinia Universal Cross-Chain Message SDK`,
@@ -75,7 +75,7 @@ const enUs = {
7575
[localeKeys.web3Foundation]: `Web3 Foundation`,
7676
[localeKeys.web3Bootcamp]: `Web3 Bootcamp`,
7777
[localeKeys.polkadot]: `Polkadot`,
78-
[localeKeys.darwiniaNetworkCopyright]: `@ {{year}} Darwinia Network`,
78+
[localeKeys.darwiniaNetworkCopyright]: `&copy; {{year}} Darwinia Network`,
7979
[localeKeys.sendMessage]: `send message`,
8080
[localeKeys.crossChainFilter]: `cross-chain filter`,
8181
[localeKeys.callback]: `callback`,

0 commit comments

Comments
 (0)