Skip to content

Commit

Permalink
Footer added
Browse files Browse the repository at this point in the history
  • Loading branch information
Allen K Abraham committed May 16, 2020
1 parent 6ba6ead commit 5fe5716
Show file tree
Hide file tree
Showing 3 changed files with 90 additions and 5 deletions.
79 changes: 79 additions & 0 deletions components/Footer.vue
Original file line number Diff line number Diff line change
@@ -0,0 +1,79 @@
<template>
<footer class="page-footer #37474f blue-grey darken-3">
<div class="container">
<div class="row ">
<div class="col l6 s12">
<h5 class="white-text">
Navigation
</h5>
<ul>
<li>
<nuxt-link to="/" class="grey-text text-lighten-3">
Home
</nuxt-link>
</li>
<li>
<nuxt-link to="/newsletter" class="grey-text text-lighten-3">
Newsletter
</nuxt-link>
</li>
<li>
<nuxt-link to="/gallery" class="grey-text text-lighten-3">
Gallery
</nuxt-link>
</li>
<li>
<nuxt-link to="/blog" class="grey-text text-lighten-3">
Blog
</nuxt-link>
</li>
</ul>
</div>
<div class="col l4 offset-l2 s12">
<h5 class="white-text">
Links
</h5>
<ul>
<li>
<a href="http://nssce.ac.in" class="grey-text text-lighten-3">
NSSCE
</a>
</li>
<li>
<a href="https://www.youtube.com/channel/UCeqyrVwWzEWvBjT-u3epw3w" class="grey-text text-lighten-3">
YouTube
</a>
</li>
<li>
<a href="https://github.com/stacsnssce/official-website" class="grey-text text-lighten-3">
Website Source
</a>
</li>
</ul>
</div>
</div>
</div>
<div class="footer-copyright #263238 blue-grey darken-4">
<div class="container center">
STACS NSSCE © 2020
</div>
</div>
</footer>
</template>

<style lang="scss" scoped>
li {
font-size: 18px;
}
.footer-copyright {
font-size: 16px;
font-weight: 600;
}
h5 {
font-size: 28px;
font-weight: 600;
text-decoration: underline;
}
</style>
7 changes: 7 additions & 0 deletions components/Header.vue
Original file line number Diff line number Diff line change
Expand Up @@ -101,6 +101,13 @@ export default {
}
</script>

<style lang="scss" scoped>
a {
font-size: 18px;
font-weight: 600;
}
</style>

<style lang="scss">
.sidenav-overlay {
z-index: 0 !important;
Expand Down
9 changes: 4 additions & 5 deletions layouts/default.vue
Original file line number Diff line number Diff line change
Expand Up @@ -2,19 +2,18 @@
<div>
<Header />
<nuxt />
<Footer />
</div>
</template>

<script>
import Header from '~/components/Header'
import Footer from '~/components/Footer'
export default {
components: {
Header
Header,
Footer
}
}
</script>

<style>
</style>

0 comments on commit 5fe5716

Please sign in to comment.