123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155 |
- <template>
- <footer class="footer">
- <div class="container">
- <div class="content has-text-centered">
- <p class="socialIcons">
- <a
- class="icon"
- :href="`${this.socialLinks.github}`"
- target="_blank"
- title="GitHub Repository"
- >
- <img src="/assets/social/github.svg" />
- </a>
- <a
- class="icon"
- :href="`${this.socialLinks.twitter}`"
- target="_blank"
- title="Twitter Account"
- >
- <img src="/assets/social/twitter.svg" />
- </a>
- <a
- class="icon"
- :href="`${this.socialLinks.facebook}`"
- target="_blank"
- title="Facebook Page"
- >
- <img src="/assets/social/facebook.svg" />
- </a>
- <a
- class="icon"
- :href="`${this.socialLinks.discord}`"
- target="_blank"
- title="Discord Server"
- >
- <img src="/assets/social/discord.svg" />
- </a>
- </p>
- <a href="https://musare.com" target="_blank"
- ><img
- class="musareFooterLogo"
- src="/assets/wordmark.png"
- alt="Musare"
- /></a>
- <p class="footerLinks">
- <router-link title="About Musare" to="/about">
- About
- </router-link>
- <router-link title="The Musare Team" to="/team">
- Team
- </router-link>
- <router-link title="News" to="/news">
- News
- </router-link>
- </p>
- <p>
- © Copyright Musare 2015 - 2019
- </p>
- </div>
- </div>
- </footer>
- </template>
- <script>
- export default {
- data() {
- return {
- socialLinks: {
- github: "",
- twitter: "",
- facebook: "",
- discord: ""
- }
- };
- },
- mounted: function() {
- lofig.get("siteSettings.socialLinks", res => {
- this.socialLinks = res;
- });
- }
- };
- </script>
- <style lang="scss" scoped>
- .content a:not(.button) {
- border: 0;
- }
- .content {
- display: flex;
- align-items: center;
- flex-direction: column;
- }
- .footer {
- position: absolute;
- right: 0;
- bottom: 0;
- left: 0;
- height: 240px;
- padding: 40px 20px 40px;
- border-radius: 33% 33% 0% 0% / 7% 7% 0% 0%;
- box-shadow: 0 4px 8px 0 rgba(3, 169, 244, 0.65),
- 0 6px 20px 0 rgba(3, 169, 244, 0.4);
- background-color: #ffffff;
- width: 100%;
- .musareFooterLogo {
- display: block;
- margin-left: auto;
- margin-right: auto;
- margin-bottom: 15px;
- width: 200px;
- }
- .socialIcons {
- .icon {
- height: 28px;
- line-height: 28px;
- width: 28px;
- }
- }
- .footerLinks {
- :not(:last-child) {
- border-right: solid 1px #03a9f4;
- }
- a {
- padding: 0 5px;
- font-size: 18px;
- color: #03a9f4;
- }
- a:hover {
- color: #03a9f4;
- text-decoration: underline;
- }
- }
- }
- @media only screen and (min-width: 992px) {
- .footer {
- height: 180px;
- .socialIcons {
- left: 0;
- top: 35px;
- position: absolute;
- }
- .footerLinks {
- right: 0;
- top: 35px;
- position: absolute;
- }
- }
- }
- </style>
|