Skip to content

Commit 6c289d2

Browse files
authored
Merge pull request #15 from renlabs-dev/dev
fix: minor visual bug
2 parents 3f69d09 + 16f3997 commit 6c289d2

File tree

5 files changed

+23
-17
lines changed

5 files changed

+23
-17
lines changed

src/components/ClickableImage.astro

Lines changed: 8 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -23,8 +23,8 @@ const MODAL_WIDTH = 2000; // 40% bigger than thumbnail (1080 * 1.4)
2323
/>
2424
</div>
2525

26-
<div class="image-modal fixed inset-0 bg-black bg-opacity-95 items-center justify-center p-8 modal-hidden" style="z-index: 99999999;">
27-
<div class="relative w-full h-full flex items-center justify-center">
26+
<div class="image-modal fixed inset-0 bg-black bg-opacity-95 items-center justify-center modal-hidden" style="z-index: 99999999;">
27+
<div class="relative w-full h-full flex items-center justify-center" style="min-height: 100vh;">
2828
<div class="flex flex-col items-center justify-center">
2929
<img
3030
src={src.src}
@@ -152,6 +152,12 @@ const MODAL_WIDTH = 2000; // 40% bigger than thumbnail (1080 * 1.4)
152152
.image-modal {
153153
backdrop-filter: blur(8px);
154154
-webkit-backdrop-filter: blur(8px);
155+
top: 0 !important;
156+
left: 0 !important;
157+
right: 0 !important;
158+
bottom: 0 !important;
159+
margin: 0 !important;
160+
padding: 0 !important;
155161
}
156162

