Skip to content

Commit

Permalink
refactor: remove footer
Browse files Browse the repository at this point in the history
  • Loading branch information
tymmesyde committed Mar 18, 2023
1 parent afda51b commit 623dafc
Show file tree
Hide file tree
Showing 4 changed files with 1 addition and 57 deletions.
6 changes: 1 addition & 5 deletions src/App.vue
Original file line number Diff line number Diff line change
Expand Up @@ -18,16 +18,13 @@
</router-view>
</div>
</div>

<Footer></Footer>
</template>

<script>
import { useMeta } from 'vue-meta';
import Header from '@/components/Header.vue';
import Error from '@/components/Error.vue';
import Footer from '@/components/Footer.vue';
import { APP_TITLE } from '@/common/config';
import store from './store';
Expand All @@ -39,7 +36,6 @@ export default {
components: {
Header,
Error,
Footer
},
computed: {
client: () => store.state.client,
Expand Down Expand Up @@ -114,7 +110,7 @@ $padding: 25px;
.view-container {
overflow-y: auto;
top: $header-height;
height: calc(100vh - #{$header-height} - #{$footer-height});
height: calc(100vh - #{$header-height});
.inner {
width: $inner-width;
Expand Down
6 changes: 0 additions & 6 deletions src/assets/styles/main.scss
Original file line number Diff line number Diff line change
Expand Up @@ -126,10 +126,4 @@ ul {
.fade-enter-from,
.fade-leave-to {
opacity: 0;
}

@media only screen and (max-width: 768px) {
footer {
display: none;
}
}
1 change: 0 additions & 1 deletion src/assets/styles/variables.scss
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,5 @@ $success-color: #64c72b;
$inner-width: 580px;
$header-height: 75px;
$header-height-mobile: 60px;
$footer-height: 90px;
$chat-width: 330px;
$player-controls-height: 5rem;
45 changes: 0 additions & 45 deletions src/components/Footer.vue

This file was deleted.

0 comments on commit 623dafc

Please sign in to comment.