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

Add galactica network reticulum. Change main color scheme. Change titles and logos.Add Dockerfile #560

Closed
Closed
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
5 changes: 5 additions & 0 deletions .dockerignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
node_modules
.github
.idea
dist
./Dockerfile
30 changes: 30 additions & 0 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@
# docker image for yarn and vite:
FROM node:20.5.1-alpine as build

WORKDIR /app

# Install yarn
RUN apk add yarn

# copy the package.json and yarn.lock file
COPY package.json yarn.lock ./

# install the dependencies
RUN yarn

# copy the source code
COPY . .

# build the app
RUN yarn build

FROM nginx:1.21.1-alpine

# copy the dist folder from build to nginx
COPY --from=build /app/dist /usr/share/nginx/html

# expose port 80
EXPOSE 80

# start nginx server
CMD ["nginx", "-g", "daemon off;"]
31 changes: 0 additions & 31 deletions chains/mainnet/cosmos.json

This file was deleted.

30 changes: 0 additions & 30 deletions chains/mainnet/neutron.json

This file was deleted.

27 changes: 0 additions & 27 deletions chains/mainnet/nolus.json

This file was deleted.

32 changes: 0 additions & 32 deletions chains/mainnet/osmosis.json

This file was deleted.

33 changes: 33 additions & 0 deletions chains/testnet/galactica-reticulum.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,33 @@
{
"chain_name": "galactica-reticulum",
"registry_name": "galactica-reticulum",
"api": [
{"provider": "galactica", "address": "https://lcd-reticulum.galactica.com"}
],
"rpc": [
{"provider": "galactica", "address": "https://rpc-reticulum.galactica.com"}
],
"sdk_version": "v0.47.3",
"coin_type": "118",
"min_tx_fee": "10",
"addr_prefix": "gala",
"logo": "/logos/galactica.png",
"cosmwasm_enabled": false,
"assets": [{
"base": "agnet",
"symbol": "GNET",
"exponent": "18",
"coingecko_id": "galactica-network",
"logo": "/logos/galactica.png"
}],
"theme_color": "#f28056",
"keplr_features": [
"eth-address-gen",
"eth-key-sign"
],
"keplr_price_step": {
"low": 10,
"average": 100,
"high": 1000
}
}
23 changes: 3 additions & 20 deletions index.html
Original file line number Diff line number Diff line change
Expand Up @@ -4,15 +4,15 @@
<meta charset="UTF-8">
<link rel="icon" href="/favicon.ico">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Ping Dashboard - Cosmos Blockchain Explorer And Web Wallet</title>
<meta name="description" content="Ping Dashboard is a block explorer/web wallet for blockchains built on Cosmos SDK, Cosmoshub, Osmosis, Juno, Evmos, Injective, Canto and 70+ blockchains listed on ping.pub" />
<title>Galactica Network Dashboard - Galactica Network Explorer</title>
<meta name="description" content="Galactica Network Dashboard is a block explorer for Galactica Network which build on Cosmos SDK" />
<link rel="stylesheet" type="text/css" href="/loader.css" />
</head>
<body>
<div id="app">
<div id="loading-bg">
<div class="loading-logo">
<img src="/logo.svg" alt="Logo" />
<img src="/Galactica.svg" alt="Logo" />
</div>
<div class="pre-loading">
<div class="effect-1 effects"></div>
Expand All @@ -22,23 +22,6 @@
</div>
</div>
<script type="module" src="/src/main.ts"></script>
<!-- Google tag (gtag.js) -->
<script async src="https://www.googletagmanager.com/gtag/js?id=G-SSBKVF3GMX"></script>
<script>
window.dataLayer = window.dataLayer || [];
function gtag(){dataLayer.push(arguments);}
gtag('js', new Date());
// Set default consent to 'denied' as a placeholder
// Determine actual values based on your own requirements
gtag('consent', 'default', {
'ad_storage': 'denied',
'ad_user_data': 'denied',
'ad_personalization': 'denied',
'analytics_storage': 'denied'
});
gtag('config', 'G-SSBKVF3GMX');
</script>
<script type="module" src="https://cdn.jsdelivr.net/npm/ping-widget@latest/dist/ping-widget.min.js"></script>

</body>
</html>
10 changes: 10 additions & 0 deletions public/Galactica.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified public/favicon.ico
Binary file not shown.
Binary file added public/logos/galactica.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
10 changes: 10 additions & 0 deletions src/assets/Galactica.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
4 changes: 2 additions & 2 deletions src/components/charts/apexChartConfig.ts
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ const themeColors = (theme: string) => {
surface: '#FFFFFF',
'surface-variant': '#424242',
'on-surface-variant': '#EEEEEE',
primary: chainStore.current?.themeColor || '#666CFF',
primary: chainStore.current?.themeColor || '#f28056',
'primary-darken-1': '#3700B3',
secondary: '#6D788D',
'secondary-darken-1': '#018786',
Expand Down Expand Up @@ -92,7 +92,7 @@ const themeColors = (theme: string) => {
surface: '#30334E',
'surface-variant': '#BDBDBD',
'on-surface-variant': '#424242',
primary: chainStore.current?.themeColor || '#666CFF',
primary: chainStore.current?.themeColor || '#f28056',
'primary-darken-1': '#3700B3',
secondary: '#6D788D',
'secondary-darken-1': '#03DAC5',
Expand Down
2 changes: 1 addition & 1 deletion src/components/dynamic/TextElement.vue
Original file line number Diff line number Diff line change
Expand Up @@ -112,7 +112,7 @@ const isConvertable = computed(() => {
margin-bottom: 1rem;
}
a {
color: #666cff !important;
color: #f28056 !important;
}
.h1 > a, .h2> a, .h3> a, .h4> a, .h5> a, .h6> a, h1> a, h2> a, h3> a, h4> a, h5> a, h6> a {
color: inherit !important;
Expand Down
Loading
Loading