Skip to content

Commit

Permalink
Merge pull request #423 from skalenetwork/beta
Browse files Browse the repository at this point in the history
Portal 3.1 - Mainnet Release
  • Loading branch information
dmytrotkk authored Nov 7, 2024
2 parents 9fc31d1 + 47c8b80 commit abfc2ea
Show file tree
Hide file tree
Showing 74 changed files with 2,503 additions and 598 deletions.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,7 @@ src/data/metaportConfig*.ts
src/meta/
src/assets/validators/index.ts
src/metadata.json
src/metrics.json

src/metadata/chainsData.json
src/metadata/faucet.json
Expand Down
Binary file modified bun.lockb
Binary file not shown.
6 changes: 4 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,11 +1,12 @@
{
"name": "portal",
"private": true,
"version": "3.0.1",
"version": "3.1.0",
"type": "module",
"scripts": {
"build:testnet": "NETWORK_NAME=testnet bash build.sh",
"build:mainnet": "NETWORK_NAME=mainnet bash build.sh",
"build:qa": "NETWORK_NAME=legacy bash build.sh",
"build:portal": "tsc && vite build",
"build:packages": "bun run build:core",
"build:core": "cd packages/core && bun install && bun run build",
Expand All @@ -20,11 +21,12 @@
"@mdx-js/rollup": "^2.3.0",
"@mui/icons-material": "^5.15.14",
"@mui/material": "^5.15.14",
"@skalenetwork/metaport": "3.0.0-develop.5",
"@skalenetwork/metaport": "3.1.0-develop.0",
"@skalenetwork/skale-contracts-ethers-v6": "1.0.1",
"@transak/transak-sdk": "^3.1.1",
"@types/react-copy-to-clipboard": "^5.0.4",
"@vercel/analytics": "^1.0.2",
"embla-carousel-react": "^8.3.0",
"eslint-config-prettier": "^9.0.0",
"eslint-config-standard-with-typescript": "^39.1.0",
"prettier": "^3.0.3",
Expand Down
8 changes: 7 additions & 1 deletion packages/core/src/types/ChainsMetadata.ts
Original file line number Diff line number Diff line change
Expand Up @@ -42,10 +42,16 @@ export interface AppMetadata {
description?: string
contracts?: string[]
social?: AppSocials
tags?: string[]
added?: number
categories: CategoriesMap
pretge?: TimeRange
}

interface TimeRange {
from: number
to: number
}

export interface AppWithChainAndName extends AppMetadata {
chain: string
appName: string
Expand Down
3 changes: 3 additions & 0 deletions packages/core/src/types/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -135,6 +135,9 @@ export interface IAddressCounters {
token_transfers_count: string
transactions_count: string
validations_count: string
transactions_today: number
transactions_last_7_days: number
transactions_last_30_days: number
}

export interface IStats {
Expand Down
5 changes: 5 additions & 0 deletions sitemap_template.xml
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,11 @@
{BASE_URL}/chains
</loc>
</url>
<url>
<loc>
{BASE_URL}/ecosystem
</loc>
</url>
<url>
<loc>
{BASE_URL}/bridge/history
Expand Down
2 changes: 1 addition & 1 deletion skale-network
Submodule skale-network updated 331 files
60 changes: 58 additions & 2 deletions src/App.scss
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
@import './variables';
@import './styles/components';
@import './styles/chip';
@import './styles/ProfileModal';

:root {
background: black;
Expand All @@ -24,6 +25,10 @@ body {
width: 75pt;
}

.skMessage {
min-height: 58px;
}

.sk-header {
background-color: rgba(0, 0, 0, 0) !important;
-webkit-backdrop-filter: blur(80px) !important;
Expand Down Expand Up @@ -389,6 +394,38 @@ body::-webkit-scrollbar {

}

.sk-icon-btn-small {
width: 34px;
height: 34px;

svg {
width: 18px;
height: 18px;
}
}

.sk-icon-btn-medium {
width: 40px;
height: 40px;

svg {
width: 24px;
height: 24px;
}
}


.sk-icon-btn-large {
width: 46px;
height: 46px;

svg {
width: 32px;
height: 32px;
}
}


.btn {
text-transform: none !important;
font-size: 0.8025rem !important;
Expand Down Expand Up @@ -762,6 +799,15 @@ input[type=number] {
}
}

.chipMostLiked {
background: linear-gradient(180deg, #e8a25b, #e58e36) !important;


p {
color: black !important
}
}

.chipNewApp {
background: linear-gradient(180deg, #65a974, #508d5e) !important;

Expand Down Expand Up @@ -800,7 +846,7 @@ input[type=number] {

.chipXs {
border-radius: 15px;
padding: 4px 8px;
padding: 4px 6px;

svg {
width: 12px;
Expand Down Expand Up @@ -1138,6 +1184,11 @@ input[type=number] {
padding-bottom: 5px;
}

.m-ri-min10 {
margin-right: -10px;
}


.validatorIcon {
border-radius: 50%;
width: 70px;
Expand Down Expand Up @@ -1183,7 +1234,7 @@ input[type=number] {

.amountInput {
input {
padding: 3px 10px 0 5px !important
padding: 0 !important
}
}

Expand Down Expand Up @@ -1373,4 +1424,9 @@ input[type=number] {

.hidden {
display: none;
}

.MuiTooltip-tooltip {
font-size: 0.8rem !important;
padding: 8px 12px !important;
}
Loading

0 comments on commit abfc2ea

Please sign in to comment.