Skip to content

Commit

Permalink
feat: remove footer to improve performance
Browse files Browse the repository at this point in the history
The footer only displays patreon information and this
is on the home page anyway.
The footer caused significant performance issues.

closes #671
  • Loading branch information
MattLish committed Jan 2, 2023
1 parent f4f333f commit 48d3861
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 180 deletions.
6 changes: 2 additions & 4 deletions src/renderer/components/AppPage.vue
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,6 @@
</div>
</div>
</div>
<TheFooter v-if="!preloadCheck" class="l-end-self" />
</main>

<MO2Modal />
Expand All @@ -25,7 +24,7 @@
<script lang="ts">
import { Options, Vue } from "vue-class-component";
import { Prop } from "vue-property-decorator";
import TheFooter from "@/renderer/components/TheFooter.vue";
import TheHeader from "@/renderer/components/TheHeader.vue";
import TheNavigation from "@/renderer/components/TheNavigation.vue";
import { modalOpenedEvent } from "@/renderer/services/modal.service";
Expand All @@ -43,7 +42,6 @@ import MO2Modal from "@/renderer/components/MO2RunningModal.vue";
@Options({
components: {
TheFooter,
TheHeader,
TheNavigation,
MO2Modal,
Expand Down Expand Up @@ -105,7 +103,7 @@ export default class AppPage extends Vue {
// Awkward height because the layout engine doesn't allow the page to grow naturally
// Needs replacing when there is a better layout engine
max-height: 408px;
max-height: 430px;
z-index: 0;
Expand Down
104 changes: 0 additions & 104 deletions src/renderer/components/BaseMarquee.vue

This file was deleted.

72 changes: 0 additions & 72 deletions src/renderer/components/TheFooter.vue

This file was deleted.

0 comments on commit 48d3861

Please sign in to comment.