Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Branch to be used as a base for the PontusX browser #1355

Draft
wants to merge 5 commits into
base: master
Choose a base branch
from
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions .changelog/1355.feature.md
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
Add Pontus-X branding and configuration
47 changes: 24 additions & 23 deletions .env
Original file line number Diff line number Diff line change
@@ -1,31 +1,32 @@
REACT_APP_BUILD_DATETIME=0
REACT_APP_BUILD_SHA=sha0000000000000000000000000000000000000
REACT_APP_BUILD_VERSION=
REACT_APP_PRIVACY_POLICY=https://oasisprotocol.org/privacy-policy
REACT_APP_ENABLE_OASIS_MATOMO_ANALYTICS=true
REACT_APP_PRIVACY_POLICY=/privacy
# REACT_APP_ENABLE_OASIS_MATOMO_ANALYTICS=true
# REACT_APP_API=http://localhost:8008/v1/
# REACT_APP_API=https://nexus.stg.oasis.io/v1/
# REACT_APP_TESTNET_API=https://testnet.nexus.stg.oasis.io/v1/
REACT_APP_API=https://nexus.oasis.io/v1/
REACT_APP_TESTNET_API=https://testnet.nexus.oasis.io/v1/
REACT_APP_META_TITLE="Oasis Explorer"
REACT_APP_META_IMAGE="Oasis Explorer - OpenGraph Banner.png"
REACT_APP_META_MANIFEST=app.webmanifest
REACT_APP_META_FAVICON=favicon.svg
REACT_APP_META_APPLE_ICON="Icon Blue 192.png"
REACT_APP_META_DESC="Official explorer for the Oasis Network."
REACT_APP_SOCIAL_TELEGRAM=https://t.me/oasisprotocolcommunity
REACT_APP_SOCIAL_TWITTER=https://twitter.com/oasisprotocol
REACT_APP_SOCIAL_DISCORD=https://oasis.io/discord
REACT_APP_SOCIAL_YOUTUBE=https://www.youtube.com/channel/UC35UFPcZ2F1wjPxhPrSsESQ
REACT_APP_SOCIAL_REDDIT=https://www.reddit.com/r/oasisnetwork/
# REACT_APP_SOCIAL_LINKEDIN=https://www.linkedin.com/company/oasisprotocol
# REACT_APP_SOCIAL_DOCS=https://oasisprotocol.org/developers#overview
# REACT_APP_SOCIAL_HOME=https://oasisprotocol.org/
REACT_APP_PRODUCTION_URLS="https://explorer.oasis.io, https://explorer.prd.oasis.io"
REACT_APP_STAGING_URLS=https://explorer.stg.oasis.io
REACT_APP_SHOW_BUILD_BANNERS=true
# REACT_APP_FIXED_NETWORK=testnet
# REACT_APP_FIXED_LAYER=sapphire
# REACT_APP_SKIP_GRAPH=true
REACT_APP_SHOW_FIAT_VALUES=true
REACT_APP_META_TITLE=Pontus-X Explorer
REACT_APP_META_IMAGE=pontusx/og-image.png
REACT_APP_META_MANIFEST=pontusx.webmanifest
REACT_APP_META_FAVICON=pontusx/favicon.ico
csillag marked this conversation as resolved.
Show resolved Hide resolved
REACT_APP_META_APPLE_ICON=pontusx/logo192.png
REACT_APP_META_DESC=Official explorer for the Pontus-X Network.
# REACT_APP_SOCIAL_TELEGRAM=https://t.me/oasisprotocolcommunity
# REACT_APP_SOCIAL_TWITTER=https://twitter.com/oasisprotocol
# REACT_APP_SOCIAL_DISCORD=https://oasis.io/discord
# REACT_APP_SOCIAL_YOUTUBE=https://www.youtube.com/channel/UC35UFPcZ2F1wjPxhPrSsESQ
# REACT_APP_SOCIAL_REDDIT=https://www.reddit.com/r/oasisnetwork/
REACT_APP_SOCIAL_LINKEDIN=https://www.linkedin.com/company/76729586
REACT_APP_SOCIAL_DOCS=https://docs.pontus-x.eu/
REACT_APP_SOCIAL_HOME=https://www.pontus-x.eu/
#REACT_APP_PRODUCTION_URLS=https://explorer.oasis.io, https://explorer.prd.oasis.io
#REACT_APP_STAGING_URLS=https://explorer.stg.oasis.io
REACT_APP_SHOW_BUILD_BANNERS=false
REACT_APP_FIXED_NETWORK=testnet
# REACT_APP_FIXED_LAYER=pontusx
REACT_APP_SKIP_GRAPH=true
REACT_APP_SHOW_FIAT_VALUES=false
REACT_APP_SHOW_PRIVACY_POLICY=true
52 changes: 29 additions & 23 deletions .env.production
Original file line number Diff line number Diff line change
@@ -1,26 +1,32 @@
REACT_APP_BUILD_DATETIME=
REACT_APP_BUILD_SHA=
REACT_APP_BUILD_VERSION=
REACT_APP_PRIVACY_POLICY=https://oasisprotocol.org/privacy-policy
REACT_APP_ENABLE_OASIS_MATOMO_ANALYTICS=true
REACT_APP_META_TITLE="Oasis Explorer"
REACT_APP_META_IMAGE="Oasis Explorer - OpenGraph Banner.png"
REACT_APP_META_MANIFEST=app.webmanifest
REACT_APP_META_FAVICON=favicon.svg
REACT_APP_META_APPLE_ICON="Icon Blue 192.png"
REACT_APP_META_DESC="Official explorer for the Oasis Network."
REACT_APP_SOCIAL_TELEGRAM=https://t.me/oasisprotocolcommunity
REACT_APP_SOCIAL_TWITTER=https://twitter.com/oasisprotocol
REACT_APP_SOCIAL_DISCORD=https://oasis.io/discord
REACT_APP_SOCIAL_YOUTUBE=https://www.youtube.com/channel/UC35UFPcZ2F1wjPxhPrSsESQ
REACT_APP_SOCIAL_REDDIT=https://www.reddit.com/r/oasisnetwork/
# REACT_APP_SOCIAL_LINKEDIN=https://www.linkedin.com/company/oasisprotocol
# REACT_APP_SOCIAL_DOCS=https://oasisprotocol.org/developers#overview
# REACT_APP_SOCIAL_HOME=https://oasisprotocol.org/
REACT_APP_PRODUCTION_URLS="https://explorer.oasis.io, https://explorer.prd.oasis.io"
REACT_APP_STAGING_URLS=https://explorer.stg.oasis.io
REACT_APP_SHOW_BUILD_BANNERS=true
# REACT_APP_FIXED_NETWORK=testnet
# REACT_APP_FIXED_LAYER=sapphire
# REACT_APP_SKIP_GRAPH=true
REACT_APP_SHOW_FIAT_VALUES=true
REACT_APP_PRIVACY_POLICY=/privacy
# REACT_APP_ENABLE_OASIS_MATOMO_ANALYTICS=true
# REACT_APP_API=http://localhost:8008/v1/
# REACT_APP_API=https://nexus.stg.oasis.io/v1/
# REACT_APP_TESTNET_API=https://testnet.nexus.stg.oasis.io/v1/
REACT_APP_API=https://nexus.oasis.io/v1/
REACT_APP_TESTNET_API=https://testnet.nexus.oasis.io/v1/
REACT_APP_META_TITLE=Pontus-X Explorer
REACT_APP_META_IMAGE=pontusx/og-image.png
REACT_APP_META_MANIFEST=pontusx.webmanifest
REACT_APP_META_FAVICON=pontusx/favicon.ico
REACT_APP_META_APPLE_ICON=pontusx/logo192.png
REACT_APP_META_DESC=Official explorer for the Pontus-X Network.
# REACT_APP_SOCIAL_TELEGRAM=https://t.me/oasisprotocolcommunity
# REACT_APP_SOCIAL_TWITTER=https://twitter.com/oasisprotocol
# REACT_APP_SOCIAL_DISCORD=https://oasis.io/discord
# REACT_APP_SOCIAL_YOUTUBE=https://www.youtube.com/channel/UC35UFPcZ2F1wjPxhPrSsESQ
# REACT_APP_SOCIAL_REDDIT=https://www.reddit.com/r/oasisnetwork/
REACT_APP_SOCIAL_LINKEDIN=https://www.linkedin.com/company/76729586
REACT_APP_SOCIAL_DOCS=https://docs.pontus-x.eu/
REACT_APP_SOCIAL_HOME=https://www.pontus-x.eu/
# REACT_APP_PRODUCTION_URLS=https://explorer.oasis.io, https://explorer.prd.oasis.io
# REACT_APP_STAGING_URLS=https://explorer.stg.oasis.io
REACT_APP_SHOW_BUILD_BANNERS=false
REACT_APP_FIXED_NETWORK=testnet
# REACT_APP_FIXED_LAYER=pontusx
REACT_APP_SKIP_GRAPH=true
REACT_APP_SHOW_FIAT_VALUES=false
REACT_APP_SHOW_PRIVACY_POLICY=true
2 changes: 2 additions & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -87,7 +87,9 @@
},
"devDependencies": {
"@emotion/jest": "11.13.0",
"@mdx-js/react": "^1.6.22",
"@parcel/packager-raw-url": "2.12.0",
"@parcel/transformer-mdx": "^2.12.0",
"@parcel/transformer-webmanifest": "2.12.0",
"@plasmohq/parcel-transformer-inject-env": "^0.2.11",
"@storybook/addon-actions": "8.2.4",
Expand Down
2 changes: 1 addition & 1 deletion public/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
<head>
<meta charset="utf-8" />
<base href="/" />
<link rel="icon" href="$REACT_APP_META_FAVICON" type="image/svg+xml" />
<link rel="icon" href="$REACT_APP_META_FAVICON" />
<meta name="viewport" content="width=device-width, initial-scale=1" />
<meta name="theme-color" content="#000000" />
<link rel="apple-touch-icon" href="$REACT_APP_META_APPLE_ICON" />
Expand Down
26 changes: 26 additions & 0 deletions public/pontusx.webmanifest
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
{
"$schema": "https://json.schemastore.org/web-manifest-combined.json",
"short_name": "Pontus-X Explorer",
"name": "Official explorer for the Pontus-X Network.",
"icons": [
{
"src": "./pontusx/favicon.ico",
"sizes": "64x64 32x32 24x24 16x16",
"type": "image/x-icon"
},
{
"src": "./pontusx/logo192.png",
"type": "image/png",
"sizes": "192x192"
},
{
"src": "./pontusx/logo512.png",
"type": "image/png",
"sizes": "512x512"
}
],
"start_url": ".",
"display": "standalone",
"theme_color": "#000000",
"background_color": "#ffffff"
}
Binary file added public/pontusx/apple-touch.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 public/pontusx/favicon-16x16.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 public/pontusx/favicon-32x32.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 public/pontusx/favicon.ico
Binary file not shown.
Binary file added public/pontusx/logo192.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 public/pontusx/logo512.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
1 change: 1 addition & 0 deletions public/pontusx/logo_blue.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading