Skip to content
This repository has been archived by the owner on Aug 3, 2024. It is now read-only.

Commit

Permalink
Update advertisement (#1238)
Browse files Browse the repository at this point in the history
  • Loading branch information
Geometrically authored Jul 22, 2023
1 parent 65791a5 commit 202d87c
Show file tree
Hide file tree
Showing 4 changed files with 24 additions and 102 deletions.
37 changes: 0 additions & 37 deletions assets/images/external/exaroton-dark.svg

This file was deleted.

37 changes: 0 additions & 37 deletions assets/images/external/exaroton-light.svg

This file was deleted.

Binary file added assets/images/external/mtx-logo.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
52 changes: 24 additions & 28 deletions components/ads/Promotion.vue
Original file line number Diff line number Diff line change
@@ -1,71 +1,63 @@
<template>
<div class="MYYLVTXBPUVWMLVBPVSDLHADDRYFBF">
<div class="MYYLVTXBPUVWMLVBPVSDLHADDRYFBF-0">
<div class="MYYLVTXBPUVWMLVBPVSDLHADDRYFBF-1">
<div class="MYYLVTXBPUVWMLVBPVSDLHADDRYFBF-2">
<div class="BDVE3s9MFQttmbMUeYup">
<div class="BDVE3s9MFQttmbMUeYup-0">
<div class="BDVE3s9MFQttmbMUeYup-1">
<div class="BDVE3s9MFQttmbMUeYup-2">
<a
href="https://exaroton.com/?utm_source=modrinth&utm_medium=text&utm_campaign=host&utm_content=top"
rel="noopener nofollow sponsored"
target="_blank"
>
<LightIcon
v-if="colorMode.value === 'light'"
<img
src="~/assets/images/external/mtx-logo.png"
class="MYYLVTXBPUVWMLVBPVSDLHADDRYFBF-3"
/>
<DarkIcon v-else class="MYYLVTXBPUVWMLVBPVSDLHADDRYFBF-3" />
<span>
<span> Host your Minecraft server on </span>
<strong>exaroton</strong>
<span> - only pay while the server is running - billed per second. </span>
<span> Increase your server playtime through </span>
<strong>Matrix</strong>
<span> - Increase your revenue or we’ll pay you ourselves. </span>
</span>
</a>
</div>
</div>
<div class="MYYLVTXBPUVWMLVBPVSDLHADDRYFBF-4">
<div class="BDVE3s9MFQttmbMUeYup-4">
<a rel="noopener sponsored" target="_blank" href="https://adrinth.com"> Ads via Adrinth </a>
</div>
</div>
</div>
</template>
<script setup>
import LightIcon from '~/assets/images/external/exaroton-light.svg'
import DarkIcon from '~/assets/images/external/exaroton-dark.svg'
const colorMode = useTheme()
</script>

<style>
.MYYLVTXBPUVWMLVBPVSDLHADDRYFBF {
.BDVE3s9MFQttmbMUeYup {
position: relative;
margin-bottom: var(--spacing-card-md);
background: var(--color-ad);
border: 3px solid var(--color-ad-raised);
border-radius: var(--size-rounded-card);
}
.MYYLVTXBPUVWMLVBPVSDLHADDRYFBF-0 {
.BDVE3s9MFQttmbMUeYup-0 {
font-size: 14px;
line-height: 1.3em;
}
.MYYLVTXBPUVWMLVBPVSDLHADDRYFBF-1 {
.BDVE3s9MFQttmbMUeYup-1 {
color: var(--color-text);
padding: 1em;
text-align: left;
}
.MYYLVTXBPUVWMLVBPVSDLHADDRYFBF-2 a {
.BDVE3s9MFQttmbMUeYup-2 a {
display: flex;
align-items: center;
gap: 0.5rem;
}
.MYYLVTXBPUVWMLVBPVSDLHADDRYFBF-2 a b,
.MYYLVTXBPUVWMLVBPVSDLHADDRYFBF-2 a strong {
.BDVE3s9MFQttmbMUeYup-2 a b,
.BDVE3s9MFQttmbMUeYup-2 a strong {
color: #088cdb;
}
.MYYLVTXBPUVWMLVBPVSDLHADDRYFBF-3 {
.BDVE3s9MFQttmbMUeYup-3 {
padding-top: 1px;
height: 1.2rem;
width: auto;
}
.MYYLVTXBPUVWMLVBPVSDLHADDRYFBF-4 a {
.BDVE3s9MFQttmbMUeYup-4 a {
position: absolute;
bottom: -2px;
right: -2px;
Expand All @@ -84,12 +76,16 @@ const colorMode = useTheme()
gap: 0.5rem;
}
@media screen and (max-width: 800px) {
.MYYLVTXBPUVWMLVBPVSDLHADDRYFBF-2 {
.BDVE3s9MFQttmbMUeYup-2 {
margin-bottom: 0.5rem;
}
.MYYLVTXBPUVWMLVBPVSDLHADDRYFBF-2 a {
.BDVE3s9MFQttmbMUeYup-2 a {
align-items: flex-start;
flex-direction: column;
}
}
.MYYLVTXBPUVWMLVBPVSDLHADDRYFBF-3 {
width: 1.5rem;
}
</style>

0 comments on commit 202d87c

Please sign in to comment.