123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141 |
- <template>
- <footer class="footer">
- <div class="container">
- <div class="footer-content has-text-centered">
- <div id="footer-copyright">
- <p>© Copyright Musare 2015 - 2021</p>
- </div>
- <a id="footer-logo" href="/"
- ><img src="/assets/blue_wordmark.png" alt="Musare"
- /></a>
- <div id="footer-links">
- <a :href="github" target="_blank" title="GitHub Repository"
- >GitHub</a
- >
- <router-link title="About Musare" to="/about"
- >About</router-link
- >
- <router-link title="Musare Team" to="/team"
- >Team</router-link
- >
- <router-link title="News" to="/news">News</router-link>
- </div>
- </div>
- </div>
- </footer>
- </template>
- <script>
- export default {
- data() {
- return {
- github: ""
- };
- },
- async mounted() {
- this.github = await lofig.get("siteSettings.github");
- }
- };
- </script>
- <style lang="scss" scoped>
- .night-mode {
- footer.footer,
- footer.footer .container,
- footer.footer .container .footer-content {
- background-color: var(--dark-grey-3);
- }
- }
- .footer {
- position: relative;
- bottom: 0;
- flex-shrink: 0;
- height: auto;
- padding: 20px;
- border-radius: 33% 33% 0% 0% / 7% 7% 0% 0%;
- box-shadow: 0 4px 8px 0 rgba(3, 169, 244, 0.4),
- 0 6px 20px 0 rgba(3, 169, 244, 0.2);
- background-color: var(--white);
- width: 100%;
- height: 160px;
- font-size: 16px;
- .footer-content {
- display: flex;
- align-items: center;
- flex-direction: column;
- & > * {
- margin: 5px 0;
- }
- a:not(.button) {
- border: 0;
- }
- }
- @media (max-width: 650px) {
- border-radius: 0;
- }
- #footer-logo {
- display: block;
- margin-left: auto;
- margin-right: auto;
- width: 160px;
- order: 1;
- user-select: none;
- }
- #footer-links {
- order: 2;
- :not(:last-child) {
- border-right: solid 1px var(--primary-color);
- }
- a {
- padding: 0 7px 0 4px;
- color: var(--primary-color);
- &:first-of-type {
- padding: 0 7px 0 0;
- }
- &:last-of-type {
- padding: 0 0 0 7px;
- }
- &:hover {
- color: var(--primary-color);
- text-decoration: underline;
- }
- }
- }
- #footer-copyright {
- order: 3;
- }
- }
- @media only screen and (min-width: 990px) {
- .footer {
- height: 100px;
- #footer-copyright {
- left: 0;
- top: 0;
- position: absolute;
- line-height: 50px;
- }
- #footer-links {
- right: 0;
- top: 0;
- position: absolute;
- line-height: 50px;
- }
- }
- }
- </style>
|