Skip to content

Commit

Permalink
fix: fix small bugs
Browse files Browse the repository at this point in the history
  • Loading branch information
gabaldon committed Jul 22, 2024
1 parent 71788ad commit 73f1d5c
Show file tree
Hide file tree
Showing 6 changed files with 31 additions and 21 deletions.
4 changes: 2 additions & 2 deletions assets/styles/fonts.scss
Original file line number Diff line number Diff line change
Expand Up @@ -2,14 +2,14 @@
@import url('https://fonts.googleapis.com/css2?family=Poppins:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700&display=swap');
@font-face {
font-family: 'NimbusMono';
src: url('../fonts/nimbusmono-regular.woff') format('woff');
src: url('~/assets/fonts/nimbusmono-regular.woff') format('woff');
font-weight: normal;
font-style: normal;
font-display: swap;
}
@font-face {
font-family: 'NimbusMono';
src: url('../fonts/nimbusmono-bold.woff') format('woff');
src: url('~/assets/fonts/nimbusmono-bold.woff') format('woff');
font-weight: bold;
font-style: bold;
font-display: swap;
Expand Down
2 changes: 1 addition & 1 deletion components/MailchimpEmbed.vue
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@
id="mc-embedded-subscribe"
type="submit"
name="subscribe"
class="margin rounded-r-full py-sm px-md inline-flex justify-center items-center gap-x-2 text-sm font-semibold rounded-e-md border border-black-950 bg-black-950 text-white hover:bg-blue-700 disabled:opacity-50 disabled:pointer-events-none cursor-pointer"
class="text-wit-blue-500 margin rounded-r-full py-sm px-md inline-flex justify-center items-center gap-x-2 text-sm font-semibold rounded-e-md border border-black-950 bg-black-950 text-white hover:bg-blue-700 disabled:opacity-50 disabled:pointer-events-none cursor-pointer"
:value="subscribeLocale"
/>
</div>
Expand Down
17 changes: 11 additions & 6 deletions components/cards/OutOfBoundariesCard.vue
Original file line number Diff line number Diff line change
Expand Up @@ -16,12 +16,10 @@
{{ description }}
</p>

<div class="flex items-center">
<SlashesIcon class="slashes w-[68px] sm:hidden"></SlashesIcon>
<a :href="url" target="_blank">
<ArrowButton class="action">{{ action }}</ArrowButton>
</a>
</div>
<SlashesIcon class="slashes w-[68px] sm:hidden"></SlashesIcon>
<a :href="url" target="_blank">
<ArrowButton class="action">{{ action }}</ArrowButton>
</a>
</div>
</div>
</template>
Expand Down Expand Up @@ -53,6 +51,7 @@ defineProps({
width: 60px;
height: 60px;
}
.out-of-boundaries {
// add margin equal to out of boundaries
margin: 15px 30px 25px 15px;
Expand All @@ -67,6 +66,12 @@ defineProps({
.action {
position: absolute;
right: -30px;
bottom: 16px;
}
.slashes {
position: absolute;
bottom: 32px;
}
.card {
Expand Down
21 changes: 13 additions & 8 deletions components/sections/CoinSection.vue
Original file line number Diff line number Diff line change
Expand Up @@ -31,14 +31,19 @@
<p class="text text-white-50">{{ $t('coin.description3') }}</p>
</div>
</div>

<CustomButton :type="ButtonType.dark">
<a :href="release.releaseUrl" target="_blank">
<i18n-t keypath="coin.run_in_platform.main" tag="p" scope="global">
<span class="ml-[4px]">{{ release.platform }}</span>
</i18n-t>
</a>
</CustomButton>
<client-only>
<CustomButton :type="ButtonType.dark">
<a :href="release.releaseUrl" target="_blank">
<i18n-t
keypath="coin.run_in_platform.main"
tag="p"
scope="global"
>
<span class="ml-[4px]">{{ release.platform }}</span>
</i18n-t>
</a>
</CustomButton>
</client-only>
<p class="text text-wit-blue-500 mt-md">
{{ release.platform }} • x86_64 • {{ size }} MB
<span class="text-xs ml-xs">ⓘ</span>
Expand Down
2 changes: 1 addition & 1 deletion constants.ts
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ export const URLS: Record<string, string> = {
'https://witnet.notion.site/The-Witnet-Advocate-Program-f572baff6b1d49a69d4db785a924fc61',
bitmart: 'https://www.bitmart.com/trade/en-US?symbol=WIT_USDT',
block_explorer: 'https://witnet.network/',
changelly: '#',
changelly: 'https://changelly.com/es/buy/wit',
data_feeds_explorer: 'https://feeds.witnet.io',
discord: 'https://discord.gg/witnet',
docker_node: 'https://hub.docker.com/r/witnet/witnet-rust/tags',
Expand Down
6 changes: 3 additions & 3 deletions nuxt.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ export default defineNuxtConfig({
{
hid: 'twitter:image',
name: 'twitter:image',
content: 'https://feeds.witnet.io/meta-image.png',
content: '/meta-image.png',
},
{
hid: 'twitter:image:alt',
Expand All @@ -58,12 +58,12 @@ export default defineNuxtConfig({
{
hid: 'og:image',
property: 'og:image',
content: 'https://witnet.io/meta-image.png',
content: '/meta-image.png',
},
{
hid: 'og:image:secure_url',
property: 'og:image:secure_url',
content: 'https://witnet.io/meta-image.png',
content: '/meta-image.png',
},
{
hid: 'og:image:alt',
Expand Down

0 comments on commit 73f1d5c

Please sign in to comment.