157163
.modal-hidden {

src/content/docs/how-to-guides/become-a-root-agent.mdx

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ Becoming a Root Agent allows you to receive emissions directly from the root and
2424
- You don’t need to be a Root Agent to actively participate in the Torus Network.
2525
- Registered agents can create permissions, capabilities, signals, and more.
2626
The main difference is that only Root Agents can receive emissions directly from the root.
27-
- If you're looking to participate, start by following the [Register an Agent guide](../how-to-guides/register-an-agent).
27+
- If you're looking to participate, start by following the [Register an Agent guide](https://docs.torus.network/how-to-guides/register-an-agent/).
2828
</Aside>
2929

3030
#### What we will accomplish
@@ -40,11 +40,11 @@ Becoming a Root Agent allows you to receive emissions directly from the root and
4040
<CardGrid>
4141
<Card title="Torus Wallet" icon="seti:license">
4242
Make sure you have a Torus wallet set up and ready to use.
43-
You can find a [guide on how to set up a wallet here](../how-to-guides/setup-a-wallet).
43+
You can find a [guide on how to set up a wallet here](https://docs.torus.network/how-to-guides/setup-a-wallet/).
4444
</Card>
4545
<Card title="Torus Balance" icon="seti:shell">
4646
Check your balance on the [Torus Wallet](https://wallet.torus.network) and ensure you have enough Free Balance to cover the registration fees.
47-
You can find a [guide on how to bridge Torus here](../how-to-guides/bridge-to-base).
47+
You can find a [guide on how to bridge Torus here](https://docs.torus.network/how-to-guides/bridge-to-base/).
4848
</Card>
4949
<Card title="Discord Account" icon="discord">
5050
Have a valid Discord account and join the official [Torus Discord
@@ -99,7 +99,7 @@ Becoming a Root Agent allows you to receive emissions directly from the root and
9999

100100

101101
## Support and Resources
102-
If you want to understand more about the core differences between a Registered agent and a Whitelisted agent, you can relate to the [Concepts & Terminology](../getting-started/concepts) section.
102+
If you want to understand more about the core differences between a Registered agent and a Whitelisted agent, you can relate to the [Concepts & Terminology](https://docs.torus.network/getting-started/concepts/) section.
103103
You can also get help directly from the community via:
104104

105105
- [Torus Community Discord](https://discord.gg/torus)

src/content/docs/how-to-guides/bridge-to-base.mdx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -48,13 +48,13 @@ For the sake of simplicity, we are going to refer to the **Native Torus** as **T
4848
<CardGrid>
4949
<Card title="Torus Wallet" icon="seti:license">
5050
A Torus wallet connected.
51-
If you don't have one, you can follow the [setup guide here](../how-to-guides/setup-a-wallet).
51+
If you don't have one, you can follow the [setup guide here](https://docs.torus.network/how-to-guides/setup-a-wallet/).
5252
</Card>
5353

5454
<Card title="Base Torus Wallet" icon="seti:config">
5555
For this guide, we will be using [Metamask](https://metamask.io/) as our wallet of choice.
5656
You must have enough funds to cover the bridge fees.
57-
If you don't have Base Torus or funds to cover the fees, you can follow the steps in this video tutorial by Omni Labs.
57+
{/* If you don't have Base Torus or funds to cover the fees, you can follow the steps in this video tutorial by Omni Labs. */}
5858
</Card>
5959
</CardGrid>
6060

src/content/docs/how-to-guides/register-an-agent.mdx

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ Registered agents can actively participate in the network by creating permission
2828

2929
- Registering an agent does not prevent you from also becoming a Root Agent — both processes are independent and can be completed in parallel.
3030

31-
- You can follow the [guide to become a Root Agent here](../how-to-guides/become-a-root-agent).
31+
- You can follow the [guide to become a Root Agent here](https://docs.torus.network/how-to-guides/become-a-root-agent/).
3232
</Aside>
3333

3434

@@ -45,11 +45,11 @@ Registered agents can actively participate in the network by creating permission
4545
<CardGrid>
4646
<Card title="Torus Wallet" icon="seti:license">
4747
Make sure you have a Torus wallet set up and ready to use.
48-
You can find a [guide on how to set up a wallet here](../how-to-guides/setup-a-wallet).
48+
You can find a [guide on how to set up a wallet here](https://docs.torus.network/how-to-guides/setup-a-wallet/).
4949
</Card>
5050
<Card title="Torus Balance" icon="seti:shell">
5151
Check your balance on the [Torus Wallet](https://wallet.torus.network) and ensure you have enough Free Balance to cover the registration fees.
52-
You can find a [guide on how to bridge Torus here](../how-to-guides/bridge-to-base).
52+
You can find a [guide on how to bridge Torus here](https://docs.torus.network/how-to-guides/bridge-to-base/).
5353
</Card>
5454
</CardGrid>
5555

@@ -104,7 +104,7 @@ Registered agents can actively participate in the network by creating permission
104104

105105

106106
## Support and Resources
107-
If you want to understand more about what is a Registered Agent, you can relate to the [Concepts & Terminology](../getting-started/concepts) section.
107+
If you want to understand more about what is a Registered Agent, you can relate to the [Concepts & Terminology](https://docs.torus.network/getting-started/concepts/) section.
108108
You can also get help directly from the community via:
109109

110110
- [Torus Community Discord](https://discord.gg/torus)

src/content/docs/how-to-guides/stake-your-torus.mdx

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -41,11 +41,11 @@ By allocating to an Agent, you directly support their operations.
4141
<CardGrid>
4242
<Card title="Torus Wallet" icon="seti:license">
4343
Make sure you have a Torus wallet set up and ready to use.
44-
You can find a [guide on how to set up a wallet here](../how-to-guides/setup-a-wallet).
44+
You can find a [guide on how to set up a wallet here](https://docs.torus.network/how-to-guides/setup-a-wallet/).
4545
</Card>
4646
<Card title="Torus Balance" icon="seti:shell">
4747
Check your balance on the [Torus Wallet](https://wallet.torus.network) and ensure you have enough Free Balance to cover the registration fees.
48-
You can find a [guide on how to bridge Torus here](../how-to-guides/bridge-to-base).
48+
You can find a [guide on how to bridge Torus here](https://docs.torus.network/how-to-guides/bridge-to-base/).
4949
</Card>
5050
</CardGrid>
5151

@@ -140,8 +140,8 @@ By allocating to an Agent, you directly support their operations.
140140
It will open a modal with the confirmation to sign the transaction.
141141
<ClickableImage src={allocatorConfirmAndSignTransaction} alt="SubWallet sign transaction" />
142142

143-
5. **All done!**
144-
You should see ** All Allocations saved!** in the bottom bar.
143+
5. **All done!**
144+
You should see **All Allocations saved!** in the bottom bar.
145145
That means that your allocation was successful.
146146
<Aside>
147147
You can update your stake at any time through the **Allocation Menu** — just adjust the sliders and sign the new transaction.
@@ -154,7 +154,7 @@ By allocating to an Agent, you directly support their operations.
154154

155155

156156
## Support and Resources
157-
If you want to understand more about Weight Power and how it works, you can relate to the [Concepts & Terminology](../getting-started/concepts) section.
157+
If you want to understand more about Weight Power and how it works, you can relate to the [Concepts & Terminology](https://docs.torus.network/getting-started/concepts) section.
158158
You can also get help directly from the community via:
159159
- [Torus Community Discord](https://discord.gg/torus)
160160
- [Torus Telegram Group](https://t.me/torusnetwork)

0 commit comments

Comments
 (0)