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

Remove lfgm #1426

Merged
merged 1 commit into from
Dec 12, 2024
Merged
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
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
Loading