Skip to content

Add complaint link and redesign footer #1012

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 7 commits into from
Aug 14, 2025
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 7 additions & 5 deletions src/App.vue
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
<v-container v-else class="full-height-content">
<router-view></router-view>
</v-container>
<Foot :class="{'tall-footer': customLayout}"></Foot>
<Foot :class="['padding-footer', { 'tall-footer': customLayout }]"></Foot>
<Interval
v-if="this.$store.getters.isLoggedIn && !this.$store.getters.currentUser.verified"
:callback="checkVerified"
Expand Down Expand Up @@ -45,10 +45,12 @@ export default {
/* https://brizzo.net/tips/hide-recaptcha-v3-badge/ */
.grecaptcha-badge { opacity:0;}

.full-height-content {
height: 100%
}

.full-height-content {
height: 100%
}
.padding-footer.footer {
margin-top: 56px;
}
.tall-footer.footer {
height: 100%;
}
Expand Down
99 changes: 68 additions & 31 deletions src/components/Layout/Foot.vue
Original file line number Diff line number Diff line change
@@ -1,44 +1,81 @@
<template>
<footer data-test-id="footer" class="footer">
<v-footer color="primary lighten-1">
<v-container>
<ul class="footer-list">
<li><a target="_blank" rel="noopener noreferrer" href="https://wikiba.se/about-us/">About</a></li>
<li><router-link to="/discovery">Discovery</router-link></li>
<li><a target="_blank" rel="noopener noreferrer" href="https://www.mediawiki.org/wiki/Wikibase/Wikibase.cloud">Documentation</a></li>
<li><a target="_blank" rel="noopener noreferrer" href="https://status.wikibase.cloud">Platform Status</a></li>
<li><a target="_blank" rel="noopener noreferrer" href="https://github.com/wbstack">Github</a></li>
<li><router-link to="/privacy-policy">Privacy Policy</router-link></li>
<li><router-link to="/terms-of-use">Terms of Use</router-link></li>
<li><a target="_blank" rel="noopener noreferrer" href="https://www.wikimedia.de/impressum/">Imprint</a></li>
<li><router-link to="/contact">Contact</router-link></li>
</ul>
</v-container>
<v-footer data-test-id="footer" class="footer">
<v-row class="row-margin" no-gutters>
<v-col class="col-margin" ref="col1" cols="auto">
<nav aria-label="Wikibase Cloud links">
<h3 class="footer-list-title">Wikibase Cloud</h3>
<ul class="footer-list">
<li><a target="_blank" rel="noopener noreferrer" href="https://wikiba.se/about-us/">About</a></li>
<li><router-link to="/discovery">Discovery</router-link></li>
<li><a target="_blank" rel="noopener noreferrer" href="https://www.mediawiki.org/wiki/Wikibase/Wikibase.cloud">Documentation</a></li>
<li><a target="_blank" rel="noopener noreferrer" href="https://status.wikibase.cloud">Platform Status</a></li>
<li><a target="_blank" rel="noopener noreferrer" href="https://github.com/wbstack">GitHub</a></li>
<li><router-link to="/contact">Contact us</router-link></li>
</ul>
</nav>
</v-col>
<v-col ref="col2" cols="auto">
<nav aria-label="Legal links">
<h3 class="footer-list-title">Legal</h3>
<ul class="footer-list">
<li><router-link to="/privacy-policy">Privacy Policy</router-link></li>
<li><router-link to="/terms-of-use">Terms of Use</router-link></li>
<li><a target="_blank" rel="noopener noreferrer" href="https://www.wikimedia.de/impressum/">Imprint</a></li>
<li><router-link to="/complaint">Report illegal content</router-link></li>
</ul>
</nav>
</v-col>
</v-row>
</v-footer>

</footer>
</template>

<script>
export default {
name: 'Foot'
name: 'Footer'
}
</script>

<style scoped>
ul.footer-list {
list-style: none;
padding-left: 0 !important;
}

ul.footer-list a,
.white-footer-links a{
color: white !important;
}
.footer {
height: auto;
.footer-list {
list-style: none;
padding-left: 0;
}
.footer-list-title {
font-weight: bold;
color: white;
margin-bottom: 8px;
}
.footer-list li {
margin-bottom: 5px;
}
.footer-list a, .footer-list :deep(a) {
color: white !important;
text-decoration: none;
transition: text-decoration 0.2s, color 0.2s;
}
.footer-list a:hover, .footer-list :deep(a:hover) {
text-decoration: underline;
color: white !important;
}
.v-footer {
background-color: #0063BF !important;
padding: 0;
}
.row-margin {
margin: 48px !important;
display: flex;
}
.col-margin {
margin-right: 80px !important;
}
@media (max-width: 480px) {
.row-margin {
margin: 24px !important;
flex-direction: column !important;
}
.v-footer, .container {
height: 100%;
.col-margin {
margin-right: 0 !important;
margin-bottom: 40px !important;
}
}
</style>
Loading