This commit is contained in:
Liyas Thomas
2020-10-16 07:10:07 +05:30
parent edf58ee897
commit 02471e6d60
9 changed files with 16 additions and 35 deletions

View File

@@ -101,21 +101,6 @@
<img src="https://opencollective.com/hoppscotch/organization/1/avatar.svg" /> <img src="https://opencollective.com/hoppscotch/organization/1/avatar.svg" />
</a> </a>
</div> </div>
<div class="contributors">
<a
v-for="sponsor in githubSponsors"
:key="sponsor.handle"
:href="sponsor.profile"
target="_blank"
rel="noopener"
>
<img
class="github-sponsor"
:src="`${sponsor.profile}.png?size=128`"
:alt="sponsor.handle"
/>
</a>
</div>
<h3 class="title">Code Contributors</h3> <h3 class="title">Code Contributors</h3>
<p class="info">This project exists thanks to all the people who contribute.</p> <p class="info">This project exists thanks to all the people who contribute.</p>
<div class="contributors"> <div class="contributors">
@@ -144,18 +129,3 @@
@apply rounded-full; @apply rounded-full;
} }
</style> </style>
<script>
export default {
data() {
return {
githubSponsors: [],
}
},
async mounted() {
this.githubSponsors = await this.$axios
.$get("https://sponsors.trnck.dev/hoppscotch/sponsors")
.then((data) => data.sponsors)
},
}
</script>

View File

@@ -290,6 +290,7 @@ kbd {
.slide-in { .slide-in {
@apply relative; @apply relative;
animation: slideIn 0.2s forwards ease-in-out; animation: slideIn 0.2s forwards ease-in-out;
} }

View File

@@ -131,7 +131,7 @@
</a> </a>
</li> </li>
<li> <li>
<a href="#documentation" v-tooltip.right="'Documentation'"> <a href="#documentation" v-tooltip.right="$t('documentation')">
<i class="material-icons">insert_drive_file</i> <i class="material-icons">insert_drive_file</i>
</a> </a>
</li> </li>
@@ -221,6 +221,7 @@ nav.primary-nav {
@apply bg-acColor; @apply bg-acColor;
@apply text-actColor; @apply text-actColor;
@apply fill-current; @apply fill-current;
border-radius: 16px; border-radius: 16px;
svg { svg {
@@ -300,6 +301,7 @@ nav.secondary-nav {
@apply justify-between; @apply justify-between;
@apply bg-bgDarkColor; @apply bg-bgDarkColor;
@apply space-y-0; @apply space-y-0;
padding-bottom: env(safe-area-inset-bottom); padding-bottom: env(safe-area-inset-bottom);
a { a {

View File

@@ -20,6 +20,7 @@
@apply bg-bgDarkColor; @apply bg-bgDarkColor;
@apply text-fgColor; @apply text-fgColor;
@apply overflow-auto; @apply overflow-auto;
height: 256px; height: 256px;
&, &,

View File

@@ -50,6 +50,7 @@
@apply ease-in-out; @apply ease-in-out;
@apply duration-200; @apply duration-200;
@apply shadow-lg; @apply shadow-lg;
top: calc(100% - 8px); top: calc(100% - 8px);
border-radius: 0 0 8px 8px; border-radius: 0 0 8px 8px;

View File

@@ -32,6 +32,7 @@
@apply transition; @apply transition;
@apply ease-in-out; @apply ease-in-out;
@apply duration-200; @apply duration-200;
background-color: rgba(0, 0, 0, 0.32); background-color: rgba(0, 0, 0, 0.32);
} }
@@ -55,6 +56,7 @@
@apply bg-bgColor; @apply bg-bgColor;
@apply rounded-lg; @apply rounded-lg;
@apply shadow-2xl; @apply shadow-2xl;
max-height: calc(100vh - 128px); max-height: calc(100vh - 128px);
max-width: 720px; max-width: 720px;
} }
@@ -89,13 +91,14 @@
.fade { .fade {
@apply absolute; @apply absolute;
@apply block; @apply block;
left: 16px;
right: 20px;
height: 32px;
@apply transition; @apply transition;
@apply ease-in-out; @apply ease-in-out;
@apply duration-200; @apply duration-200;
left: 16px;
right: 20px;
height: 32px;
&.top { &.top {
top: 68px; top: 68px;
background: linear-gradient(to bottom, var(--bg-color), transparent); background: linear-gradient(to bottom, var(--bg-color), transparent);

View File

@@ -40,6 +40,7 @@ label.toggle {
@apply my-4; @apply my-4;
@apply mx-2; @apply mx-2;
@apply cursor-pointer; @apply cursor-pointer;
width: $width; width: $width;
height: $height; height: $height;
border: if($useBorder, 2px solid $borderColor, none); border: if($useBorder, 2px solid $borderColor, none);
@@ -53,6 +54,7 @@ label.toggle {
@apply inset-0; @apply inset-0;
@apply rounded-full; @apply rounded-full;
@apply pointer-events-none; @apply pointer-events-none;
transition: $transition; transition: $transition;
margin: $handleSpacing; margin: $handleSpacing;
background-color: $inactiveHandleColor; background-color: $inactiveHandleColor;

View File

@@ -11,6 +11,7 @@
.highlight-TEXT { .highlight-TEXT {
@apply overflow-auto; @apply overflow-auto;
@apply break-all; @apply break-all;
height: 22px; height: 22px;
} }

View File

@@ -68,7 +68,7 @@
</ul> </ul>
</pw-section> </pw-section>
<pw-section class="green" label="Documentation" ref="documentation"> <pw-section class="green" :label="$t('documentation')" ref="documentation">
<p v-if="this.items.length === 0" class="info"> <p v-if="this.items.length === 0" class="info">
{{ $t("generate_docs_first") }} {{ $t("generate_docs_first") }}
</p> </p>