-
Notifications
You must be signed in to change notification settings - Fork 20
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* adding state of wallet report and support figures * Remove spaces from image filenames in state wallet reports Ran a script to replace all spaces in image filenames with underscores to prevent issues when referencing image paths. * Add Ambire wallet logo * Fix image links and formatting in "State of Wallets 2024" document - Corrected image captions and paths for better clarity and consistency. - Updated figure references to ensure proper display in the document. - Improved overall formatting for enhanced readability. * Fix image path reference * Remove package-lock.json as the project uses yarn for build. * Update State of Wallets 2024 post - Add import statements for Figure and LogoGrid components - Restructure headings and improve formatting - Implement Figure component for images with captions - Add LogoGrid component to display wallet logos - Update custom styles for better heading hierarchy - Fix react-loadable dependency in yarn.lock * Rename file to lowercase to avoid case sensitivity issues between local and build environments. * Add light/dark background to logo grid for better PNG visibility - Implemented background colors to ensure PNG logos with white main body are displayed correctly in light mode. * Fix some misplaced headings * Fix figure caption text color for light and dark modes Adjusted figure caption text color using INFIMA variable in global CSS to ensure it matches the main text color in both light and dark modes. * Merge final edits from Reid * Conduct a final formatting of the code * fix: update EIP-712 section layout for improved readability - Refactored the EIP-712 section to use a responsive grid layout for figures. - Changed the structure from individual Figure components to a row/column format for better alignment and presentation. --------- Co-authored-by: tho <[email protected]>
- Loading branch information
Showing
37 changed files
with
917 additions
and
23,644 deletions.
There are no files selected for viewing
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,46 @@ | ||
import React from 'react'; | ||
|
||
interface FigureProps { | ||
src: string; | ||
number: number; | ||
caption: string; | ||
captionUrl?: string; | ||
} | ||
|
||
const Figure: React.FC<FigureProps> = ({ src, number, caption, captionUrl }) => { | ||
const fullCaption = `Figure ${number}. ${caption}`; | ||
|
||
return ( | ||
<figure style={{ textAlign: 'center', margin: '20px 0', maxWidth: '100%' }}> | ||
<div style={{ maxWidth: '1000px', margin: '0 auto', overflow: 'hidden' }}> | ||
<img | ||
src={src} | ||
alt={fullCaption} | ||
style={{ maxWidth: '100%', height: 'auto', maxHeight: '500px', objectFit: 'contain' }} | ||
/> | ||
</div> | ||
<figcaption | ||
className="figure-caption" | ||
style={{ | ||
marginTop: '2px', // Further reduced from 5px to 2px | ||
fontStyle: 'italic', | ||
maxWidth: '600px', | ||
margin: '2px auto 0', // Adjusted top margin here as well | ||
lineHeight: 1.2, // Reduced line height for tighter text | ||
fontSize: '0.9em', // Slightly smaller font size | ||
}} | ||
> | ||
Figure {number}.{' '} | ||
{captionUrl ? ( | ||
<a href={captionUrl} target="_blank" rel="noopener noreferrer"> | ||
{caption} | ||
</a> | ||
) : ( | ||
caption | ||
)} | ||
</figcaption> | ||
</figure> | ||
); | ||
}; | ||
|
||
export default Figure; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
import React from 'react'; | ||
import styles from './styles.module.scss'; | ||
|
||
const LogoGrid = ({ children }) => { | ||
return <div className={styles.logoGrid}>{children}</div>; | ||
}; | ||
|
||
export default LogoGrid; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,61 @@ | ||
.logoGrid { | ||
display: grid; | ||
grid-template-columns: repeat(4, 1fr); | ||
gap: 20px; | ||
align-items: center; | ||
justify-items: center; | ||
background-color: #2c2c2c; // Slightly lighter than the logo containers | ||
padding: 20px; | ||
border-radius: 12px; // Optional: adds rounded corners to the entire grid | ||
} | ||
|
||
.logoGrid img { | ||
max-width: 100%; | ||
height: auto; | ||
} | ||
|
||
.LogoGrid { | ||
display: grid; | ||
grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); | ||
gap: 30px; | ||
justify-items: center; | ||
align-items: start; | ||
padding: 20px; | ||
} | ||
|
||
.logo-item { | ||
width: 100%; | ||
max-width: 150px; | ||
|
||
figure { | ||
margin: 0; | ||
display: flex; | ||
flex-direction: column; | ||
align-items: center; | ||
} | ||
} | ||
|
||
.logo-image-container { | ||
width: 100px; | ||
height: 100px; | ||
display: flex; | ||
justify-content: center; | ||
align-items: center; | ||
margin-bottom: 10px; | ||
background-color: #1e1e1e; // Dark background color | ||
border-radius: 8px; // Optional: adds rounded corners | ||
} | ||
|
||
.logo-image { | ||
max-width: 100%; | ||
max-height: 100%; | ||
object-fit: contain; | ||
} | ||
|
||
figcaption { | ||
font-size: 14px; | ||
margin: 0; | ||
line-height: 1.2; | ||
text-align: center; | ||
color: #ffffff; // White text for better visibility on dark background | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added
BIN
+387 KB
static/img/state_of_wallets_figures/figure_10_maestro_multiplexed_blocks.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added
BIN
+261 KB
...ic/img/state_of_wallets_figures/figure_12_eof_from_seven_most_eof_providers.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added
BIN
+53.3 KB
static/img/state_of_wallets_figures/figure_13_erc-4337_workflow_stream.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added
BIN
+446 KB
static/img/state_of_wallets_figures/figure_14_weekly_active_smart_accounts.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added
BIN
+405 KB
static/img/state_of_wallets_figures/figure_15_weekly_bundler_revenue.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added
BIN
+106 KB
static/img/state_of_wallets_figures/figure_16_weekly_paymaster_gas_spend.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added
BIN
+184 KB
static/img/state_of_wallets_figures/figure_17_based_preconfs_for_rollups.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added
BIN
+507 KB
...c/img/state_of_wallets_figures/figure_18_mobile_authentication_via_passkeys.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added
BIN
+131 KB
static/img/state_of_wallets_figures/figure_19_current_message_signature.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added
BIN
+1010 KB
...img/state_of_wallets_figures/figure_1_overview_of_ethereum_wallet_ecosystem.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added
BIN
+91.3 KB
static/img/state_of_wallets_figures/figure_20_message_signature_with_eip-712.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added
BIN
+308 KB
...e_of_wallets_figures/figure_21_uniswap_interest_in_transaction_flow_control.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added
BIN
+85.6 KB
static/img/state_of_wallets_figures/figure_3._frontend_trading_volume.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added
BIN
+87.5 KB
static/img/state_of_wallets_figures/figure_4._frontend_transaction_count.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added
BIN
+914 KB
static/img/state_of_wallets_figures/figure_6._30-day_builder_market_share.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added
BIN
+280 KB
static/img/state_of_wallets_figures/figure_7_banana_gun_eof_blocks.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added
BIN
+108 KB
static/img/state_of_wallets_figures/figure_8_banana_gun_multiplexed_blocks.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Oops, something went wrong.
Oops, something went wrong.
64 changes: 64 additions & 0 deletions
64
static/img/state_of_wallets_figures/rainbow_wallet_logo.svg
Oops, something went wrong.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -1679,7 +1679,7 @@ | |
dependencies: | ||
prop-types "^15.6.2" | ||
|
||
"@docusaurus/[email protected]", "react-loadable@npm:@docusaurus/[email protected]": | ||
"@docusaurus/[email protected]": | ||
version "5.5.2" | ||
resolved "https://registry.npmjs.org/@docusaurus/react-loadable/-/react-loadable-5.5.2.tgz" | ||
integrity sha512-A3dYjdBGuy0IGT+wyLIGIKLRE+sAk1iNk0f1HjNDysO7u8lhL4N3VEm+FAubmJbAztn94F7MxBTPmnixbiyFdQ== | ||
|
@@ -9150,6 +9150,14 @@ react-loadable@^5.5.0: | |
dependencies: | ||
prop-types "^15.5.0" | ||
|
||
"react-loadable@npm:@docusaurus/[email protected]": | ||
version "5.5.2" | ||
resolved "https://registry.npmjs.org/@docusaurus/react-loadable/-/react-loadable-5.5.2.tgz" | ||
integrity sha512-A3dYjdBGuy0IGT+wyLIGIKLRE+sAk1iNk0f1HjNDysO7u8lhL4N3VEm+FAubmJbAztn94F7MxBTPmnixbiyFdQ== | ||
dependencies: | ||
"@types/react" "*" | ||
prop-types "^15.6.2" | ||
|
||
react-router-config@^5.1.1: | ||
version "5.1.1" | ||
resolved "https://registry.npmjs.org/react-router-config/-/react-router-config-5.1.1.tgz" | ||
|