Skip to content
Open
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
Binary file modified public/branding/android-chrome-192x192.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 modified public/branding/android-chrome-512x512.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 modified public/branding/apple-touch-icon.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 modified public/branding/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 modified public/branding/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 modified public/branding/favicon.ico
Binary file not shown.
21 changes: 21 additions & 0 deletions public/branding/stlos-active.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
11 changes: 11 additions & 0 deletions public/branding/telos-wallet-light.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 added public/branding/tlos.ico
Binary file not shown.
Binary file added public/branding/wrappedtlos.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 modified public/favicon.ico
Binary file not shown.
15 changes: 15 additions & 0 deletions public/favicon.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 public/nav/coins_selected.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 public/nav/dapps_selected.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 public/nav/earn_selected.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 public/nav/logout_selected.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 public/nav/nft_selected.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 public/nav/profile_selected.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 public/nav/resources_selected.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 public/nav/settings_selected.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 public/nav/wallet_selected.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
3 changes: 2 additions & 1 deletion quasar.conf.js
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,8 @@ module.exports = function(/* ctx */) {

// Full list of options: https://quasar.dev/quasar-cli/quasar-conf-js#Property%3A-build
build: {
vueRouterMode: 'history', // available values: 'hash', 'history'
vueRouterMode: 'hash', // 'hash' for GitHub Pages compatibility
publicPath: process.env.GH_PAGES ? '/telos-wallet-OG/' : '/',
env,
chainWebpack (chain) {
chain
Expand Down
57 changes: 41 additions & 16 deletions src/components/evm/AppNav.vue
Original file line number Diff line number Diff line change
Expand Up @@ -30,10 +30,11 @@ export default defineComponent({
},
prettyPrintApy() {
const apy = chainStore.currentEvmChain?.apy;
if (apy) {
if (apy && apy !== '') {
return apy + '%';
} else {
return '';
// Fallback APY if API doesn't return a value
return '~5%';
}
},
showMenuIcon() {
Expand All @@ -56,8 +57,8 @@ export default defineComponent({
return '0';
},
isProduction() {
// only enable demo route for staging & development
return window.location.origin.includes('telos.net');
// Hide demos in production - only show on localhost
return !window.location.origin.includes('localhost');
},
accountActionText() {
if (this.loggedAccount) {
Expand Down Expand Up @@ -93,9 +94,8 @@ export default defineComponent({
if (storedDarkMode !== null) {
this.$q.dark.set(storedDarkMode === 'true');
} else {
// Use system preferences if there is no preference saved
const prefersDark = window.matchMedia('(prefers-color-scheme: dark)').matches;
this.$q.dark.set(prefersDark);
// Default to dark mode
this.$q.dark.set(true);
}
},
methods: {
Expand Down Expand Up @@ -239,7 +239,7 @@ export default defineComponent({
<div class="flex justify-between">
<img
ref="logo-image"
src="branding/telos-wallet-light.png"
src="branding/telos-wallet-light.svg"
:alt="$t('home.wallet_logo_alt')"
tabindex="0"
role="link"
Expand All @@ -266,7 +266,10 @@ export default defineComponent({

<ul class="c-app-nav__menu-items">
<li
class="c-app-nav__menu-item"
:class="{
'c-app-nav__menu-item': true,
'c-app-nav__menu-item--active': $route.name === 'evm-wallet',
}"
role="menuitem"
:tabindex="menuItemTabIndex"
@click="goTo('evm-wallet')"
Expand All @@ -286,15 +289,18 @@ export default defineComponent({
</li>

<li
class="c-app-nav__menu-item"
:class="{
'c-app-nav__menu-item': true,
'c-app-nav__menu-item--active': $route.name === 'evm-staking',
}"
role="menuitem"
:tabindex="menuItemTabIndex"
@click="goTo('evm-staking')"
@keypress.space.enter="goTo('evm-staking')"
>

<img
src="/branding/stlos.png"
src="branding/stlos-active.svg"
:class="{
'c-app-nav__icon': true,
'c-app-nav__icon--acorn': true,
Expand All @@ -316,7 +322,10 @@ export default defineComponent({
</li>

<li
class="c-app-nav__menu-item"
:class="{
'c-app-nav__menu-item': true,
'c-app-nav__menu-item--active': $route.name === 'evm-nft-inventory',
}"
role="menuitem"
:tabindex="menuItemTabIndex"
@click="goTo('evm-nft-inventory')"
Expand All @@ -336,7 +345,10 @@ export default defineComponent({
</li>

<li
class="c-app-nav__menu-item"
:class="{
'c-app-nav__menu-item': true,
'c-app-nav__menu-item--active': $route.name === 'evm-wrap',
}"
role="menuitem"
:tabindex="menuItemTabIndex"
@click="goTo('evm-wrap')"
Expand All @@ -356,7 +368,10 @@ export default defineComponent({
</li>

<li
class="c-app-nav__menu-item"
:class="{
'c-app-nav__menu-item': true,
'c-app-nav__menu-item--active': $route.name === 'evm-allowances',
}"
role="menuitem"
:tabindex="menuItemTabIndex"
@click="goTo('evm-allowances')"
Expand Down Expand Up @@ -550,6 +565,11 @@ export default defineComponent({
margin-left: 48px;
margin-right: 48px;
cursor: pointer;

// Make logo white on gradient sidebar (light mode)
body.body--light & {
filter: brightness(0) invert(1);
}
}

&__menu-items {
Expand All @@ -562,6 +582,11 @@ export default defineComponent({

cursor: pointer;
display: flex;

// Active state - white text for visibility on gradient sidebar
&--active {
color: var(--sidebar-active-color);
}
align-items: center;
gap: 16px;
margin-bottom: 32px;
Expand Down Expand Up @@ -600,9 +625,9 @@ export default defineComponent({
}

&__icon {
// svg color overrides
// svg color overrides - use sidebar-active-color for visibility on gradient bg
&--current-route:not(#{$this}__icon--acorn) path {
fill: var(--link-color);
fill: var(--sidebar-active-color);
}

&--current-route#{$this}__icon--acorn {
Expand Down
29 changes: 13 additions & 16 deletions src/components/evm/AppPage.vue
Original file line number Diff line number Diff line change
Expand Up @@ -134,34 +134,31 @@ export default defineComponent({

&-background-top {
overflow: hidden;
// Brand gradient: Cyan -> Blue -> Purple (subtle opacity for dark mode)
background-image:
radial-gradient(circle at 0% 170%, var(--q-secondary), transparent 45%),
radial-gradient(circle at 100% 130%, var(--q-secondary), transparent 30%),
radial-gradient(circle at 100% 0%, var(--q-primary), transparent 30%),
radial-gradient(circle at 50% 20%, var(--q-accent), transparent 70%);
radial-gradient(circle at 100% 0%, rgba(#00F2FE, 0.15), transparent 40%),
radial-gradient(circle at 0% 100%, rgba(#4FACFE, 0.1), transparent 50%),
radial-gradient(circle at 50% 50%, rgba(#C471F5, 0.08), transparent 60%);

@media screen and (min-width: $breakpoint-sm-min) {
background-image:
radial-gradient(circle at 0% 170%, var(--q-secondary), transparent 45%),
radial-gradient(circle at 100% 130%, var(--q-secondary), transparent 30%),
radial-gradient(circle at 100% 0%, var(--q-primary), transparent 30%),
radial-gradient(circle at 50% 20%, var(--q-accent), transparent 70%)
radial-gradient(circle at 100% 0%, rgba(#00F2FE, 0.2), transparent 35%),
radial-gradient(circle at 0% 100%, rgba(#4FACFE, 0.12), transparent 45%),
radial-gradient(circle at 50% 50%, rgba(#C471F5, 0.08), transparent 55%);
}

@media screen and (min-width: $breakpoint-md-min) {
background-image:
radial-gradient(circle at 0% 170%, var(--q-secondary), transparent 45%),
radial-gradient(circle at 100% 130%, var(--q-secondary), transparent 30%),
radial-gradient(circle at 100% 0%, var(--q-primary), transparent 30%),
radial-gradient(circle at 50% 20%, var(--q-accent), transparent 70%)
radial-gradient(circle at 100% 0%, rgba(#00F2FE, 0.2), transparent 30%),
radial-gradient(circle at 0% 100%, rgba(#4FACFE, 0.15), transparent 40%),
radial-gradient(circle at 50% 50%, rgba(#C471F5, 0.1), transparent 50%);
}

@media screen and (min-width: $breakpoint-lg-min) {
background-image:
radial-gradient(circle at 0% 170%, var(--q-secondary), transparent 40%),
radial-gradient(circle at 100% 140%, var(--q-secondary), transparent 20%),
radial-gradient(circle at 100% 0%, var(--q-primary), transparent 20%),
radial-gradient(circle at 50% 20%, var(--q-accent), transparent 90%)
radial-gradient(circle at 100% 0%, rgba(#00F2FE, 0.25), transparent 25%),
radial-gradient(circle at 0% 100%, rgba(#4FACFE, 0.15), transparent 35%),
radial-gradient(circle at 50% 50%, rgba(#C471F5, 0.1), transparent 45%);
}
}

Expand Down
6 changes: 3 additions & 3 deletions src/components/native/NavBar.vue
Original file line number Diff line number Diff line change
Expand Up @@ -128,7 +128,7 @@ export default {
<template>
<div>
<nav class="leftNavBar">
<img src="/branding/telos-wallet-light.png" class="telosLogo" >
<img src="/branding/telos-wallet-light.svg" class="telosLogo" >
<ul>
<li>
<a @click="switchTab('coins')"> <img :src="srcWallet" >{{$t('navbar.wallet')}} </a>
Expand Down Expand Up @@ -222,7 +222,7 @@ a img {
.bottomNavBar {
position: fixed;
z-index: 1;
background: linear-gradient(to top, #3a246b, #00000042 100%);
background: linear-gradient(to top, #1B1B1D, #00000042 100%);
left: 0;
bottom: 0;
height: 65px;
Expand Down Expand Up @@ -255,7 +255,7 @@ a img {
.leftNavBar {
transform: translateX(0);
border-radius: unset;
background: linear-gradient(to bottom, #291a4c, #00000000 80%);
background: #1B1B1D; // Solid Telos Off-Black
top: 0;
height: 100vh;
width: 250px;
Expand Down
Loading