Skip to content

Commit

Permalink
remove lfgm (#1426)
Browse files Browse the repository at this point in the history
  • Loading branch information
gtg7784 authored Dec 12, 2024
1 parent 6f69b15 commit a97cd19
Show file tree
Hide file tree
Showing 5 changed files with 10 additions and 303 deletions.
268 changes: 0 additions & 268 deletions src/assets/img/lfgm.svg

This file was deleted.

6 changes: 1 addition & 5 deletions src/components/header/mobile/MobileNav.vue
Original file line number Diff line number Diff line change
Expand Up @@ -55,9 +55,6 @@
$t('sidenavi.governance')
}}</a>
</nav>
<a class="lfgm-mobile" :href="lfgmUrl" target="_blank">
<img :src="require('src/assets/img/lfgm.svg')" alt="LFGM" />
</a>
<div class="gradient-bg">
<astar-domains />
<!-- <blog-posts /> -->
Expand Down Expand Up @@ -97,7 +94,7 @@ import { defineComponent, ref, computed } from 'vue';
import { useRouter } from 'vue-router';
import { useBreakpoints, useNetworkInfo, useGovernance } from 'src/hooks';
import { Path as RoutePath } from 'src/router/routes';
import { lfgmUrl, socialUrl } from 'src/links';
import { socialUrl } from 'src/links';
import { useStore } from 'src/store';
import { providerEndpoints } from 'src/config/chainEndpoints';
import AstarDomains from './AstarDomains.vue';
Expand Down Expand Up @@ -128,7 +125,6 @@ export default defineComponent({
RoutePath,
network,
isZkyoto,
lfgmUrl,
socialUrl,
isGovernanceEnabled,
governanceUrl,
Expand Down
6 changes: 1 addition & 5 deletions src/components/sidenav/SidebarDesktop.vue
Original file line number Diff line number Diff line change
Expand Up @@ -88,9 +88,6 @@
</div>
</a>
</div>
<a class="lfgm" :href="lfgmUrl" target="_blank">
<img :src="require('src/assets/img/lfgm.svg')" alt="LFGM" />
</a>
<div class="menu__indicator" :class="getIndicatorClass(path)" />
</nav>

Expand All @@ -110,7 +107,7 @@ import { useRouter } from 'vue-router';
import { Path as RoutePath } from 'src/router/routes';
import IconEcosystem from './components/IconEcosystem.vue';
import SidebarOptionDesktop from './SidebarOptionDesktop.vue';
import { socialUrl, lfgmUrl } from 'src/links';
import { socialUrl } from 'src/links';
export default defineComponent({
components: {
Expand Down Expand Up @@ -158,7 +155,6 @@ export default defineComponent({
RoutePath,
socialUrl,
isZkyoto,
lfgmUrl,
isGovernanceEnabled,
governanceUrl,
};
Expand Down
31 changes: 8 additions & 23 deletions src/components/sidenav/styles/sidebar-desktop.scss
Original file line number Diff line number Diff line change
Expand Up @@ -96,36 +96,35 @@
margin-left: 24px;
}

// adding -120px to the margin-top to adjust the position because of the lgfm logo
.menu__assets {
margin-top: calc(-276px - 120px);
margin-top: calc(-276px);

&.governance_activated {
margin-top: calc(-276px - 120px - 46px);
margin-top: calc(-276px - 46px);
}
}

.menu__dashboard {
margin-top: calc(-230px - 120px);
margin-top: calc(-230px);

&.governance_activated {
margin-top: calc(-230px - 120px - 46px);
margin-top: calc(-230px - 46px);
}
}

.menu__staking {
margin-top: calc(-184px - 120px);
margin-top: calc(-184px);

&.governance_activated {
margin-top: calc(-184px - 120px - 46px);
margin-top: calc(-184px - 46px);
}
}

.menu__bridge {
margin-top: calc(-138px - 120px);
margin-top: calc(-138px);

&.governance_activated {
margin-top: calc(-138px - 120px - 46px);
margin-top: calc(-138px - 46px);
}
}

Expand All @@ -151,17 +150,3 @@
background: transparent;
}
}

.lfgm {
display: flex;
align-items: center;
width: 224px;
height: 112px;
margin-bottom: 8px;
color: #fff;
position: relative;
transition: all 0.3s ease 0s;
}
.lfgm:hover {
background: $navy-3;
}
2 changes: 0 additions & 2 deletions src/links/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -53,8 +53,6 @@ export const polkadotJsUrl = {
},
};

export const lfgmUrl = 'https://lfgm.astar.network';

export const ccipExplorerUrl = 'https://ccip.chain.link';

export const getSubscanExtrinsic = ({
Expand Down

0 comments on commit a97cd19

Please sign in to comment.