Skip to content

Commit

Permalink
remove more unused code from home
Browse files Browse the repository at this point in the history
  • Loading branch information
DerZade committed Oct 6, 2023
1 parent 0b575c7 commit 5e7f64a
Showing 1 changed file with 1 addition and 45 deletions.
46 changes: 1 addition & 45 deletions frontend/src/views/Home.vue
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@
</Content>
</template>
<script lang="ts">
import { Component, Vue, Watch } from 'vue-property-decorator';
import { Component, Vue } from 'vue-property-decorator';
import footerItems from '@/assets/footerItems';
import EventsVue from '@/components/Home/Events.vue';
Expand All @@ -46,17 +46,6 @@ import EventsVue from '@/components/Home/Events.vue';
})
export default class HomeVue extends Vue {
private footerItems = footerItems;
/**
* @description Check if user is logged in
* @author DerZade
* @returns {boolean} User logged in?
*/
private get isLoggedIn (): boolean {
// eslint-disable-next-line @typescript-eslint/ban-ts-comment
// @ts-ignore
return this.$root.isLoggedIn() || false;
}
}
</script>

Expand Down Expand Up @@ -97,39 +86,6 @@ export default class HomeVue extends Vue {
}
}
.grad-blog-wrapper {
width: 100%;
display: flex;
flex-direction: column;
align-items: center;
}
.grad-blog-wrapper + .grad-loader {
margin-top: 2rem;
}
.grad-blog__load-more,
.grad-blog__end {
margin-top: 3rem;
font-size: 1.1em;
font-weight: bold;
opacity: 0.7;
text-align: center;
}
.grad-blog__load-more {
cursor: pointer;
color: #D18D1F;
&:hover {
opacity: 1;
}
}
.grad-blog__end {
color: $text-color-primary;
}
.grad-blog__social-media {
display: inline-grid;
margin-left: 2rem;
Expand Down

0 comments on commit 5e7f64a

Please sign in to comment.