Website sponsors section prettified

This commit is contained in:
Nikita Krupin committed 2021-12-15 02:04:11 -05:00
1 parent edb19da747
commit eeafd0c19a
2 files changed
+33 -7

No files matched your search

+1
View File
@@ -28,6 +28,7 @@
html, body { html, body {
height: 100%; height: 100%;
height: -webkit-fill-available; height: -webkit-fill-available;
background: #111;
overflow: auto; overflow: auto;
} }
+32 -7
View File
@@ -1,6 +1,8 @@
<template> <template>
<div> <div class="d-flex flex-column justify-between" style="height: calc(100vh - 10rem)">
<div class="col"></div>
<div class="col">
<svg id="thumbslogo" class="mb-4" width="150" height="150" viewBox="0 0 24 24" overflow="visible" > <svg id="thumbslogo" class="mb-4" width="150" height="150" viewBox="0 0 24 24" overflow="visible" >
<path d="M14.9 3H6c-.9 0-1.6.5-1.9 1.2l-3 7c-.1.3-.1.5-.1.7v2c0 1.1.9 2 2 2h6.3l-.9 4.5c-.1.5 0 1 .4 1.4l1.1 1.1 6.5-6.6c.4-.4.6-.9.6-1.4V5c-.1-1.1-1-2-2.1-2zm7.4 12.8h-2.9c-.4 0-.7-.3-.7-.7V3.9c0-.4.3-.7.7-.7h2.9c.4 0 .7.3.7.7V15c0 .4-.3.8-.7.8z"/> <path d="M14.9 3H6c-.9 0-1.6.5-1.9 1.2l-3 7c-.1.3-.1.5-.1.7v2c0 1.1.9 2 2 2h6.3l-.9 4.5c-.1.5 0 1 .4 1.4l1.1 1.1 6.5-6.6c.4-.4.6-.9.6-1.4V5c-.1-1.1-1-2-2.1-2zm7.4 12.8h-2.9c-.4 0-.7-.3-.7-.7V3.9c0-.4.3-.7.7-.7h2.9c.4 0 .7.3.7.7V15c0 .4-.3.8-.7.8z"/>
<path id="plarrow" d="m8 12.5 5.1-2.9L8 6.7v5.8z" fill="#fff" stroke="none"/> <path id="plarrow" d="m8 12.5 5.1-2.9L8 6.7v5.8z" fill="#fff" stroke="none"/>
@@ -27,19 +29,42 @@
<v-icon style="margin-right: 0.5em;">mdi-discord</v-icon> <v-icon style="margin-right: 0.5em;">mdi-discord</v-icon>
Discord Discord
</v-btn> </v-btn>
<div id="sponsors"> </div>
<h3>Sponsors:</h3>
<p v-for="sponsor in sponsors" style="margin: 0px 0px "> <v-spacer />
<a :href="sponsor.link">{{sponsor.name}}</a>
<div id="sponsors" class="d-flex flex-column items-center py-8">
<h3 class="mb-4">
<v-icon class="mb-2">mdi-heart</v-icon>
Sponsors
</h3>
<v-row class="justify-center mx-auto">
<p v-for="sponsor in sponsors" class="sponsor">
<a
:style="sponsor.link ? { cursor: 'pointer' } : { cursor: 'default' }"
:href="sponsor.link"
>
{{ sponsor.name }}
</a>
</p> </p>
</v-row>
</div> </div>
</div> </div>
</template> </template>
<style scoped> <style scoped>
#sponsors { .sponsor {
margin-top: 200px; margin: 1rem;
height: max-content;
} }
@media (max-width: 767px) {
.sponsor {
margin: .5rem;
height: max-content;
}
}
#thumbslogo { #thumbslogo {
opacity: 0; opacity: 0;
fill: transparent; fill: transparent;