From 52fdd14a041a8c6e168174570244df57b1093577 Mon Sep 17 00:00:00 2001 From: JaiBo <65864145+iafhurtado@users.noreply.github.com> Date: Sun, 18 Aug 2024 21:50:59 +0200 Subject: [PATCH 1/2] optimizing for smaller devices --- .../app/cdp/components/CDPInfo/index.tsx | 38 +++++++++++-------- packages/nextjs/app/components/hero.tsx | 2 +- 2 files changed, 24 insertions(+), 16 deletions(-) diff --git a/packages/nextjs/app/cdp/components/CDPInfo/index.tsx b/packages/nextjs/app/cdp/components/CDPInfo/index.tsx index fb89b9b..f649df5 100644 --- a/packages/nextjs/app/cdp/components/CDPInfo/index.tsx +++ b/packages/nextjs/app/cdp/components/CDPInfo/index.tsx @@ -4,14 +4,14 @@ import Image from "next/image"; const CDPInfo: React.FC = () => { return (
+
Our platform leverages a set of smart contracts to manage the deposit, minting, and withdrawal processes.
When you deposit assets into our smart contract, these assets are securely held and serve as collateral for
minting new stablecoins. The smart contracts ensure the safety and integrity of your assets by enforcing
@@ -19,16 +19,18 @@ const CDPInfo: React.FC = () => {
+
When you deposit assets into the smart contract, you are essentially locking up collateral. Based on the
value of this collateral, you can mint a corresponding amount of stablecoins. For example, if you deposit 1
ETH worth $2000, and the collateralization ratio is 150%, you can mint up to $1333 worth of stablecoins. The
system constantly monitors the value of the collateral to ensure it remains sufficient to back the minted
stablecoins.
+
Once you have minted your stablecoins, you can use them in various ways:
+
The flexibility of stablecoins allows you to manage your assets more effectively, providing liquidity and
stability in volatile markets.
- $XOC is one of the first proposals to revolutionize DeFi in Mexico. Integrating a stable Mexican peso currency into the web3 ecosystem.
+ $XOC is one of the first proposals to revolutionize DeFi in Mexico. Integrating a stable
+ Mexican peso currency into the web3 ecosystem.
- $XOC is Mexico’s best tool to build a decentralized financial system. Financial empowerment is the key to a better future for all Mexicans.
+ $XOC is Mexico’s best tool to build a decentralized financial system. Financial
+ empowerment is the key to a better future for all Mexicans.
How the Contracts Work
+ The Mechanism of Depositing and Minting
-
+ The Mechanism of Depositing and Minting
+
+
Using Your Stablecoins
- Using Your Stablecoins
+
+
-
+
Mexico’s MXN
From 7d056afdca7f5da949f6fcc30697cdf083544d46 Mon Sep 17 00:00:00 2001
From: DCota <32775237+DaigaroCota@users.noreply.github.com>
Date: Thu, 22 Aug 2024 19:11:39 -0700
Subject: [PATCH 2/2] chore: format and lint
---
packages/nextjs/app/components/Blog/SingleBlog.tsx | 2 +-
packages/nextjs/app/components/cta.js | 6 ++----
packages/nextjs/app/components/data.js | 2 +-
packages/nextjs/app/components/testimonials.js | 6 ++++--
packages/nextjs/data/yourBorrows.json | 2 +-
packages/nextjs/hooks/useMint.ts | 7 ++++++-
packages/nextjs/hooks/useRepay.ts | 2 +-
packages/nextjs/hooks/useWithdraw.ts | 2 +-
8 files changed, 17 insertions(+), 12 deletions(-)
diff --git a/packages/nextjs/app/components/Blog/SingleBlog.tsx b/packages/nextjs/app/components/Blog/SingleBlog.tsx
index 931ecaf..309795a 100644
--- a/packages/nextjs/app/components/Blog/SingleBlog.tsx
+++ b/packages/nextjs/app/components/Blog/SingleBlog.tsx
@@ -11,7 +11,7 @@ const SingleBlog = ({ blog }: { blog: Blog }) => {
Stablecoin: XOC